1 Replies - 528 Views - Last Post: 12 January 2013 - 10:00 PM

#1 Mortal Kombat  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 16
  • Joined: 16-December 12

Tips how to make

Posted 12 January 2013 - 07:22 AM

Hello

I have this code:

<object id="flashplayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="400">
<param name="movie" value="player.swf" />
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="always" />
<param name="FlashVars" value="plugins=captions,plugins/proxy.swf&proxy.link=[b]xxxxx[/b]&captions.file=[b]xxxxx[/b]" />
<embed name="flashplayer" src="player.swf" FlashVars="plugins=captions,plugins/proxy.swf&proxy.link=[b]xxxxx[/b]&captions.file=[b]xxxxx[/b]" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="600" height="400" />
</object>


I need to substitute xxxxx, by a value entered by a user on input, and transform the code in iFrame.
Example:

<iframe src='".$link."&sub=".$sub."' width='640' height='360' frameborder='0' scrolling='no'></iframe>


How make this?

Is This A Good Question/Topic? 0
  • +

Replies To: Tips how to make

#2 JMRKER  Icon User is offline

  • D.I.C Addict

Reputation: 129
  • View blog
  • Posts: 834
  • Joined: 25-October 08

Re: Tips how to make

Posted 12 January 2013 - 10:00 PM

Most of your post looks like Java, not Javascript.

Might want to post to the correct forum or ask moderators to move it.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1