Home
Dynamic Content
Here
|
Categories
Other Sections
Sweet Ads
Compatibility
|
|
FF1+ IE5+ Opr7+
Combo-Box Viewer Author:
Description: Looking for a "contractible" way to display content on your page that's easy to implement as well? The Combo-box Viewer script allows users to selectively view HTML content on your page via the SELECT menu. It comes with the following "convenience" features:
Demo: Step 1: Add the following code into the <HEAD> section of your page: Step 2: Where you wish the viewer to appear on your page in the <BODY>, add the below code: Configuring the scriptConfiguration of this script takes part mainly in the code of Step 2. Firstly, change the menu OPTIONs inside the form to match the titles of the participating content. Then, all that's left is to embed each piece of content inside the designated <DIV> tag. Such a <DIV> tag looks like: <div id="dropmsg0" class="dropcontent"> First HTML content goes here </div> For each additional content you add, be sure to increment "dropmsg0", for example, "dropmsg1", "dropmsg2" etc. |