Note that there are some explanatory texts on larger screens.

plurals
  1. POhow do jquery script
    primarykey
    data
    text
    <p>I'm here with the following code in prototype</p> <pre><code>var id = "bugtv"; if(navigator.userAgent.indexOf("MSIE")&gt;-1){ flashObj = $(id+'Obj'); }else{ flashObj = $(id+'Emb'); } </code></pre> <p>I would like to jQuery</p> <p>how I do it</p> <pre><code>flashObj = $(id+'Obj'); flashObj = $(id+'Emb'); </code></pre> <p>in jquery?</p> <p>thanks</p> <p><strong>edit</strong></p> <pre><code>function MontaBugtvFlash(url) { var id = "bugtv"; var width = "100%"; var height = "100%"; var wmode = "transparent"; var swfbugtv=[]; swfbugtv.push('&lt;object id="'+id+'Obj" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="'+height+'" width="'+width+'"&gt;'); swfbugtv.push('&lt;param name="movie" value="'+url+'"&gt;'); swfbugtv.push('&lt;param name="quality" value="high"&gt;'); swfbugtv.push('&lt;param name="wmode" value="'+wmode+'"&gt;'); swfbugtv.push('&lt;param name="menu" value="false"&gt;'); swfbugtv.push('&lt;embed src="'+url+'" id="'+id+'Emb" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="'+wmode+'" menu="false" height="'+height+'" width="'+width+'"&gt;'); swfbugtv.push('&lt;/object&gt;'); document.write(swfbugtv.join("")); if(navigator.userAgent.indexOf("MSIE")&gt;-1){ flashObj = $(id+'Obj'); }else{ flashObj = $(id+'Emb'); } }; &lt;div id="flashHolder"&gt; &lt;script type="text/javascript" language="javascript"&gt;MontaBugtvFlash("blubix.swf");&lt;/script&gt; &lt;/div&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload