View Full Version : Setting the size of a single popup link inside Image Thumbnail Viewer II

Vagrant Logic
04-07-2005, 11:59 PM

Hi, I've got another question about this script.

I have one image, that I want to link to a popup window containing a director 3D file. I can get the window to pop up just fine, but I want to make it pop up in a small window without all the buttons and such. All the standard ways of doing a javascript link don't work.

Please help!

Also, is there any way I can put in the director file right into the frame in place of the image?

Thanks a lot in advance for the help! :D

04-08-2005, 04:36 AM
All the standard ways of doing a javascript link don't work.Such as? Did you try using one of the links provided in the markup:

<a href="#" onMouseover="modifyimage('dynloadarea', 0)">image 1 (onmouseover)</a><br>
<a href="#" onMouseover="modifyimage('dynloadarea', 1)">image 2 (onmouseover)</a><br>
<a href="#" onClick="return modifyimage('dynloadarea2', 2)">image 3 (onclick)</a><p>and using the window.open() method with standard params for a bare window sized to your specifications? It could be added as onClick, to an existing onClick, or as href="javascript:window.open()". window.open() is a standard JavaScript way of doing a link, especially in a new window. Two scripts you might want to check out, one would help implement this idea:
Popup Window Generator (http://www.dynamicdrive.com/dynamicindex8/popwin.htm)
and this one provides an alternative:
DHTML Window (http://dynamicdrive.com/dynamicindex8/dhtmlwindow.htm)

Vagrant Logic
04-08-2005, 06:43 AM
I think I get what you're saying.