Maison > interface Web > js tutoriel > 类似框架的js代码_javascript技巧

类似框架的js代码_javascript技巧

WBOY
Libérer: 2016-05-16 19:24:29
original
1015 Les gens l'ont consulté
复制代码 代码如下:



类似框架的JS导航菜单


<script> <BR> function secBoard(n) <BR> { <BR> for(i=1;i<6;i++) <BR> { <BR> eval("document.getElementById('cel"+i+"').background=''"); <BR> } <BR> eval("document.getElementById('cel"+n+"').background=''"); <BR> for(i=1;i<6;i++) <BR> eval("tbx0"+i+".style.display='none'"); <BR> eval("tbx0"+n+".style.display='block'"); <BR> } <br><br></script>




    
        
            
            
        
        

            
                
                    
                
            

                    

                        
                            
                                
                            
                            
                                
                            
                            
                                
                            
                            
                                
                            
                            
                                
                            
                        
链接1
链接2
链接3
链接4
链接5

                    

                    

            

            
                
                    
                
            

                    

                        
                            
                                
                            
                        
border=0>









cellSpacing=5 cellPadding=0 width="100%" 
align=center border=0>



                                


                                链接1的内容:酒水 香烟 鲁菜 东北 官府 湘菜 苏菜 陕西 
湖北 淮扬 西餐 酒水 香烟 鲁菜 东北 官府 湘菜 苏菜 陕西 
湖北 淮扬 西餐酒水 香烟 鲁菜 东北 官府 湘菜 苏菜 陕西 
湖北 淮扬 西餐酒水 香烟 鲁菜 东北 官府 湘菜 苏菜 陕西 
湖北 淮扬 西餐


cellSpacing=5 cellPadding=0 width="100%" 
align=center border=0>



                                


                                链接2的内容:观前街 人民路 广济路 石路 朱家庄 西单 崇文门 
                                

                                苏州街 方庄 石路 朱家庄 西单 崇文门 
                                

                                苏州街 方庄 石路 朱家庄 西单 崇文门 
                                

                                苏州街 方庄 观前街 人民路 广济路 石路 朱家庄 西单 崇文门 
                                

                                苏州街 方庄 石路 朱家庄 西单 崇文门 
                                

                                苏州街 方庄 石路 朱家观前街 人民路 广济路 石路 朱家庄 西单 崇文门 
                                

                                苏州街 方庄 石路 朱家庄 西单 崇文门 
                                

                                苏州街 方庄 石路 朱家


cellSpacing=5 cellPadding=0 width="100%" 
align=center border=0>



                                


                                链接3的内容:水煮鱼 烤鸭 香辣蟹 火锅 羊蝎子 农家菜 烧烤 小吃 
鲍翅 快餐 
                                鱼 烤鸭 香辣蟹 火锅 羊蝎子 农家菜 烧烤鱼 烤鸭 香辣蟹 火锅 羊蝎子 农家菜 烧烤香辣蟹 
                                火锅 羊蝎子 农家菜 烧烤鱼 烤鸭 香辣蟹 火锅 羊蝎子 农家菜 烧烤香辣蟹 火锅 羊蝎子 
                                农家菜 烧烤鱼 烤鸭 香辣蟹 火锅 羊蝎子 农家菜 烧烤


                                cellSpacing=5 cellPadding=0 width="100%" 
align=center border=0>



                                


                                链接4的内容:水煮鱼 烤鸭 香辣蟹 火锅 羊蝎子 农家菜 烧烤 小吃 
鲍翅 快餐 
                                农家菜 烧烤 小吃 
鲍翅 快餐 农家菜 烧烤 小吃 
鲍翅 快餐 煮鱼 烤鸭 
                                香辣蟹 火锅 羊蝎子 农家菜 烧烤 小吃 
鲍翅 快餐 
                                农家菜 烧烤 小吃 
鲍翅 快餐 农家菜 烧烤 小吃 
鲍翅 快餐 


                                cellSpacing=5 cellPadding=0 width="100%" 
align=center border=0>



                                


                                链接5的内容:水煮鱼 烤鸭 香辣蟹 火锅 羊蝎子 农家菜 烧烤 小吃 

                                鲍翅 快餐快餐快餐快餐快餐快餐快餐快餐快餐快餐快餐快餐快餐快餐 煮鱼 烤鸭 香辣蟹 
                                火锅 羊蝎子 农家菜 烧烤 小吃 

                                鲍翅 快餐快餐快餐快餐快煮鱼 烤鸭 香辣蟹 火锅 羊蝎子 农家菜 烧烤 小吃 

                                鲍翅 快餐快餐快餐快餐快



                    

                    

            




Étiquettes associées:
source:php.cn
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal