This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Powered by Wowhead tooltips breaks my site for IE users
Post Reply
Return to board index
Post by
wkrick
I'm running a warcraft fan site using the Joomla content management system.
For reasons I cannot determine, when I add the following line to the head section of my site template to enable wowhead tooltips...
<script src="
http://www.wowhead.com/widgets/power.js"></script>
The site becomes unreachable for IE users. Firefox is always fine with or without the include.
The site is
http://www.tankadin.com
and you can view the source to see the line which is currently commented out.
My suspicion is that there's a perceived security problem since my page decares...
<base href="
http://www.tankadin.com/"
/>
...a few lines before the wowhead script (referencing wowhead.com) is included.
Unfortunately, the order of these includes is more of less defined by Joomla, so there's not that much I can do about it.
Any ideas on what I might do to fix this?
Post by
2698
This post was from a user who has deleted their account.
Post by
wkrick
Internet Explorer refuses to load the site at all.
After doing a little experimenting, it appears that the wowhead script is sensitive to placement with respect to this line....
<base href="
http://www.tankadin.com/"
/>
If I insert the wowhead script before that line, it seems to work. Put the script after that line, nothing loads at all.
I'm beginning to think that IE is treating the wowhead script as a security violation because it references URLs outside the base site URL.
Post by
91244
This post was from a user who has deleted their account.
Post by
wkrick
By the way, nice site. That layout's totally sexy. You should get the forum to match a little more, rounded corners and all.
Thank you. :)
I spent a lot of time trying to get the color scheme on the forum matching and I think I was successful there. I briefly tried to hack some of the main site template (rounded corners, etc) into the forum template but the results were less than appealing, probably due to my less than stellar CSS skills. My big concern is getting search engine friendly URLs in the forums at the moment. Once I get that working, I'll try to re-visit the forum template.
Post by
wkrick
I've finally solved this problem. As suspected, it's an obscure IE6 bug that can be worked around by modifying one of the Joomla core files. More info here...
http://blog.dotsmart.net/2008/04/21/ie-6-bug-causes-jquery-globaleval-error/
Post by
tecnobrat
IE is horrible for actually following most standards.
Infact, they decided to add their "own standard". They decided to allow <base> to be a container element, which would allow you to do things like:
<base href="/photos">
<div id="photoalbum">
<ul>
<li><a href="photo1.png"><img src="thumbnails/photo1.png"></a></li>
<li><a href="photo2.png"><img src="thumbnails/photo2.png"></a></li>
<li><a href="photo3.png"><img src="thumbnails/photo3.png"></a></li>
</ul>
</div>
</base>
<base href="/videos">
<div id="videoalbum">
<ul>
<li><a href="video1.mpg"><img src="thumbnails/video1.png"></a></li>
<li><a href="video2.mpg"><img src="thumbnails/video2.png"></a></li>
<li><a href="video3.mpg"><img src="thumbnails/video3.png"></a></li>
</ul>
</div>
</base>
Who would use that anyways? Who knows.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.