Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Javascript (http://www.velocityreviews.com/forums/f68-javascript.html)
-   -   Popup Question (http://www.velocityreviews.com/forums/t916915-popup-question.html)

Papajo 03-12-2005 06:46 PM

Popup Question
 
This cookie script has a confirm popup that asks if you want your data
saved, it pops when you exit the form, now my question is how can I
eliminate the popup? Thanks Joe


http://web2jo.com/Work/TEMP.html


Randell D. 03-14-2005 07:06 AM

Re: Popup Question
 
Papajo wrote:
> This cookie script has a confirm popup that asks if you want your data
> saved, it pops when you exit the form, now my question is how can I
> eliminate the popup? Thanks Joe
>
>
> http://web2jo.com/Work/TEMP.html
>




If you want to keep the code pretty much intact and store cookies
without prompting, just change

use_cookies = "unsure";

to equal "yes" - thus, make the following change:

use_cookies = "yes";


It sounds like you've borrowed the code from someone else and it makes a
specific check on the variable use_cookies, for the purpose you're asking.

I hope that helps - I'd suggest you pick up some javascript so you can
support the code you use... and... by the by... if the web browser is
set not to use cookies, then it won't store it, regardless what the
user_cookies is set to...

regards
randelld




Papajo 03-14-2005 01:27 PM

Re: Popup Question
 
Thanks for the easy fix, works perfect.
Joe



All times are GMT. The time now is 04:07 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.