• ARCHIVES 
  • » credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

Pages: 12

credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

darylldelfin
» FTalkGeek
FTalk Level: zero
1389
0
1969-12-31

credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.javascript('[color=#FF0000]URL_OF_JS_FILE[/color]');[/quote] shorter ryt ? now , if u want your profile to load different scripts when they are using different browsers . (useful to those who have conflicts in their codes) .. Just change the urls .. code : [quote]if (window.ie){ Asset.javascript('[color=#FF0000]URL_JS_FOR_IE[/color]'); } else if (window.gecko){ Asset.javascript('[color=#FF0000]URL_JS_FOR_FF[/color]'); } else if (window.webkit){ Asset.javascript('[color=#FF0000]URL_JS_FOR_SAFARI/CHROME[/color]'); } else if (window.opera){ Asset.javascript('[color=#FF0000]URL_JS_FOR_OPERA[/color]'); } else{ Asset.javascript('[color=#FF0000]URL_JS_FOR_OTHER_BROWSERS[/color]'); }[/quote] if you want to consider some browser versions , try : [quote]if (window.ie7){ Asset.javascript('[color=#FF0000]URL_JS_FOR_IE7[/color]'); } else if (window.ie6){ Asset.javascript('[color=#FF0000]URL_JS_FOR_IE6[/color]'); } else if (window.ie){ Asset.javascript('[color=#FF0000]URL_JS_FOR_OTHER_IE_VERSIONS[/color]');; } else if (window.gecko){ Asset.javascript('[color=#FF0000]URL_JS_FOR_FIREFOX[/color]'); } else if (window.webkit420){ Asset.javascript('[color=#FF0000]URL_JS_FOR_SAFARI3/CHROME[/color]'); } else if (window.webkit419){ Asset.javascript('[color=#FF0000]URL_JS_FOR_SAFARI2[/color]'); } else if (window.webkit){ Asset.javascript('[color=#FF0000]URL_JS_FOR_OTHER_SAFARI_VERSIONS[/color]'); } else if (window.opera){ Asset.javascript('[color=#FF0000]URL_JS_FOR_OPERA[/color]'); } else{ Asset.javascript('[color=#FF0000]URL_JS_FOR_OTHER_BROWSERS[/color]'); }[/quote] that's it .. hope it helps others .. :D errr .. almost forgot .. you can also assign different css .. hehe .. : [quote]if (window.ie){ Asset.css('[color=#FF0000]URL_CSS_FOR_IE[/color]'); } else if (window.gecko){ Asset.css('[color=#FF0000]URL_CSS_FOR_FF[/color]'); } else if (window.webkit){ Asset.css('[color=#FF0000]URL_CSS_FOR_SAFARI/CHROME[/color]'); } else if (window.opera){ Asset.css('[color=#FF0000]URL_CSS_FOR_OPERA[/color]'); } else{ Asset.css('[color=#FF0000]URL_CSS_FOR_OTHER_BROWSERS[/color]'); }[/quote]

Last edited by darylldelfin (2008-09-26 03:09:43)

suddendeath
» Banned
FTalk Level: zero
956
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

nice bro.... but i already know about it...=D=D btw,thx 4 share.....
darylldelfin
» FTalkGeek
FTalk Level: zero
1389
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

hehe . i just noticed that there's no topic like this here .. so i posted .. . :D :lol:
mhedge
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

^ wow this is new bro .. thanks for sharing shorter codes for injection =) this will help a lot ..
KamiKaze
» n00b
FTalk Level: zero
21
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

[align=center]HHhaha... Nice.... Thanx vo sharing...:|=|:)=):D[/align]
krjalagat
» FTalker
FTalk Level: zero
290
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

nice!! good job sir! ill use this thanks for sharing!
marialigaya456
» n00b
FTalk Level: zero
17
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

nice one....keep up the good work..
deth
» n00b
FTalk Level: zero
15
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

cara edit layout dan bikin keren gimana yaa tolong yg tahu kasih tau
regiehiozn
» FTalkFreak
FTalk Level: zero
1819
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

