Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> Scare Your Parents!
Jared
post May 6 2008, 11:42 AM
Post #11


Member [ Level 1 ]
Group Icon

Group: [HOSTED]
Posts: 40
Joined: 17-April 08
Member No.: 29,853



Personally I'm a fan of moving to VBScript for added realism of the message box! biggrin.gif

CODE
<script type="text/vbscript">
Dim ans
ans = MsgBox ("Error 2214 - Your computer has been infected with a trojan horse virus.", 16 + 4096, "Error 2214")
</script>


This unfortunately doesn't work in Firefox. sad.gif It's probably an IE thing.
Go to the top of the page
 
+Quote Post
FirefoxRocks
post Sep 16 2008, 02:01 PM
Post #12


Super Member
Group Icon

Group: [HOSTED]
Posts: 737
Joined: 12-July 06
From: Ontario, Canada
Member No.: 14,464



Yes, VBScript is an Internet Explorer-based technology. It can also be used in ASP, but as for its client-side purposes it only works in Internet Explorer and Trident-based browsers.

This piece of JavaScript works with Firefox/Flock, Internet Explorer, Opera, Safari and also Google Chrome. However in some browsers the message will seem to appear from the URL of the page you are currently viewing.
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How To Persuade Parents/neighbours To Fileshare(5)
  2. I Wish My Parents Were Animals(7)


 



- Lo-Fi Version Time is now: 20th November 2008 - 07:42 AM