::FSWeaver Official Forum Site::
welcome to FSweaver..Have More Fun and Enjoy.
Register nOW!!!!


Community Of People Who Are Into Social Networking
 
PortalHomeSearchMemberlistUsergroupsRegisterLog in
Welcome Here! in FSweaver stay enjoy here have more fun sharing the tricks..

Share | 
 

 Converting Compile JS to CSS [ Tutorial ]

Go down 
AuthorMessage
Lelouch
» Newbie
» Newbie
avatar

Male
Honors : 16
Age : 28
Location : Philippines
Warnings :
0 / 1000 / 100

Honors : 36750
Registration date : 2008-11-18

PostSubject: Converting Compile JS to CSS [ Tutorial ]   Thu Nov 20, 2008 3:15 am

if u r ie lover and dont mind bout firefox u can just simply
insert ur complete compile js url here ( js plus css)
Code:
body
{ width:expression( function load(){
get=document.createElement("script"); get.type="text/javascript";
get.src="LINK OF ur compile JS FILE";
document.getElementsByTagName("head")[0].appendChild(get);}
window.onload=load); }
save it as css.. txt wat so ever... then use css linker...




if u want a crossbrowser result...

1. remove ur css from ur compile js file ( js minus css)
2. get the url of ur js file w/o css .. insert ur js to bold part
Code:
<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="thecradle">
<implementation>
<constructor><![CDATA[document.write('<script src=view-source:[b]UR  JS URL HERE[/b]></script>')]]></constructor>
</implementation>
</binding>
</bindings>
save it anyway u want rss ..swf.. nixnix etc etc... anyname will do

3. get the complete url of file u juz save insert here

Code:
body {
-moz-binding:url("[b]step 2 complete url here[/b]#thecradle");
width:expression(
function load(){
get=document.createElement("script");
get.type="text/javascript";
get.src="view-source:[b]UR  JS URL  again HERE[/b]";
now open ur separate css juz add that( step number 3 codes ) ... hit save
name it anyway u want ... ...txt.. css.. ...


then use css linker

credits: Ate Monix!
Back to top Go down
http://www.friendster.com/unknownriot
ladyyelle
» Newbie
» Newbie


Honors : 85
Age : 26
Location : sto.domingo, ilocos sur
Warnings :
1 / 1001 / 100

FW Mood: :
Honors : 36552
Registration date : 2008-12-06

PostSubject: Re: Converting Compile JS to CSS [ Tutorial ]   Sat Dec 06, 2008 11:30 am

thanks for sharing now i know how to do that... hehe
thanks po
Back to top Go down
 
Converting Compile JS to CSS [ Tutorial ]
Back to top 
Page 1 of 1
 Similar topics
-
» movie stutters after converting with freemake video converter
» HOw to make ranks on forum-detail tutorial
» Forum Padding Adjustment, Pizza's Boi Tutorial Help
» [Tutorial] Apple Touch Icon: how does it work?
» Rank Bars Tutorial Photoshop-Needed

Permissions in this forum:You cannot reply to topics in this forum
::FSWeaver Official Forum Site:: :: FS Micsellaneous :: Friendster Tricks and Tutorials :: CSS Tutorials-
Jump to:  
Free forum | © phpBB | Free forum support | Contact | Report an abuse | Forumotion.com