Advanced Layer Popup Support Product Page

Cookie support

Shared 25 Apr 2007 00:24:10
likes this idea
25 Apr 2007 00:24:10 Nick B posted:
Is there a way already, or could it be added in a future version, to have the layer popup only once based on a cookie?

I'm thinking an email subscription form that pops up once.


Replied 25 Apr 2007 11:07:55
25 Apr 2007 11:07:55 Georgi Kralev replied:
Hi Nick,

This is indeed interesting feature, but it could be very easily implemented just by modifying the code generated by Advanced Layer Popup.

For example if your email subscription popup appear onload you could use the following code for check the cookie :
<pre id=code><font face=courier size=2 id=code>
&lt;body &lt;% if Request.Cookies("DzoneEmailSub"&lt;&gt;"Verified" Then
Response.Write "onload= ""dmxAdvLayerPopup('Email subscription form','_email_sub_form.asp','','','OS_Look','center','center',450,338,0,true,false,true,40,'','',0,false,'','',0,false,'',1,5,true,false,'#FFFFFF');return document.MM_returnValue"""
End if%&gt;
</font id=code></pre id=code>

and upon subscription could be created the cookies. For example:
Response.Cookies ("DzoneEmailSub" = "Verified"

For these reason I believe that at this point it is not needed the cookies support to be integrated into Advanced Layer Popup.

Best regards,

Georgi Kralev

Support -
Replied 26 Oct 2010 15:12:53
26 Oct 2010 15:12:53 Thomas Harvey replied:
Could someone possibly re-post this script without the happy faces or just a simplified version to not show the pop-up if a particular cookie value exists... Thanks

Reply to this topic