PDA

View Full Version : DHTML Window Widget: close()



jscheuer1
02-21-2007, 05:10 PM
1) Script Title: DHTML Window Widget

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

3) Describe problem: Not so much a bug but a typo on the demo page:


It is via this unique variable for each window created that enables you to continue to reference the window and modify it later using a handful or window methods. For example, to close a window dynamically, you would call "googlewin.close()". Below lists these methods.

should be:


It is via this unique variable for each window created that enables you to continue to reference the window and modify it later using a handful or window methods. For example, to close a window dynamically, you would call "googlewin.hide()". Below lists these methods.

ddadmin
02-21-2007, 08:23 PM
Typo smypo :) You're right of course- I've fixed it, and will upload the changes in the next few days to coincide with a couple of bug fixes.