Topic awaiting preservation: Turn Scrollbars On/Off in Existing Pop-up |
|
---|---|
Author | Thread |
Paranoid (IV) Mad Scientist From: Inside THE BOX |
posted 11-19-2002 08:47
I recently realized that the pop-ups on my site (which I use for such things as viewing a larger version of an image, etc.) all opened never use the same window. I assume I did that because, at the time, I couldn't figure out how to resize an existing pop-up to fit the image it contained. code: function createPopup(url,pwidth,pheight,scrollbars)
|
Bipolar (III) Inmate From: Berlin (almost) |
posted 11-19-2002 12:12 |
Bipolar (III) Inmate From: the uterus |
posted 11-19-2002 19:25
*errmmmmm... looks blankly in both directions* |
Bipolar (III) Inmate From: Berlin (almost) |
posted 11-19-2002 19:39
Yep, that's exactly what I've been talking about |
Paranoid (IV) Mad Scientist From: Inside THE BOX |
posted 11-19-2002 20:38
Most often, the pop-up just contains an image. Don't want to create a separate HTML for every pop-up. |
Paranoid (IV) Mad Scientist From: Inside THE BOX |
posted 11-19-2002 20:54
Oh, one more question before I embark on a journey of frustration: |
Bipolar (III) Inmate From: Berlin (almost) |
posted 11-19-2002 21:01
Rooster: No problem - you really wouldn't have needed to delete what you had posted because of that, it was a nice coding example |
Paranoid (IV) Mad Scientist From: Inside THE BOX |
posted 11-19-2002 21:14
Right, but since I'd like everything to pop up in the same window, I'd still need to turn off the scrollbars again when popping up a single image into a window that previously had scrollbars. So, I'd still need to define the overflow to turn them off, which I can do in the dynamically created HTML. |