Terms of Agreement:
By using this article, you agree to the following terms...
You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
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.
You may link to this article from another website, but ONLY if it is not wrapped in a frame.
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).
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 Winzip to 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:
Re-scan downloaded files using your personal virus checker before using it.
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...
You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
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.
You may link to this article from another website, but ONLY if it is not wrapped in a frame.
You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
U are and will always remain a hero, Thanks once again for this free source code, U get my 5 stars (If this comment was disrespectful, please report it.)
This is great. It is going to be exactly what I can use for an up-coming project. Keep up the great work! (If this comment was disrespectful, please report it.)
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 (If this comment was disrespectful, please report it.)
Great Code But how do you link URL's or webpages to the tabs so when you click it goes to that page??? Thanks (If this comment was disrespectful, please report it.)
Neet, Seems to fall into that color thing you're into. Thanks for sharing. (If this comment was disrespectful, please report it.)
10/7/2002 6:55:41 PM:
This looks very promising for something I have in mind, but like others that have posted here have asked. I am uncertain how to link a webpage to a tab. Is it possible without totally rewriting it? (If this comment was disrespectful, please report it.)
2/22/2003 1:54:53 AM:
As with others shown above, I am having trouble linking url's to the onClick event without generating errors. I'm sure it's a simple matter - but I haven't found it yet.
A simple working example from any who've succeeded would be great.
Sadly, there has been NO RESPONSE to any of these requests and the www.lewismoten.com page NEVER comes up. (If this comment was disrespectful, please report it.)
4/24/2003 4:11:40 PM:
very good keep up the good work man (If this comment was disrespectful, please report it.)
9/28/2003 1:48:46 PM:
works only because there is an error in the css file : DIV { postiont:absolute; }
don't change it otherwise it will not display correctly (If this comment was disrespectful, please report it.)
8/2/2004 12:37:12 PM:
The tab is great. But how can I place it in any position on the form? Thank you. benjamin@core.com (If this comment was disrespectful, please report it.)
8/2/2004 12:39:06 PM:
Your tab is great. But how can I place it in any position on the form? Thank you. (If this comment was disrespectful, please report it.)
Add Your Feedback
Your feedback will be posted below and an email sent to
the author. Please remember that the author was kind enough to
share this with you, so any criticisms must be stated politely, or they
will be deleted. (For feedback not related to this particular article, please
click here instead.)