Ok for my first project at my internship, I have to make pop up windows for each picture in flash. The pop up window is going to be an html page. What is the action script I need to use. I have tried many other codes and nothing would happen.
Ok for my first project at my internship, I have to make pop up windows for each picture in flash. The pop up window is going to be an html page. What is the action script I need to use. I have tried many other codes and nothing would happen.
What part of this needs to be flash? If you are popping up html pages onclick, the easiest way is the html:
But, folks usually want a bare bones window over which they have some control, so the next most simplest way is adding a javascript onclick event:HTML Code:<a href="some.htm" target="_blank">Link Text or Image</a>
More control and customization are possible by passing off the onclick event to a function. A good example of this is found here on DD.HTML Code:<a href="some.htm" target="_blank" onclick="window.open(this.href,'','width=300, height=300, top=200, left=250, scrollbars, resizable');return false;">Link Text or Image</a>
Last edited by jscheuer1; 11-21-2005 at 07:03 PM.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks