The Mother Board

Motherboards.org forums. Free tech support, motherboard ID, and more.
It is currently Wed Sep 19, 2018 7:12 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: need help
PostPosted: Wed Nov 30, 2005 4:52 pm 
Offline
Mobo-fu Master
Mobo-fu Master

Joined: Sat May 14, 2005 11:49 am
Posts: 7699
ok im making a quick website on a report ive done and i want to put a popup on it that says all your files on your computer have been deleted to scare my teacher me and him joke around alot and i want him to think it really happened without it really happening

does anyone know how to do it ?

thanks

_________________
Join team 33258 today!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Nov 30, 2005 8:24 pm 
Offline
Lead Mobo-fu Master
Lead Mobo-fu Master

Joined: Sun Dec 16, 2001 1:01 am
Posts: 14301
Location: Maine
So basically a simple warning box that is timed or activated with a move of the mouse or something like that.....

AFIAK, its pretty easy to do. You would use javascript.. With more details I could provide a script to do such a task, but need to know exact hiw you would want it setup (i.e. based on a timer or movement)...

_________________
Compaq-Fu Master
Ctechinfo funding drive information


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 01, 2005 11:41 am 
Offline
Green Belt
Green Belt

Joined: Thu Jun 27, 2002 8:11 pm
Posts: 222
http://www.w3schools.com/js/js_popup.asp


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 01, 2005 2:19 pm 
Offline
Mobo-fu Master
Mobo-fu Master

Joined: Sat May 14, 2005 11:49 am
Posts: 7699
pretty new to this so don't laugh

but if i have it already written in html could i just add the java script at the top or something with it ?

i would probally just want it to come on once he got to the site

_________________
Join team 33258 today!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 01, 2005 7:19 pm 
Offline
Lead Mobo-fu Master
Lead Mobo-fu Master

Joined: Sun Dec 16, 2001 1:01 am
Posts: 14301
Location: Maine
DAVE185 wrote:
pretty new to this so don't laugh

but if i have it already written in html could i just add the java script at the top or something with it ?

i would probally just want it to come on once he got to the site


take a peak at some of the examples/tutorials for javascript on the net..

_________________
Compaq-Fu Master
Ctechinfo funding drive information


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 02, 2005 7:17 am 
Offline
Green Belt
Green Belt

Joined: Thu Jun 27, 2002 8:11 pm
Posts: 222
DAVE185 wrote:
pretty new to this so don't laugh


Why would we laugh mate? I dont know any javascript experts, its one of those things that you might use a bit of now and again (like xml) but you probably don't have the time or opportunity to become an expert in it.

Anyway this should work:

Code:
<html>
<body>
<script type="text/javascript">
alert("All your files on your computer have been deleted")
</script>
</body>
</html>


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 02, 2005 2:50 pm 
Offline
Mobo-fu Master
Mobo-fu Master

Joined: Sat May 14, 2005 11:49 am
Posts: 7699
thanks :D

_________________
Join team 33258 today!!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group