What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Html help

Html help
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Html help
Me 2 the resque!

Put this in the <head> section:
code:
<script language=JavaScript>
function expand(thistag) {
   styleObj = document.getElementById(thistag).style;
   if (styleObj.display=='none') {styleObj.display = '';}   /when it's already invisible, make it visible again
   else {styleObj.display = 'none';}   /else, make it invisible
}
</script>
Now, place ur hided things in a <div>, like this:
code:
<div id="hide01" name="hide01" visibility="hidden"> ... </div>

The text which needs 2 show/hide it, should have 2 look like this:
code:
<a href="javascript:expand('hide01')">Show/hide thing</a>
And 2 make the <div> disappears when the page loads, add this to the <body> tag:
code:
<body onload="expand('hide01')">

And ur done! U can make more hided div's, just call them hide02 or something, make a link and add it back to the <body> onload!
Otherwise, it will appear when the page shows up.

Example (my site)
(I) On that page, there's also a [+] to [-] change when click. Check the script, and may the source be with you! ;)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
06-15-2005 04:33 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Html help - by absorbation on 06-15-2005 at 04:06 PM
RE: Html help - by Veggie on 06-15-2005 at 04:15 PM
RE: Html help - by Dempsey on 06-15-2005 at 04:17 PM
RE: Html help - by absorbation on 06-15-2005 at 04:18 PM
RE: Html help - by Veggie on 06-15-2005 at 04:28 PM
RE: Html help - by absorbation on 06-15-2005 at 04:29 PM
RE: Html help - by Veggie on 06-15-2005 at 04:33 PM
RE: Html help - by Matti on 06-15-2005 at 04:33 PM
RE: Html help - by Veggie on 06-15-2005 at 04:35 PM
RE: Html help - by Ezra on 06-15-2005 at 09:50 PM
RE: RE: Html help - by Veggie on 06-16-2005 at 06:36 AM
RE: Html help - by absorbation on 06-16-2005 at 02:55 PM
RE: Html help - by Veggie on 06-16-2005 at 04:58 PM
RE: Html help - by absorbation on 06-16-2005 at 04:59 PM
RE: Html help - by Ezra on 06-16-2005 at 06:52 PM
RE: Html help - by absorbation on 06-16-2005 at 06:58 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On