PDA

View Full Version : javascript help


Navarone
03-18-2008, 01:22 PM
I am not a java script programmer so I need some help. I have an anchor tag on my web page and I want to pass into the Flash generated AC_FL_RunContent the width and height parameters.

I am going to set the width and height of the flash file to 0 and 0. But when the user clicks on the link, I want to pass in the actual values of the flash file.

Is this possible? :confused:

jsebrech
03-19-2008, 12:08 PM
To run a function from an anchor, use this code:
<a href="#" onclick="javascript:myFunction();return false;">link</a>

I'm a bit confused where you want to get your width/height from, and what code you want to call with those arguments.