Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.
Try the below modified dhtmlwindow.js file instead, which adds support for session only persistence, so you can set a window to only pop up once per browser session. This is realized by a new optional parameter at the very end of dhtmlwindow.open(). Whereas before you had something like:
Code:
var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://images.google.com/", "#1: Google Web site", "width=590px,height=350px,resize=0,scrolling=1,center=1", "recal")
To get this window to only pop up once per browser session, throw in a new parameter at the very end:
Code:
var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://images.google.com/", "#1: Google Web site", "width=590px,height=350px,resize=0,scrolling=1,center=1", "recal", "sessiononly")
I'll be adding cookie support to this script formally the next time it's updated.
Bookmarks