How To? |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Web Design & Development Client Side Scripting JavaScript |
||
How To? |
||
May 1 2008, 12:55 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 1-May 08 From: Tuusula, Finland Member No.: 23,548 |
I have done an script for my website and it looks like this
CODE <script language="javascript"> But if you press "Cancel" it goes to my website.if(confirm("Welcome to The Fishmaster Guild website!"))parent.location="index_2.html" </script> And my question is: How to make script what does that popup and if you press "Ok" it continues to website and if you press "Cancel" it returns you to last page you have visited. (sorry for my bad English hope you understanded |
|
|
The_Fishmaster How To? May 1 2008, 12:55 PM
Sickness add this after the if
else{
window.location=... Jul 5 2008, 02:59 PM
emoritz parent.location = (confirm("Welcome to... Nov 18 2008, 02:02 AM ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 21st May 2013 - 12:53 PM |