View Full Version : Myspace pop up box
06-15-2007, 08:40 PM
ok, on myspace I am trying to make a pop up box. I have done it before but some reason it wont let me do it. I would have wrote down what i typed in at myspace but i acciddently deleted it instead od cuting it. I want a comment box to pop up when you go to my site that says, "Welcome to my Myspace." if the click ok, then i want another comment box to pop up saying "Thank you for pressing ok.." then they can press ok or cancel and it goes away. But if they press cancel on the first pop up box then i want a comment box to say "Why did you press cancel? Did you not want to press ok? Well now you have to start ALL over and do it again." Then weither they press ok or cancel it start them all over again.
Can somebody help me make this?:D
06-15-2007, 09:22 PM
var response = confirm("Welcome to MySpace");
alert("Thank you for clicking OK");
var tryAgain = false;
alert("Why did you press cancel? Did you not want to press ok? Well now you have to start ALL over and do it again.");
var tryAgain = true;
var captureResponse = box1();
var tryAgain = box2(captureResponse);
Not tested, so see if it works....
06-15-2007, 10:04 PM
06-16-2007, 04:15 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.