下面的代码中哪一串代码是起到跳转作用的
divclass="header"><divclass="pre"><divclass="clearfixinner"><divclass="fllogo"><ahref...
div class="header">
<div class="pre">
<div class="clearfix inner">
<div class="fl logo">
<a href="/" title="北京清大视讯">
<img src="{$GLOBALS['skin']}images/logo.png" alt="北京清大视讯">
</a>
</div>
<div class="fl nav">
<div class="navbox">
<ul class="clearfix">
<li>
<a href="/" class="a" >首页</a>
</li>
{loop table="classtype" limit="7"}
<li>
<a href="{$v['url']}" class="a">{$v['classname']}</a>
<?php $nav_arr = array();
$i= 0;
?>
{loop table="classtype" pid="$v['tid']" as="v1"}
<?php
$nav_arr[$i]['url'] = $v1['url'];
$nav_arr[$i]['classname'] = $v1['classname'];
$i++;
?>
{/loop}
<?php if(!empty($nav_arr)){?>
<div class="sub_nav">
<?php foreach($nav_arr as $vv1){ ?>
<a href="<?php echo $vv1['url'];?>" > <?php echo $vv1['classname'];?> </a>
<?php } ?>
</div>
<?php } ?>
</li>
{/loop}
</ul>
<div class="move-bg"></div>
<script src="{$GLOBALS['skin']}js/jquery.movebg.js"></script>
<script>
$(function(){
$(".navbox").movebg({width:90/*滑块的大小*/,extra:20/*额外反弹的距离*/,speed:300/*滑块移动的速度*/,rebound_speed:400/*滑块反弹的速度*/});
})
</script>
</div>
</div>
<div class="fr r_fn">
<div class="clearfix">
<div class="t_box fr">
<span class="phone">400-065-9993</span>
<!--<span class="wxwb">
<a href="">
<img src="{$GLOBALS['skin']}images/i1.png">
</a>
<a href="">
<img src="{$GLOBALS['skin']}images/i2.png">
</a>
</span>-->
<span class="yuysan"><a href="javascript:;">中文</a> <a href="javascript:;">English</a></span>
</div>
</div>
<div class="clearfix search_box">
<form action="{$GLOBALS['WWW']}index.php" method="get">
<input name="a" type="hidden" value="search" />
<input name="c" type="hidden" value="product" />
<input type="text" class="text" name="word" />
<input type="submit" class="submit_btn" value="">
</form>
</div>
</div>
</div>
</div>
</div> 展开
<div class="pre">
<div class="clearfix inner">
<div class="fl logo">
<a href="/" title="北京清大视讯">
<img src="{$GLOBALS['skin']}images/logo.png" alt="北京清大视讯">
</a>
</div>
<div class="fl nav">
<div class="navbox">
<ul class="clearfix">
<li>
<a href="/" class="a" >首页</a>
</li>
{loop table="classtype" limit="7"}
<li>
<a href="{$v['url']}" class="a">{$v['classname']}</a>
<?php $nav_arr = array();
$i= 0;
?>
{loop table="classtype" pid="$v['tid']" as="v1"}
<?php
$nav_arr[$i]['url'] = $v1['url'];
$nav_arr[$i]['classname'] = $v1['classname'];
$i++;
?>
{/loop}
<?php if(!empty($nav_arr)){?>
<div class="sub_nav">
<?php foreach($nav_arr as $vv1){ ?>
<a href="<?php echo $vv1['url'];?>" > <?php echo $vv1['classname'];?> </a>
<?php } ?>
</div>
<?php } ?>
</li>
{/loop}
</ul>
<div class="move-bg"></div>
<script src="{$GLOBALS['skin']}js/jquery.movebg.js"></script>
<script>
$(function(){
$(".navbox").movebg({width:90/*滑块的大小*/,extra:20/*额外反弹的距离*/,speed:300/*滑块移动的速度*/,rebound_speed:400/*滑块反弹的速度*/});
})
</script>
</div>
</div>
<div class="fr r_fn">
<div class="clearfix">
<div class="t_box fr">
<span class="phone">400-065-9993</span>
<!--<span class="wxwb">
<a href="">
<img src="{$GLOBALS['skin']}images/i1.png">
</a>
<a href="">
<img src="{$GLOBALS['skin']}images/i2.png">
</a>
</span>-->
<span class="yuysan"><a href="javascript:;">中文</a> <a href="javascript:;">English</a></span>
</div>
</div>
<div class="clearfix search_box">
<form action="{$GLOBALS['WWW']}index.php" method="get">
<input name="a" type="hidden" value="search" />
<input name="c" type="hidden" value="product" />
<input type="text" class="text" name="word" />
<input type="submit" class="submit_btn" value="">
</form>
</div>
</div>
</div>
</div>
</div> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询