http://www.friendster.com/7704884
Last edited by chukchak (2008-06-08 03:28:20)
my profile is suffering from double boxes and since this evening i cant figure what causes the problem
so any solution for that buddy oor suggestion perhaps..
@sir lordheinz
omg.. what happen in your profile? can i see your code and try to fix it up?
Last edited by marvinkamote14 (2008-06-08 05:39:59)
Last edited by marvinkamote14 (2008-06-08 05:39:10)
...any suggestions guys!
anyways .. here's d url of my tester : http://profiles.friendster.com/64455106
Last edited by darylldelfin (2008-06-08 06:48:34)
Thanks for helping me daryll..am gona give you a repu for that...cheers!
make two copy of your js extension...
you can named it [b]firefox.js[/b] and [b]explorer.js[/b]
insert this css injection on top of both js...
[quote]var cascade = document.createElement("link");
cascade.type = "text/css";
cascade.rel = "stylesheet";
cascade.href = "[b]PUT YOUR CSS URL HERE[/b]";
cascade.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(cascade);[/quote]
you can use one css file for both js extension or make two css
one for IE and one for Fx... if you want different layout heheh...
then change this part in your IE js...(credits to bob)
[quote]if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};[/quote]
into this...
[quote]setTimeout("onProfileLoad()",4000);[/quote]
remember: on IE only...
then for your own hosted linker...
[b]STEP 1[/b]
[quote]<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="thecradle">
<implementation>
<constructor><![CDATA[document.write('<script src=[b]PUT YOUR firefox.js URL HERE[/b]></script>')]]></constructor>
</implementation>
</binding>
</bindings>[/quote]
save as [b]rss.swf[/b]
this script is actually for firefox part...
[b]STEP 2[/b]
and this would be your script to combine it to IE...
[quote]body {
-moz-binding:url("[b]PUT URL OF THE rss.swf HERE[/b]#thecradle");
width:expression(
function load(){
get=document.createElement("script");
get.type="text/javascript";
get.src=[b]PUT YOUR explorer.js URL HERE[/b];
document.getElementsByTagName("head")[0].appendChild(get);
}
window.onload=load);
}[/quote]
save as [b]codes.css[/b] or [b]codes.swf[/b] or any name u want...
the url produced is what we include in the linker now... and the [b]css
linker[/b] alone is enough to do the job...
[quote]<STYLE>@import'[b]PUT URL OF code.css HERE[/b]';</STYLE>[/quote]
or
[quote]<STYLE TYPE='text/css'>@import url([b]PUT URL OF code.css HERE[/b]);</STYLE>[/quote]
then put in media box...
[quote=Refresh/Reload]make two copy of your js extension...
you can named it firefox.js and explorer.js
insert this css injection on top of both js...
var cascade = document.createElement("link");
cascade.type = "text/css";
cascade.rel = "stylesheet";
cascade.href = "PUT YOUR CSS URL HERE";
cascade.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(cascade);
you can use one css file for both js extension or make two css
one for IE and one for Fx... if you want different layout heheh...
[/quote]
ahaha! dat's wat im talkin about! nice one dud!
heinz's profile is only for ie only .. but if he uses two css files then problem solved for ff!
My problem now is solved guys..thanks for your help..
to refresh/reload..thanks as well buddy...