Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Timed Layer??

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
donnita Posted - 08 Jul 2006 : 23:48:24
I am using Davide's idea that he used in the template redsea mod. I would like to expand on this idea for one of my pages.

I have a main display area that has permanent information, I would like to use a layer over the permanent information, but for it to stay there for 5 seconds or so then hide and show the permanent info without requiring a visitor to mouseover, click, etc.

I thought perhaps this bit of javascript might do the trick, but unfortunately I am new to all of this and am not quite sure how to implement it.

Java:

var timerID;

function ShowLayer(id)
{
document.getElementById().style.display = "block";
}

function HideTimedLayer(id)
{
clearTimeout(timerID);
document.getElementById(id). ?
style.display = "none";
}

function timedLayer(id)
{
setTimeout("HideTimedLayer(\"" + id + "\")",?
5000); //5000= 5 seconds
}


Thank you in advance,
Donnita
1   L A T E S T    R E P L I E S    (Newest First)
s.dav Posted - 10 Jul 2006 : 18:40:20
Just sent you a sample ;-)

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000