PDA

View Full Version : DHTML Window Widget Script



synritical
03-31-2007, 11:55 AM
1) Script Title: DHTML Widget Script

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/

3) Describe problem:

Hi guys,

I've stumbled across this script and it's absolutley perfect for what I'm trying to achieve on my own website! It works great and looks fantastic. However, my knowledge of javascript is practically non existant, and I was wondering how I would go about making it appear only once per session?

Thanks!:)

ddadmin
04-01-2007, 11:15 PM
Sure, just do the following:

1) Replace the original dhtmlwindow.js file with the modified one below

2) This modification adds an optional last parameter to dhtrmlwindow.open(), that when defined to 1, will cause that window to only appear once per browser session. For example:


var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://images.google.com/", "#1: Google Web site", "width=590px,height=350px,resize=1,scrolling=1,center=1", "recal", 1)