correct me if i'm wrong...

I Think....
If we host our own linker we actually don't need the code below...
[quote]function fxLoader(){
a=document.getElementById("cradle").href
b=document.createElement("script")
b.type="text/javascript"
b.src=a
document.getElementsByTagName("head")[0].appendChild(b)
}
fxLoader()[/quote]
and some of the scripts below...
[quote]body {
-moz-binding:url("URL OF UR RSS.SWF#thecradle");
width:expression(
function load(){
get=document.createElement("script");
get.type="text/javascript";
get.src=cradle.href;
document.getElementById("navBg").appendChild(get);
cradle.href="#";
}
window.onload=load);
}[/quote]
or those scripts to call the id and url...
those are only included in the original linker simply just because
you don't have the supporting codes coz you're not hosting your
own linker....
but if you do make your own linker... which is recommended to
avoid bandwidth problem or traffic from the source... you can
just put all the url's needed directly and combine them so that
we don't have to use this part anymore...
[quote]<a href='JS URL HERE' id='cradle'></a>[/quote]
to call the id or script(it's actually for the IE part)...
and all we have to use is this part...
[quote]<style type='text/css'>@impo\rt url(URL OF UR LINKER.CSS);</style>[/quote]
In this way... our linker is more direct on calling those url's or scripts...
so that is why it only comes out to this...
[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 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 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]
then put in media box...
anyways... Thanx for sharing... the important thing always
is if whatever works will be good for all of us...
Last edited by Refresh/Reload (2008-06-06 00:08:13)