Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. The Javascript variable under HTML reference questions:) [modified]

The Javascript variable under HTML reference questions:) [modified]

Scheduled Pinned Locked Moved Web Development
javascripthtmlcomadobetools
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hack004
    wrote on last edited by
    #1

    In Dreamware~press "CTRL+ALT+F" you ca isnert a FLASH video with URL,see code as follows ----------------------------------------------

    1. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="32" height="32">
    2. <param name="movie" value="http://player.56.com/v\_NTcxMTA1Njc.swf" />
    3. <param name="quality" value="high" />
    4. <embed src="http://player.56.com/v\_NTcxMTA1Njc.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed>
    5. </object>

    -------------------------------------------------------- my script is not very good~ but i'm guess this is FLALSH's address~


    so, i would like to ask the question~as i'm in the middle with Javascript defines a variable to hold the FLASH's address,as follow~

    1. <script>
    2. var a = "http://player.56.com/v\_NTcxMTA1Njc.swf";
    3. </script>

    so~that's question is how to insert FLASH address in "

    modified on Sunday, December 12, 2010 5:23 PM

    J 1 Reply Last reply
    0
    • H hack004

      In Dreamware~press "CTRL+ALT+F" you ca isnert a FLASH video with URL,see code as follows ----------------------------------------------

      1. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="32" height="32">
      2. <param name="movie" value="http://player.56.com/v\_NTcxMTA1Njc.swf" />
      3. <param name="quality" value="high" />
      4. <embed src="http://player.56.com/v\_NTcxMTA1Njc.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed>
      5. </object>

      -------------------------------------------------------- my script is not very good~ but i'm guess this is FLALSH's address~


      so, i would like to ask the question~as i'm in the middle with Javascript defines a variable to hold the FLASH's address,as follow~

      1. <script>
      2. var a = "http://player.56.com/v\_NTcxMTA1Njc.swf";
      3. </script>

      so~that's question is how to insert FLASH address in "

      modified on Sunday, December 12, 2010 5:23 PM

      J Offline
      J Offline
      Jules VDV
      wrote on last edited by
      #2

      You could use the following piece of code in place of the string constant currently in the HTML

      document.write(a);

      So it may look like:

      var a = "http://player.56.com/vNTcxMTA1Njc.swf";

      document.write(a);" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32">

      Greenridge Business Systems[^]

      H 1 Reply Last reply
      0
      • J Jules VDV

        You could use the following piece of code in place of the string constant currently in the HTML

        document.write(a);

        So it may look like:

        var a = "http://player.56.com/vNTcxMTA1Njc.swf";

        document.write(a);" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32">

        Greenridge Business Systems[^]

        H Offline
        H Offline
        hack004
        wrote on last edited by
        #3

        Thx very much~:)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups