Home > Web Front-end > HTML Tutorial > 网页的导航聚焦功能怎么聚焦在第二个网页上?_html/css_WEB-ITnose

网页的导航聚焦功能怎么聚焦在第二个网页上?_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:33:27
Original
1569 people have browsed it

弄了一个导航聚焦 但是要怎么实现点击跳转页面后 聚焦也随着过去呢?CSS该如何设计呢?
这个是我的代码:
nbsp;html>



Document

<script></script>
<script> <br />$(function(){ <br />var nav_1 = $(".nav_1 a"); <br />nav_1.click(function(){ <br />$(this).closest("ul").children("li").children("a").removeClass("thisclass"); <br />$(this).addClass("thisclass"); <br />}); <br />}); <br /> <br /></script>










求解如何解决?


回复讨论(解决方案)

求人!!!!!!

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