×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Map not loading in IE

Map not loading in IE 13 years 6 months ago #11960

  • John
  • John's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hello, I have integrated Hotspots into my joomla site successfully and can use it just fine in FF. However when I view the map in IE, only the message box displays. Its as if the map isn't being loaded at all. There are no errors shown in FF/firebug.. but in IE I get no errors until I click on a category, which then gives me this:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; MS-RTC LM 8; .NET CLR 3.0.30729; .NET4.0C)
Timestamp: Wed, 27 Apr 2011 16:34:30 UTC

Message: 'hotspots_routenplaner' is undefined
Line: 210
Char: 2
Code: 0
URI: /media/com_hotspots/js/hotspots.js

Map not loading in IE 13 years 6 months ago #11961

  • John
  • John's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I resolved my issue and in case others are interested I will explain...

So to start off with, there are quite a few similar issues discussed on the forum. Daniel has suggested in other threads that it is a script conflict. In my case, the map worked in everything but IE. However, I am using both mootools and jQuery.

The resolution to my problem was simple, implement the jQuery no conflict method so you can use multiple libraries on a website. The scripts that were causing the problem were Nivo slider and Colorbox. Simply add the following to the top of their .js file and/or any other jQuery script you are using and you are good to go.

$.noConflict();

Map not loading in IE 13 years 6 months ago #11962

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
John, I would advise you to stick to one js library. Using several ads unnecessary load to your page and slows down the page rendering... I mean - ok if your site gets 100 visits per day it should be ok, but if you ever want to get serious with it you should just stick to one library... and mootools is the way!
  • Page:
  • 1
Time to create page: 0.101 seconds