Jump to content
Sign in to follow this  
divyac

Problem With Iframe

Recommended Posts

I am trying to load an iframe by clicking a flash button.I have written a javascript function in onclick event for loading the iframe as

function sourceIframe(){document.writeln('<iframe id="iflogin" src="http://www.google.com" width="90%" height="70%" frameborder="1" scrolling="auto" style="visibility:visible;"></iframe>');}

but still it is not working...kindly help me in this issue.

Share this post


Link to post
Share on other sites

What method are you using to execute the Javascript from Flash?

Share this post


Link to post
Share on other sites

Hmm, is there any ActionScript that you can show that's trying to execute the Javascript function?

Share this post


Link to post
Share on other sites
Hmm, is there any ActionScript that you can show that's trying to execute the Javascript function?
OnRelease{GetURL("java script:MyFuntion();","<iframe id>")}

Share this post


Link to post
Share on other sites

OK, that's one way to do it, just remove the capital G from getURL. Now there's only one more thing to check. What HTML code are you using to put the Flash document on your website?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...