The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

need pop up message when my site opened!

+3
kiwicopper
acef596
dukespspisos
7 posters

Page 1 of 2 1, 2  Next

Go down

need pop up message when my site opened! Empty need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 2:06 am

i need a pop up message saying please click here to vote for my site
and the link for voting is here
http://www.gamesites200.com/psp/in.php?id=2185
and my website is www.dukespspisos.forumsmotion.com
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by acef596 April 6th 2008, 2:15 am

Code:

<script language="Javascript">

<!--
alert ("Vote here please http://www.gamesites200.com/psp/in.php?id=2185")
//-->

</script>
acef596
acef596
Forumember

Male Posts : 494
Reputation : 3
Language : english

http://relaxingforum.forumotion.com/index.htm

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by kiwicopper April 6th 2008, 2:28 am

Out of curiosity, where would one post this code?

Thanks
kiwicopper
kiwicopper
Forumember

Posts : 45
Reputation : 0
Language : English
Location : New Zealand

http://www.nzesf.forumotion.com

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 2:29 am

but can u actuly make me a script askin do u want to vote yes or no?
and hide the link

and if they press yes to vote a new window will open to the link?
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by acef596 April 6th 2008, 2:36 am

Code:
<script type="text/javascript">
<!--

var answer = confirm ("Would you like to vote for our site if yes click ok please do if not click cancel.")
if (!answer)
window.location="http://www.gamesites200.com/psp/in.php?id=2185"

// -->
</script>
kiwicopper wrote:Out of curiosity, where would one post this code?

Thanks
Homepage,forum description,portal block.
acef596
acef596
Forumember

Male Posts : 494
Reputation : 3
Language : english

http://relaxingforum.forumotion.com/index.htm

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 2:38 am

im sorry but u proberly messed it up.
when u click yes nothing happens but when u click no my site goes to the voting link
but can u fix it a post a new script i want it like this

when visiting my site
a popup window saying plz click yes to vote or press no.

and if they press a new window opens to the voting site


Last edited by dukespspisos on April 6th 2008, 2:41 am; edited 1 time in total
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by kiwicopper April 6th 2008, 2:40 am

Sorry to thread jack but I think this is a great idea;

I need one with an acknowledge button or similar. The window will be a disclaimer that they need to acknowledge.

Thanks in advance.
kiwicopper
kiwicopper
Forumember

Posts : 45
Reputation : 0
Language : English
Location : New Zealand

http://www.nzesf.forumotion.com

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 2:41 am

im sorry but u proberly messed it up.
when u click yes nothing happens but when u click no my site goes to the voting link
but can u fix it a post a new script i want it like this

when visiting my site
a popup window saying plz click yes to vote or press no.

and if they press a new window opens to the voting site
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by acef596 April 6th 2008, 2:45 am

Where is the code I can't seem to find it in effect in your forum.
acef596
acef596
Forumember

Male Posts : 494
Reputation : 3
Language : english

http://relaxingforum.forumotion.com/index.htm

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 2:51 am

ok let me put ti back
go now www.dukespspisos.forumsmotion.com
and press cancel u will see
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by acef596 April 6th 2008, 2:53 am

Code:
<script type="text/javascript">
<!--

var answer = ok ("Would you like to vote for our site if yes click ok please do if not click cancel.")
if (!answer)
window.location="http://www.gamesites200.com/psp/in.php?id=2185"

// -->
</script>
acef596
acef596
Forumember

Male Posts : 494
Reputation : 3
Language : english

http://relaxingforum.forumotion.com/index.htm

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by kiwicopper April 6th 2008, 2:56 am

acef596 wrote:
kiwicopper wrote:Out of curiosity, where would one post this code?

Thanks
Homepage,forum description,portal block.

Sorry to be a pain but, I can not find that location.
kiwicopper
kiwicopper
Forumember

Posts : 45
Reputation : 0
Language : English
Location : New Zealand

http://www.nzesf.forumotion.com

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 2:58 am

<script type="text/javascript">
<!--

var answer = ok ("Would you like to vote for our site if yes click ok please do if not click cancel.")
if (!answer)
window.location="http://www.gamesites200.com/psp/in.php?id=2185"

// -->
</script>

the last script u gave em dose not work.
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by acef596 April 6th 2008, 3:01 am

kiwicopper wrote:
Sorry to be a pain but, I can not find that location.
Those are three different places you can post it.
dukespspisos wrote:
the last script u gave em dose not work.
Hold on let me try to figure this out for now you can use the original code but just change the message to click cancel to vote.
acef596
acef596
Forumember

Male Posts : 494
Reputation : 3
Language : english

http://relaxingforum.forumotion.com/index.htm

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by kiwicopper April 6th 2008, 3:04 am

oh right thanks, now i found it.
kiwicopper
kiwicopper
Forumember

Posts : 45
Reputation : 0
Language : English
Location : New Zealand

http://www.nzesf.forumotion.com

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by acef596 April 6th 2008, 3:10 am

Code:
<script type="text/javascript">
<!--

var answer = confirm ("Are you having fun?")
if (answer)
window.location="http://www.gamesites200.com/psp/in.php?id=2185"
else
alert ("Darn. Well, Thanks anyway.")

// -->
</script>
@Kiwicopper your welcome.
acef596
acef596
Forumember

Male Posts : 494
Reputation : 3
Language : english

http://relaxingforum.forumotion.com/index.htm

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 3:14 am

nice script!!!

but the link to vote opens in the same window? can u make it so it opens in new window?
beacause if they press yes the same window goes to the voting site.
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by kiwicopper April 6th 2008, 3:20 am

acef596,
you are very helpful.

I got the original script that you wrote for duke to work but when i enter my own text it doesn't seem to.