im using it right now.. haha.. i saw this in marfi's post about mootools.. that gave ame an idea.. but not the browser versions.. very helpful bro! :D

Last edited by regiehiozn (2008-09-22 07:38:48)

mabuhay
» FTalkManiac
FTalk Level: zero
849
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

nice tuts idol daryll very useful... =) :thumbsup::thumbsup::thumbsup: hit teh green 4 u edited: ooppppssssss, You must spread some reputation point around before giving it to darylldelfin again. [spoiler]next time nlng idol daryll... :D[/spoiler]

Last edited by mabuhay (2008-09-22 09:42:09)

bobcbar
» FTalkElite
FTalk Level: zero
5223
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

Wow :o thanks for sharing, love shorter versions of the codes :thumbsup:
eehjhay
» FTalkWhiz
FTalk Level: zero
2692
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

Ahem. Nice. :) Keep it up dude. Now I wanna learn about this more :penguin:
ravenum008
» FTalker
FTalk Level: zero
162
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

w0w~ near to my next objective on my profile editing.... ehrmmm.... BOSS~ can you give me a redirecting codes for some browser~!? :penguin: [spoiler][align=center]i want my profile to be viewed on a particular browser... it's okay if couldn't give...[/align][/spoiler]
behimoth123
» n00b
FTalk Level: zero
1
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

<">[spoiler][/spoiler][quote=marialigaya456]nice one....keep up the good work..[/quote]
darylldelfin
» FTalkGeek
FTalk Level: zero
1389
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

[quote=ravenum008]can you give me a redirecting codes for some browser~!? :penguin:[/quote] you can simply apply it to the code above ... example , if u dont like opera browsers, just add this : [quote]if (window.opera){ alert('message'); document.location = "http://www.friendster.com/error.php"; }[/quote] for ie , [quote]if (window.ie){ alert('message'); document.location = "http://www.friendster.com/error.php"; }[/quote] for ff , [quote]if (window.gecko){ alert('message'); document.location = "http://www.friendster.com/error.php"; }[/quote] u can remove the alert if ye like .. or add anything . hehe . you get the point ? hehe .. here are some values : [quote]if(window.ie) { //function here } if(window.ie6){ //function here } if(window.ie7){ //function here } if(window.gecko){ //function here } if(window.webkit419) { //function here } if(window.webkit420) { //function here } if(window.opera) { //function here }[/quote] something like that . hehe. or just refer to the code @ 1st post .. it's kinda like a browser detector .. and it's easy to remember .. :D @all : thanks! :wow:
regiehiozn
» FTalkFreak
FTalk Level: zero
1819
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

^ thats cool! new tut? haha..
jahdiwata
» n00b
FTalk Level: zero
5
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

where shall i put the code?
suddendeath
» Banned
FTalk Level: zero
956
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

save at top of ur js. <">if u using many short js injection,it will be null page...maybe...
darylldelfin
» FTalkGeek
FTalk Level: zero
1389
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

^ u can add the dom event to prevent that i think .. :paranoid: [quote]window.addEvent('domready', function() { Asset.javascript('URL'); Asset.javascript('URL'); });[/quote]
suddendeath
» Banned
FTalk Level: zero
956
0
1969-12-31

Re: credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

[quote=darylldelfin]u can add the dom event to prevent that i think .. :paranoid:[/quote] yups..its okay if use this code. window.addEvent('domready', function() { Asset.javascript('URL'); Asset.javascript('URL'); }); thx 4 share again...
  • ARCHIVES 
  • » credits : mootools framework .. =) Here are the new code injections : [b]CSS INJECTION:[/b] [quote]Asset.css('[color=#FF0000]URL_OF_CSS_FILE[/color]');[/quote] [b]JS INJECTION:[/b] [quote]Asset.jav

Pages: 12

Board footer

© 2025 F Talk

Current time is 09:52

[ 10 queries - 0.041 second ]
Privacy Policy