Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pop-Up Window

Status
Not open for further replies.

z35

Programmer
Dec 21, 2001
206
US
Hi,

I have several pictures in my flash movie. When the user clicks on the picture, I want a larger copy of it to open in a new window. I know to user the getURL action and target it to "new window."

but does anyone know how to control the size of this window...i want a fairly small size window.
Thanks,
soumya
 
You would have to use a little javascript, but it's fairly easy. Check this faq250-697. Just set your popup with the size you want.

Regards,
wink4.gif
ldnewbie
 
Hi, i tried it out and it worked. thanks for your help!

is there a way to control the placement of the window? maybe by giving x,y coordinates?

do i have to write a separate function for each pop-up window that I want to create?

 
window.open("URL address of window to be opened as a popup","_blank","directories=0,menubar=0,scrollbars=0,toolbars=0,location=0,width=#of pixels,height=#of pixels,left=#of pixels from left edge,top=#of pixels from top edge");
}

red and blue adjusted will be the same as your x and y coordinates..i think it only works in ie though..i know it will not work in aol..not sure about nutscrape either..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top