PHP problem with all browsers except IE

gesf

Active member
I really don´t know, but it must be some code/browser incompatibility!
Anyway, i think a good start is refering to the elements hierarchically!
You better do it... like:
Code:
// This:
window.document.ad.src

// Instead of:
ads.src
Who knows... maybe this is the problem!
Try it ;)
 
I really don´t know!
There are time, mainly when using frames, we have to use the window Object, but in this case we can omit it!

So use it starting with document property, like:
Code:
// This: 
document.ad.src 

// Instead of: 
ads.src
// or...
window.document.ad.src
Anyway, make sure you´re using that when refering to every Element!
 
I think... I dont know, you are trying to access the ads array before it is being populated...

please check if its happening.. try to put the function of changing images after populateing the array
 
Code:
<DIV align=center>
<A id=ADLINK href="#">
<IMG id=AD border=0 src="#">
</A>

try this first...
Code:
<DIV align=center>
<A id="ADLINK" href="#">
<IMG id="AD" border="0" src="#">
</A>

and in Mozilla... !
open the javascript console by typing "javascript:" in the URL
you'll get a much better understanding of the problem.
 
Back
Top