Results 1 to 2 of 2

Thread: DHTML Window widget (Once Per Browser Session)

  1. #1
    Join Date
    Sep 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation DHTML Window widget (Once Per Browser Session)

    DHTML Window widget (v1.1)
    1) Script Title: DHTML Window widget (v1.1)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm

    3) Describe problem: I'm just looking for a code to display this DHTML window widget only once per browser session, or once every X minutes. Is it possible?

    Thank you.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    For the "once per browser session" control feature, there's this thread discussing this already. However, it's based on modding v1.03 versus the current v1.1, though the process is actually exactly the same.

    Attached is the modified v1.1 dhtmlwindow.js file with session only pop up ability added. To get this window to only pop up once per browser session, throw in a new parameter at the very end of open():

    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")

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •