home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1718
Discussions: 188,402, Posts: 2,243,610, Members: 232,633
Old September 22nd, 2005, 03:51 AM   Digg it!   #1 (permalink)
Ultimate Member
 
Join Date: Apr 2003
Posts: 2,083
how do i hide some content for a a few seconds

i got some text on my site and i wanna just hide it, like upon arrival to a page.. they dont see the text im tryin to hide but in like 15 seconds it shows up. how do i do that
__________________
Athlon 64 3400+ (22-28*C)
ECS 755-A2 1.1B Bios
40GB & 80GB Internal HDD
160GB External HDD
Corsair 2GB PC3200 RAM
ATI AIW Radeon 9600 128MB 8X

soulja is offline   Reply With Quote
Old September 22nd, 2005, 01:20 PM     #2 (permalink)
Ultimate Member
 
Join Date: Apr 2003
Posts: 2,083
bump

soulja is offline   Reply With Quote
Old September 22nd, 2005, 06:26 PM     #3 (permalink)
Senior Member
 
bwcc's Avatar
 
Join Date: Nov 2001
Location: Central KS
Posts: 830
To add timers capabilyties to an html page, you can use the
window.setInterval method.

Interval=window.setInterval(FctToCall, TimeWait)
with:

FctToCall : string containing the name of the function to call
TimeWait : Time to wait (in milliseconds) before calling FctToCall


Code:
<Html>
<head>
<Script language="Jscript">
var Interval;

function delay() {
  Interval=window.setInterval("document.write('another message')", 2000);
  // function will be called every 2 seconds
  // Note that you can add any parameters to the function call.
}


</script>
</head>
<body onload="delay()">
</body>
</html>

bwcc is offline   Reply With Quote
Old September 24th, 2005, 05:48 AM     #4 (permalink)
Ultimate Member
 
Join Date: Apr 2003
Posts: 2,083
thnx alot
soulja is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I hide my IP? deathangel2005 Networking and Internet 20 August 23rd, 2005 11:54 PM
hide ip kyokusanaki Networking and Internet 7 January 12th, 2004 09:31 AM
60 Seconds, cowboybooter Security and Privacy Issues 8 August 29th, 2003 06:21 PM
New PC dead after 10 seconds madatrub Technical Support 19 January 31st, 2002 09:13 PM

Most Active Discussions
Is It Just Me? (2906)
3-days in and no threads about Gaza (161)
New Build ( Finally ) (7)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
RCA 52Inch HDTV wont turn on (5)
Folderchat Weekday thread (444)
Upgrading RAM (6)
Recent Discussions
Futronix has water features? (0)
Laptop proccesor to desktop mob.. (2)
Please help! multiple problems! (4)
RCA 52Inch HDTV wont turn on (5)
New Build ( Finally ) (7)
Common Spyware Solutions (97)
How do you move a hard-drive to.. (4)
What is the best external enclo.. (0)
Partition Magic 7.0 (Unallocate.. (17)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 04:52 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28