A javascript implementation of the so-called sliding door _ javascript skills

Source: Internet
Author: User
The so-called sliding door implemented by a js: I don't understand why this is called.
I will name it JMenuTab, because it is written to serve as my menu.

IE6 and FireFox passed the test.

The Code is as follows:






Untitled document












Large or small

Demographic


ABCDEFG

























JMenuTab help:
Author: xling Blog: http://xling.blueidea.com 2007/05/23
I wrote this program to solve the urgent problem (Han, although it is urgent, I wrote it for a day )!
The images used in the program modify the existing images on the Internet. Therefore, the appearance is the same as that on some websites. Because all except images are original (no reference to any similar program )!
IE6 and Firefox passed the test.
Call method (pay attention to the order ):
Var menuTab = new JMenuTab (null, null, "menuBar ");

MenuTab. create ();

MenuTab. addTab ("Homepage ");

MenuTab. addTab ("organizational structure", "page1 ");

MenuTab. addTab ("employee information", "page2 ");

MenuTab. addTab ("business knowledge", "page3 ");


MenuTab. addTab ("Help", "pageHelp ");

MenuTab. setActiveTab (2 );




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.