Okay, this is driving me nuts. I'm working on a site and it looks fine under Winodws, but on a Mac the image doesn't show up. So if i fix it to work on aMac, it in turn refuses to work on a PC.
Now I could write a detection script, but would rather not just for this, so hopefully someone here cna either point out my error and guided me in the right direction.
Question
The_Rain_King
Okay, this is driving me nuts. I'm working on a site and it looks fine under Winodws, but on a Mac the image doesn't show up. So if i fix it to work on aMac, it in turn refuses to work on a PC.
Now I could write a detection script, but would rather not just for this, so hopefully someone here cna either point out my error and guided me in the right direction.
Works in Windows:
<body onLoad="window.top.divider.src='../images/borders/bordermusic.jpg';">
Works on Mac:
<body
onLoad="window.top.divider.src='./images/borders/bordermusic.jpg';">
The period at the beginning is the only difference.
Ideas, suggestions, fixes?
Thanks
Link to comment
Share on other sites
3 answers to this question
Recommended Posts