![]() |
Hmmm.
On Google Maps, you choose LINK and then copy Paste HTML to embed in website This is code for Zagreb on Google maps: Code:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/?ie=UTF8&ll=45.786679,15.930176&spn=0.387841,0.839081&t=h&z=10&output=embed"></iframe><br /><small><a href="http://maps.google.com/?ie=UTF8&ll=45.786679,15.930176&spn=0.387841,0.839081&t=h&z=10&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small> If this code I use on my forum with [ gmap ] [ /gmap ] all is OK |
I found the IE issue is related to this
{ document.write('<iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="'+u+'"></iframe>');} with this you can see the map but it messes with the php { document.write('<iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="'+u+'"</iframe>');} So it is a formatting in the above line in BOLD that is causing the IE issues. Not yet worked out what is the actual issue. |
Thanks a lot!!!!
|
Some more information
Internet Explored adds [URL] tags to the Google code and this causes the map not to show. You see "Wrong map URL, edit the post to change it. Reload the page when finished to check if correct." You need to edit the [URL] tags out. Firefox and Chrome do not add these tags when posting the Google code. |
And more..................
If you can see WHITE where the map should be in IE, then Refreshing the page with the <REFRESH> button will not cause the map to show. HOWEVER right clicking on where the map should be and selecting REFRESH will cause the map to show. I noticed that IE will show the map only the first time the page with the map is accessed. After that it will not load the map the next time the page is loaded ( unless you use the above mentioned refresh ). |
I wonder is someone with code experience could modify the script to detect if IE is the
browser and if so detected, refresh the frame twice and also remove any URL /URL tags from betten the GAMP /GMAP tags. |
Quote:
IE it did not work. |
thanks for great Mod..
It been working fine for a few weeks and today we have hit a glitch, I think its always been there but only showed up today until now all [gmap] code has been in threads started by one of 2 Admins, members have replied with maps and they have showed up with no problems. Today a supermod posted a map in his own thread and it errored and didnt show up, Even if an Admin post a [gmap] in that thread it wouldnt show up. Cut and paste the same code into a Admin started thread, it works fine doing the research on my forum, Admins have HTML turned on, no one else does, I dont want to turn it on if I can help it. will turning HTML on for everyone but turn HTML code of be safe? I will do some more testing, but I wont be near a puter for the next 24hr any thoughts or ideas? ta Marty |
Quote:
my forum and I do not have HTML turned on and my users can post maps. You should post up the error message. |
there is no error message, just nothing..blank
|
All times are GMT. The time now is 06:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|