| | Submitted on: 3/1/2002 7:44:12 PM
By: Lewis Moten
Level: Advanced User Rating:
By 11 Users Compatibility:VbScript (browser/client side)
Users have accessed this article 4962 times. | (About the author) |
| | Simulate the tab control found at the bottom of popular programs such as visual Interdev and Front Page. This article has accompanying files | |
|
|
Terms of Agreement:
By using this article, you agree to the following terms...
1) You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for langauges that allow it) freely and with no charge.
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description. |
The tab control found at the bottom of many programs such as html editors was an interesting item that cuaght my curiosity. I was working on a project that would do very well to use it.
Each tab is made of several span tags. once clicked, it comes over top of the other layers by changing the z-index. This control also uses the windows system colors to appear as if it is an active-x control and seemlessly integrate into the users color scheme.
The scriptlet raises a "Click" event and passes the text of the tab that was clicked. Tabs can be added dynamically (see the demo page).
| |
Download article
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.
Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE: 1)Re-scan downloaded files using your personal virus checker before using it. 2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com
|
Terms of Agreement:
By using this article, you agree to the following terms...
1) You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for langauges that allow it) freely and with no charge.
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description. |
Other 82 submission(s) by this author
|
|
|
Report Bad Submission |
|
|
Your Vote! |
See Voting Log |
|
Other User Comments |
3/2/2002 1:01:36 AM:Greg Ratner Sometimes I wonder what would happen to
ASP world if you didn't post here :)
Great job!
|
3/2/2002 3:51:04 AM:scott once again...nice work Lewis
|
3/4/2002 12:13:34 PM:Wackatronic Great. This will definitely help out
in making a page that can contain my
div and hide/show based on
tabs.
Thanks
|
3/9/2002 1:49:05 AM:kishore U are and will always remain a hero,
Thanks once again for this free source
code, U get my 5 stars
|
3/13/2002 10:48:32 PM:cool cool rotation dude.
|
3/31/2002 10:30:25 AM:Bob Conley This is great. It is going to be
exactly what I can use for an up-coming
project. Keep up the great work!
|
3/31/2002 10:40:48 PM:Lance Parker Great script.
A question, if I
may.
How do you link the tab to an
URL?
Can you also add alt tags to
tab?
Thanks in advance, Lance
|
4/3/2002 5:14:30 AM:Gary Winter Great Code But how do you link URL's or
webpages to the tabs so when you click
it goes to that page??? Thanks
|
4/28/2002 12:39:19 PM:Shafiq how do you link URL's or webpages to
the tabs so when you click it goes to
that page??? Thanks
|
4/29/2002 8:28:58 AM:Sam Moses Neet,
Seems to fall into that color
thing you're into. Thanks for sharing.
|
|
Add Your Feedback! |
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.
NOTICE: The author of this article has been kind enough to share it with you. If you have a criticism, please state it politely or it will be deleted.
For feedback not related to this particular article, please click here. |
|