2008-07-23 14:03:30

joyce_xox
» n00b
FTalk Level: zero
3
0
1969-12-31

Re: if u r ie lover and dont mind bout firefox u can just simply insert ur complete compile js url here ( [b]js plus css[/b]) [quote]body { width:expression( function load(){ get=document.createElemen

hi swit. your tutorial below just gave life to my JS codes, its working again thanks to you =):thumbsup: but what happens to the CSS codes :question: how do i inject it to my JS file :question: 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)

Board footer

© 2024 F Talk

Current time is 07:49

[ 12 queries - 0.481 second ]
Privacy Policy