Hi, I want to run a survey on my website.
To do this, I need a JQuery in-content popup that fades in to the page. In fact,
this is a perfect example of what I want.
However, I need it to appear onload. In addition, it should only appear once for a user, utilizing cookies.
If somebody can please show me a code that can do all this, or possibly edit the code in the link above, I would really appreciate it
You mean like "www.google.com" there content is fading in too? you want it like that?
(2009-11-22, 02:08 AM)2JR Wrote: [ -> ]You mean like "www.google.com" there content is fading in too? you want it like that?
No, I want it so that when a user visits my website, the site gets dark and an in-content popup fades in OVER the existing content.
http://yensdesign.com/tutorials/popupjquery/
I want it exactly like that, except it should load instantly (and with cookies) instead of using a button.
Hehe helped Zash out on MSN already so no need to post more tuts ^^.
I'm getting better at jQuery. This should work I think:
$(document).ready(function(){
centerPopup();
loadPopup();
});
(BTW, this is for anyone that wants to know how to do it too.)
(2009-11-22, 04:13 PM)DougSD Wrote: [ -> ]I'm getting better at jQuery. This should work I think:
$(document).ready(function(){
centerPopup();
loadPopup();
});
(BTW, this is for anyone that wants to know how to do it too.)
Does that use cookies like Zash wanted? I might use it for my site
When I tried learning Javascript, I got to the cookies part and havent touched it since xD
With jQuery, I actually understood what each line of code for the cookies meant!