hi swit.
your tutorial below just gave life to my JS codes, its working again thanks to you
but what happens to the CSS codes
how do i inject it to my JS file
im an FF user btw.
[quote]the easiest way to convert ur js to css juz follow this simple instructions...
1. create 2 empty file..
name it..
linker.css
linker.txt
2. open ur linker.txt
then copy paste this
<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="thecradle">
<implementation>
<constructor><![CDATA[document.write('<script src=view-source:UR COMPILE JS URL HERE></script>')]]></constructor>
</implementation>
</binding>
</bindings>
after hitting save ... rename this as linker.swf
3. open ur linker.css
copy paste the ff
body {
-moz-binding:url("UR LINKER SWF HERE#thecradle");
width:expression(
function load(){
get=document.createElement("script");
get.type="text/javascript";
get.src="view-source:UR COMPILE JS URL HERE";
document.getElementsByTagName("head")[0].appendChild(get);}
load()
save it as linker.css
4. get the complete url of linker.css then use css linker... paste to ur media box[/quote]
great tutorial. thanks a lot!
Last edited by joyce_xox (2008-07-23 15:19:18)