want to set size of target _blank window in Hotspot Editor

Q&A about the latest versions
Post Reply
chris777
Posts: 32
Joined: Sat Sep 08, 2007 9:56 pm
Location: Dallas, Texas
Contact:

Sat Mar 08, 2008 5:17 am

I want to be able to set the size of the _blank target frame in the Hotspot Editor.

The way it is now, when I click the hotspot to bring up a 350 x 200 pixel photo, the _blank target frame is 1000 x 600, the same size as the parent window. How can I set the size to 360 by 240????
User avatar
thomas
Chief Gnome
Posts: 2544
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

Sat Mar 08, 2008 8:22 pm

You can not do this directly in the hotspot editor but you can change the window size is the html of the target page with something like:

Code: Select all

<script>
<!--
window.resizeTo(360,240);
window.focus();
-->
</script>
MfG, Thomas
Post Reply