Home > Web Front-end > HTML Tutorial > Compatible with scrolling code of various browsers_html/css_WEB-ITnose

Compatible with scrolling code of various browsers_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:34:44
Original
1402 people have browsed it

Get straight to the point

The red ones mean that you need to pay attention to unity.

Blue means to change.

The content height must be greater than the height of box1, otherwise it will not scroll. This framework uses phpcms. You can change the loop according to your own framework.

Demo address http://www.er-china.com/index.php?m=content&c=index&a=lists&catid=789


    

   
   
   
   {pc:content action="lists" catid="819" start="0" thumb="1" num="40" order="id asc,listorder asc,updatetime desc"}
   {loop $data $v}
   
   {if $n%4==0}{/if}
   
   {/loop}
   {/pc}   
       //虚位以待
    $ii=(4-$i%4) ;
    for($y=0;$y<$ii;$y ){ ?>
    
    
       }
   
   ?>
   
   
   

       

       

      

   

       

       

      

    
   
     

  
     

 
   

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template