![]() |
Adding a script to wordpress post
Hello,
I'm trying to add a promo tool of Awempire to my wordpress blog: <!--START Livejasmin RECORDED SHOW--> <script src="http://static.awempire.com/Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0','width','320','heigh t','260','src','http://static.awempire.com/flash/livejasminflv','quality','high','pluginspage','htt p://www.macromedia.com/go/getflashplayer','flashvars','psid=sexysphere&pstou r=t1&psprogram=REVS','wmode','transparent','movie' ,'http://static.awempire.com/flash/livejasminflv' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0" width="320" height="260"> <param name="movie" value="http://static.awempire.com/flash/livejasminflv.swf" /> <param name="quality" value="high" /> <param name="FlashVars" value="psid=sexysphere&pstour=t1&psprogram=REVS" /> <param name="wmode" value="transparent" /> <embed src="http://static.awempire.com/flash/livejasminflv.swf" width="320" height="260" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" flashvars="psid=sexysphere&pstour=t1&psprogram=REV S" wmode="transparent"></embed> </object> </noscript> <!--END Livejasmin RECORDED SHOW--> But it doesn't work. When i save the page and go back to the code it becomes: <!--START Livejasmin RECORDED SHOW--> <script type="text/javascript" src="http://static.awempire.com/Scripts/AC_RunActiveContent.js"></script> <script type="text/javascript"> AC_FL_RunContent( \'codebase\',\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0\',\'width\',\'320\',\ 'height\',\'260\',\'src\',\'http://static.awempire.com/flash/livejasminflv\',\'quality\',\'high\',\'pluginspage \',\'http://www.macromedia.com/go/getflashplayer\',\'flashvars\',\'psid=sexysphere&p stour=t1&psprogram=REVS\',\'wmode\',\'transparent\ ',\'movie\',\'http://static.awempire.com/flash/livejasminflv\' ); //end AC code</script><noscript></noscript> <!--END Livejasmin RECORDED SHOW--> |
turn the visual editor off
|
yes proceed to your user cp and unclick the visual editor...
users----->your profile |
Thanks for you answer.
Now the html remain the same in the code form. But it doesn't work on the site. The html code become: <!--START Livejasmin RECORDED SHOW--><br /> <script src="http://static.awempire.com/Scripts/AC_RunActiveContent.js" type="text/javascript"></script><br /> <script type="text/javascript"> AC_FL_RunContent( \'codebase\',\'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0\',\'width\',\'320\',\ 'heigh t\',\'260\',\'src\',\'http://static.awempire.com/flash/livejasminflv\',\'quality\',\'high\',\'pluginspage \',\'htt p://www.macromedia.com/go/getflashplayer\',\'flashvars\',\'psid=sexysphere&# 038;pstou r=t1&psprogram=REVS\',\'wmode\',\'transparent \',\'movie\' ,\'http://static.awempire.com/flash/livejasminflv\' ); //end AC code </script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0" width="320" height="260"></p> <param name="movie" value="http://static.awempire.com/flash/livejasminflv.swf" /> <param name="quality" value="high" /> <param name="FlashVars" value="psid=sexysphere&pstour=t1&psprogr am=REVS" /> <param name="wmode" value="transparent" /> <embed src="http://static.awempire.com/flash/livejasminflv.swf" width="320" height="260" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" flashvars="psid=sexysphere&pstour=t1&psp rogram=REV S" wmode="transparent"></embed><br /> </object><br /> </noscript><br /> <!--END Livejasmin RECORDED SHOW--> |
All times are GMT -7. The time now is 04:12 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123