This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > November 2004 > Resizing an already opened popup window





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Resizing an already opened popup window
alwaysabitlost

2004-11-16, 6:53 pm

Hi Guys I have this site that allows the user to click the image for a
closeup. This pops open a set size window with the image in and a close
button. I want to add to that two buttons, one for a super size shot, and the
other for a detail shot. Now the detail isn't a problem as it's the same width
and height, but the super size is double the size, and what I want, and I think
I've seen it before but not sure where, is the window to resize and load in the
new page accordingly. All the images come from the same resource so it could
load just a new image in place of the old one, but the main thing is getting
the window size to shift accordingly to the image being displayed. Thanks

Jon Spivey

2004-11-16, 6:53 pm

Hi,
you can do
<script>
window.resizeTo(800,600)
</script>

Jon

"alwaysabitlost" <webforumsuser@macromedia.com> wrote in message
news:cnaflb$cct$1@forums.macromedia.com...
> Hi Guys I have this site that allows the user to click the image for a
> closeup. This pops open a set size window with the image in and a close
> button. I want to add to that two buttons, one for a super size shot, and
> the
> other for a detail shot. Now the detail isn't a problem as it's the same
> width
> and height, but the super size is double the size, and what I want, and I
> think
> I've seen it before but not sure where, is the window to resize and load
> in the
> new page accordingly. All the images come from the same resource so it
> could
> load just a new image in place of the old one, but the main thing is
> getting
> the window size to shift accordingly to the image being displayed. Thanks
>



alwaysabitlost

2004-11-16, 6:53 pm

Thanks Jon that's perfect
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews