Display information in a very compact manner in order to save space on your Web pages. When any radio button is selected, its corresponding information is automatically displayed in the area to the right. Highly customizable. |
We have tested the code in IE 7.0, Firefox 2.0.0.5, Opera 9.21, Opera 9.22, Netscape 9.0b2, Netscape 8.1.3, AOL Explorer 1.5 and Safari 3.0.2. This script worked well in all platforms with one (1) variation observed in Netscape 8.1.3.
Depending on your knowledge of HTML and javascripts, this is an easy three (3) part copy and paste code that goes in the <BODY> section (anywhere you want the effect to appear) of your document. It also makes use of an external .js file you need to save and upload into your directory then add a snipplet of code into the <HEAD> section to call the external.js file.
<!--- External File Reconfigurations ---> // Topic 1-6 are numbered 0-5 below. |
<!--- Explanations ---> As you can notice in the code to the left, just follow the sequence to add more than the default. Notice in this section there are six (6) lines of code as opposed to seven (7) in the first above section. Reason being is that these call the six (6) topics that you see in this effect and not the instructions that only appear until a topic is selected. If you would like to add the instruction or introduction as a selection as we have in the example, just follow the format and list the introduction as a topic or selection. |
<!--- <BODY> Section Reconfigurations ---> <fieldset style="width: 400px;"> |
<!--- Explanations ---> Where we have the Topic listed is where you will change that to the name of the topics you need. <!--- Define Rows and Cols --->
|
Note Of Importance: If you are not sure of howto make the external .js file and make use of it within your document, grab the below link and it is fully explained.
[ .js File Howto ]
For your Information:
If you are not comfortable or prefer not to use the external.js file, you can use the traditional cut/copy and paste instead of the external .js file. If you need a little refresher on what is required to achieve this, grab the below link and it is fully explained.
[ Traditional Cut/Copy and Paste ]
Depending on which of the above methods you have selected (external.js file or Traditional Copy/Cut & Paste), you will add either the snipplet of code (after you have uploaded the external.js file) into the <HEAD> section or the completed section of code that you added the opening and closing script tags.
<script type="text/javascript" src="viewSelectedInfo.js"> </script> <SCRIPT LANGUAGE="JavaScript"> <HEAD> Section of code goes here // End --> </script> |
External .js file Traditional Copy/Cut & Paste Code with opening & closing tags that you had to add into the <HEAD> section of code that was originally earmarked to be an external .js file. |
If you would like to see an example of this effect using the "Traditional Cut/Copy & Paste" method, grab the below link and you are there. Examine our "Source" code (on the page you will be opening) to see how we had to reconfigure it to make it work. We have it very well documented for your convenience.
[ Traditional Cut/Copy & Paste Method ]
O nce you have completed either of the above steps for the <HEAD> section, all that is left is to paste the <BODY> section of code where you want the effect to appear.
Note Of Importance: On the page you are going to have this effect on or any page that will link to the page with this effect, be sure of one thing within either the linking URL or the URL this effect is on. Do Not have the backslash-forward slash / (whichever you call it) at the end of the URL or linked to URL. If you do, the effect Will Not Work!. If this sounds confusing, see the below example:
S elect the links above to see what we are explaining about the Right and Wrong URL address.
We hope our tutorial was easy to follow and we covered everything in detail. If you would like to add this effect into your pages, grab the respective below link and you are there. If you have any problems with this or anything else, feel free to consult our [ FAQ ] and if you can't find the answer there, [ contact us ].
[ Get Code Here ]
[ Rate This Page ]