Home > Web Front-end > JS Tutorial > Implementation code of js tab effect_navigation menu

Implementation code of js tab effect_navigation menu

WBOY
Release: 2016-05-16 18:38:08
Original
937 people have browsed it

Pre-implementation effect: (Click different tabs to display different panel contents)


1: JS functions used:

Copy code The code is as follows:



2: Page call code;
Code
Copy the code The code is as follows:




















onClick="tabPanelEx(this,'../images/an_02.jpg','../images/an_01.jpg','newTabs','newsTab1') ">
Full Staff Education
< /td>
onClick="tabPanelEx(this,'../images/an_02.jpg','.. /images/an_01.jpg','newTabs','newsTab2')" >
Medical news







< td width="1" height="240" background="../images/a_07.jpg">


All-staff education


Full Staff Education






Call explanation:
(1) uses table, the table structure is:
Code
Copy code The code is as follows:








>






< tr>

Full Staff Education
< /td>

Medical news
< ;/td>




All staff education
< /div>


< /td>


Full file download
Related labels:
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