New Unblockable Popup

Tuesday September 25, 2007

I created a variant of the popular unblockable popup that fades into the page instead of flying in from the top of the page.

Click here to check it out!

comments 8 Comments | days old 3984 days old | Direct Link

Jerry
Where is this?
Tuesday October 2, 2007

Coz I can't find it

Marty
Click the link....
Tuesday October 2, 2007

Right Here

PJ
Other popup
Friday October 12, 2007

I like the popup with the "geek" more ... Can I also grab that code?

Thanks

Marty
Working on it
Friday October 12, 2007

I'll work on getting it on the site this weekend. Check back...

PJ
Thanks
Friday October 12, 2007

That would be great, I saw it and I was really impressed... Please fix it asap, because it's HOT on my website. Thanks!!

Andy Schmidt
Bug in the Fade funtion?
Wednesday January 9, 2008

The hide function doesn't seem to work for all visitors. In our office we have several IE7 systems where the never ends up in a differnt z-Level - but never actually totally fades away. On other systems (same patch level of IE7) it works.

I looked at the Fade() function and I noticed TWO things:

1. when amt reaches 0, it would best best to set visibility to "hidden" so that the rollover doesn't display the ALT text.

2. I fail to see WHEN the fade() iterations ever end. It seems that there is NO condition in place where the SetTimeout is NOT executed - even if amt has reached 0.

I adjusted the code to address both these issues:

function fade(amt) { if((t == 100 && amt <= t) || (t == 0 && amt >= t)) setFade(amt);

if(amt == t && t==0) { moveUp(-1); // Hide DIV after faded out and stop interval var obj; if (document.layers) obj = document.layers.fa; else if (document.all) obj = document.all.fa; else if (document.getElementById) obj = document.getElementById("fa"); obj.style.visibility="hidden";

return; } amt += (t > 0)? 10:-10; if(timer!=null) clearInterval(timer); timer = setTimeout("fade("+amt+")", 20); }

Marty
Thanks for the fix
Thursday January 10, 2008

I'll work this fix into the code ASAP!

Marty
New Version
Wednesday January 16, 2008

I've created a new version of both fade ads. This version is more simplified and I hope more cross-browser compatible. Please download the new version(s) and let me know if they work ok or not.

post comment Post a Comment

COMMENTS CLOSED DUE TO SPAMMERS
Nobody is going to buy your viagra and gucci bags just because you post 1000 links on an obscure blog!
Contact me if you want to post a comment