Jump to content


Javascript Generator Help


1 reply to this topic

#1 ericrcan

    Young Padawan

  • Members
  • Pip
  • 103 posts

Posted 05 October 2005 - 03:04 PM

Hi all. Im trying to make a generator for embeded tags. I want it so that if you choose the wmv radio button, it would come out like this: <embed name="RAOCXplayer" src="' + url + '" type="application/x-mplayer2" ShowStatusBar="0" AutoSize="true" DisplaySize="0" AutoStart="true" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"></embed>, and like that (but the name and plugin different) for qt, and rm.. anyone know how? I made this one, but i dont know how to get it to change the output by selecting a different radio button:

the flash video generator

Edited by zYpher, 05 October 2005 - 03:07 PM.


#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 05 October 2005 - 03:44 PM

zYpher, on Oct 5 2005, 01:04 PM, said:

...i dont know how to get it to change the output by selecting a different radio button
If you don't know how to work with radio buttons in javascript, do a search!
http://www.pixel2life.com/tutorials/JavaSc...=1&d=1&ss=radio
That simple.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users