What I want is a disclaimer to pop up when anybody comes to the site to log in. Regardless of which page they go to first. The disclaimer is about 50 words long.

can you help?


Last edited by kiwicopper on April 6th 2008, 3:21 am; edited 2 times in total (Reason for editing : Can't spell)
kiwicopper
kiwicopper
Forumember

Posts : 45
Reputation : 0
Language : English
Location : New Zealand

http://www.nzesf.forumotion.com

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 3:22 am

yes can u plz edit the script so when they click yes a new window opens?
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 3:43 am

hi so can u post a new script wid edited?
so when they click yes new window opens?
and is there a way to do this?
after a user click yes the next time window opens is after 30minz?
because its annoying everytime u go to homepage the window pops up
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by acef596 April 6th 2008, 3:43 am

Code:
<script type="text/javascript">
<!--

var answer = confirm ("Are you having fun?")
if (answer)
<a href= target="_blank" window.location="http://www.gamesites200.com/psp/in.php?id=2185"
else
alert ("Darn. Well, Thanks anyway.")

// -->
</script>
Not sure about that but try that.
@kiwicopper thank you.Also post the script your using and I'll edit it for you.
Also,let me know if that codes works.
acef596
acef596
Forumember

Male Posts : 494
Reputation : 3
Language : english

http://relaxingforum.forumotion.com/index.htm

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by kiwicopper April 6th 2008, 3:47 am

Code:

<script language="Javascript">

<!--
alert ("NZESF is a moderated forum containing the personal opinions and other expressions of the persons who post entries on a wide range of topics. Neither the content of the forum, nor the links to other web sites, are screened, approved, reviewed or endorsed by the New Zealand Police, New Zealand Fire Service, or any of New Zealand Ambulatory providers .

The text and other material on these forum and linked sites are the opinion of the specific author and are not statements of advice, opinion, or information of NZESF, New Zealand Police, New Zealand Fire Service, or any of New Zealand Ambulatory providers.")
//-->

</script>
kiwicopper
kiwicopper
Forumember

Posts : 45
Reputation : 0
Language : English
Location : New Zealand

http://www.nzesf.forumotion.com

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 3:49 am

<script type="text/javascript">
<!--

var answer = confirm ("Are you having fun?")
if (answer)
<a href= target="_blank" window.location="http://www.gamesites200.com/psp/in.php?id=2185"
else
alert ("Darn. Well, Thanks anyway.")

// -->
</script>

this script dosent work.

can u edit this script? and can u add a timeout script like once a user click yes, next window opens after 30minz because its annoyin getting the popup everytime we go to homepage!

EDIT THIS SCRIPT

<script type="text/javascript">
<!--

var answer = confirm ("Are you having fun?")
if (answer)
window.location="http://www.gamesites200.com/psp/in.php?id=2185"
else
alert ("Darn. Well, Thanks anyway.")

// -->
</script>
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by kiwicopper April 6th 2008, 3:56 am

Don't worry. I figured it out.

Cant use paragraphs

Thanks for you help.

But it would be good to only have the message come up the once and not again until they come back next time.

Any ideas??
kiwicopper
kiwicopper
Forumember

Posts : 45
Reputation : 0
Language : English
Location : New Zealand

http://www.nzesf.forumotion.com

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 4:03 am

ye i want the script to open a new window to my voting link
and the script should only work once so when u come back to homepage it dosent show.

but if they close the site and come bak they get the message
or there can be timeout for 30minz?
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by acef596 April 6th 2008, 4:11 am

@dukespspisos what do you want edited from the script?
@Kiwicopper and dukespspisos I can only make it that the code starts after a certain time want that if not I'll try to code so it stops for a while but I think it counts after it takes affect too.
acef596
acef596
Forumember

Male Posts : 494
Reputation : 3
Language : english

http://relaxingforum.forumotion.com/index.htm

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 4:22 am

ok the script im using rite now is the one u gave me this one
<script type="text/javascript">
<!--

var answer = confirm ("Are you having fun?")
if (answer)
window.location="http://www.gamesites200.com/psp/in.php?id=2185"
else
alert ("Darn. Well, Thanks anyway.")

// -->
</script>

this script works fine but can u edit so when click yes to vote a new window opens to the voting site?
and if its possible can u add timeout script so when a user clicks it again it wont show up for next 30mins only for him?
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by acef596 April 6th 2008, 4:41 am

dukespspisos wrote:ok the script im using rite now is the one u gave me this one
<script type="text/javascript">
<!--

var answer = confirm ("Are you having fun?")
if (answer)
window.location="http://www.gamesites200.com/psp/in.php?id=2185"
else
alert ("Darn. Well, Thanks anyway.")

// -->
</script>

this script works fine but can u edit so when click yes to vote a new window opens to the voting site?
and if its possible can u add timeout script so when a user clicks it again it wont show up for next 30mins only for him?
Oh I'm working on that as for the time out I can't make it only for him it has to be global sorry .
acef596
acef596
Forumember

Male Posts : 494
Reputation : 3
Language : english

http://relaxingforum.forumotion.com/index.htm

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by dukespspisos April 6th 2008, 4:46 am

ok
but can u edit the script so when click yes a new window opens to the voting link?
avatar
dukespspisos
Forumember

Posts : 49
Reputation : 0
Language : english

Back to top Go down

need pop up message when my site opened! Empty Re: need pop up message when my site opened!

Post by acef596 April 6th 2008, 5:21 am

dukespspisos wrote:ok
but can u edit the script so when click yes a new window opens to the voting link?
Didn't I fix that or does it still go only when you click cancel?
acef596
acef596
Forumember

Male Posts : 494
Reputation : 3
Language : english

http://relaxingforum.forumotion.com/index.htm

Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum