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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Small customized windows.

Status
Not open for further replies.

darkprince

Programmer
Jun 4, 2002
165
AU
Umm hi,

How can I make it so links open small customized windows in size and such like i can with a code in html and javascript for example.

----------
<A HREF="javascript:void(0)" ONCLICK="open(images/pic12093.jpg', 'myannouncer','toolbar=0,location=0,resizable=0,scrollbars=yes,width=618,height=400,top=80,left=100')">A picture of my jetski.</a>
------------

Thanks in advance champs.

Buh Bai. (I don't own a jetski)
 
Visit , and create the popup at the size and with the features you want or don't want. Generate the code. Then simply copy & paste the generated code on your Flash button.

This does imply though that since everything is in the Flash movie itself, when you want to change a link, a size or a window's feature, you must re-edit the Flash movie itself each time.

IMHO, it's better to use a call to an html javascript function (the html in which your movie is embedded), so that if you want to change one of the above features, you only need to edit the html itself rather than the whole Flash movie.

You would then use...

on(release){
getURL("javascript:my_Popup();");
}

And could possibly add some parameters to the function, but maybe not all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top