Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 12-09-2004, 09:37 PM   #1
Registered User
Join Date: Nov 2004
Posts: 31
Default HTML popup...too many!

Hi all. Thanx for reading.

I have a flash movie with images that, when clicked, calls an html popup.
Problem is, there are more than 90 images and i don´t wanna have 90 htmls... one for each image.

Question is: is there a way that a single HMTL popup can be used for all the images? so everytime i click each image in flash, a single popup opens the image i choose?

thanx a lot!
haznut is offline   Reply With Quote
Old 12-09-2004, 10:24 PM   #2
Join Date: Oct 2004
Posts: 107

Give your window a name, and then reference this window name for all of your photos to open up in that window.

In Javascript:
window.open("anywhere.html", "myWindowName", "width=150,height=210");

You can target that window in your HTML to load your images, or another url, in that window, if it already exists:
<A HREF="http://www.anywhere.com/" TARGET="myWindowName">Anywhere</A>

Can also do it this way:
<A HREF="http://www.anywhere.com/"
onClick="window.open('http://www.anywhere.com/', 'myWindowName');">Anywhere</A>
CookieDog is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 08:32 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.