Home  >  Article  >  Web Front-end  >  javascript solution to anchor point misalignment problem under dynamic data_javascript skills

javascript solution to anchor point misalignment problem under dynamic data_javascript skills

WBOY
WBOYOriginal
2016-05-16 18:57:061215browse
Copy code The code is as follows:



  用 Javascript 实现锚点(Anchor)间平滑跳转
  
  


  

  
  
    
  header_1 --> header_4


  
 
  
  
    
  header_2 --> header_5


  
 
  
  
    
  header_3 --> header_6


  
 
  
  
    
  header_4 --> header_7


  
 
  
  
    
  header_5 --> header_3


  
 
  
  
    
  header_6 --> header_2


  
 
  
  
    
  header_7 --> header_1


  

  



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn