matchoo
05-18-2007, 09:12 PM
Howdy...
This code works on FF but not on IE.
I am using it against MULTIPLE Div's, I wonder if IE can't handle that - is there another way of doing this instead of declaring New updaters each time? Seems like it might be smart to just use one connection? Possible?
Here is the code...
<script src="lib/prototype.js" type="text/javascript"></script>
<script type="text/javascript">
new Ajax.Updater('video1','videodetails.php?video=D6frFp-VwHs',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user1','userdetails.php?user=yetube',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video2','videodetails.php?video=nlWOu9FHm-I',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user2','userdetails.php?user=truefaithisle',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video3','videodetails.php?video=0Lg4i2C6zws',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user3','userdetails.php?user=TNAwrestling',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video4','videodetails.php?video=UJpgxqYGws4',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user4','userdetails.php?user=jrc0803',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video5','videodetails.php?video=BAPwg5nCKxE',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user5','userdetails.php?user=milanoss',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video6','videodetails.php?video=vVJ06ixj19Q',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user6','userdetails.php?user=PimpimusPrime',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video7','videodetails.php?video=UbhEunreGwQ',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user7','userdetails.php?user=milanoss',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video8','videodetails.php?video=Sy4Eugc0Xls',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user8','userdetails.php?user=karlspackler',{asynchronous:true, evalScripts:true});
//etc..
</script>
etc...
about 200 Div's
The top 3 don't render for me. Plus it seems to render it the opposite order in IE vs FF - weird?
You can see the results by looking here with both browsers:
http://youtubedata.com
:)
This code works on FF but not on IE.
I am using it against MULTIPLE Div's, I wonder if IE can't handle that - is there another way of doing this instead of declaring New updaters each time? Seems like it might be smart to just use one connection? Possible?
Here is the code...
<script src="lib/prototype.js" type="text/javascript"></script>
<script type="text/javascript">
new Ajax.Updater('video1','videodetails.php?video=D6frFp-VwHs',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user1','userdetails.php?user=yetube',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video2','videodetails.php?video=nlWOu9FHm-I',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user2','userdetails.php?user=truefaithisle',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video3','videodetails.php?video=0Lg4i2C6zws',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user3','userdetails.php?user=TNAwrestling',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video4','videodetails.php?video=UJpgxqYGws4',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user4','userdetails.php?user=jrc0803',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video5','videodetails.php?video=BAPwg5nCKxE',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user5','userdetails.php?user=milanoss',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video6','videodetails.php?video=vVJ06ixj19Q',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user6','userdetails.php?user=PimpimusPrime',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video7','videodetails.php?video=UbhEunreGwQ',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user7','userdetails.php?user=milanoss',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video8','videodetails.php?video=Sy4Eugc0Xls',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user8','userdetails.php?user=karlspackler',{asynchronous:true, evalScripts:true});
//etc..
</script>
etc...
about 200 Div's
The top 3 don't render for me. Plus it seems to render it the opposite order in IE vs FF - weird?
You can see the results by looking here with both browsers:
http://youtubedata.com
:)