The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Problem with google map in article
I am making a contact page for my site and trying to add a google map to the article but it only shows a thin strip of the map.
See here http://www.mtlcustomcomputers.com/co...ontact-us.html I am using the CODE tags anything else and it comes up blank also HTML is allowed for that article. I could get it to work using a static html page but would rather be able to put it in a article as it is a bit more convenient. How can i fix it so it shows the whole map? Thanks Insomnia |
#2
|
|||
|
|||
Hmm...maybe add to the iframe tag style="min-height:480px;"
|
#3
|
|||
|
|||
I break it whenever I add that. Where should I put it here is the code I am using
<iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=& ;q=128+a+smith+lasalle+qc& aq=&sll=37.0625,-95.677068&sspn=50.823846,105.556641&vpsrc= 0&ie=UTF8&hq=&hnea r=128+Rue+Smith,+LaSalle,+Québec+H8R+3H9,+Canada& amp;t=m&ll=45.43478,-73.643589&spn=0.02891,0.054932&z=14&iw loc=A&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&a mp;q=128+a+smith+lasalle+qc&am p;aq=&sll=37.0625,-95.677068&sspn=50.823846,105.556641&vpsrc= 0&ie=UTF8&hq=&hnea r=128+Rue+Smith,+LaSalle,+Québec+H8R+3H9,+Canada& amp;t=m&ll=45.43478,-73.643589&spn=0.02891,0.054932&z=14&iw loc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small> |
#4
|
|||
|
|||
Well, that was a guess - it could be that an iframe can't have a style. Anyway, I made a bbcode with the code you posted and it worked in a post (but I know that doesn't help you). Sorry - maybe someone else will know.
|
#5
|
|||
|
|||
What was the bbcode to make it work in a post? As far as I have seen anything that works in a forum post will work in a article.
|
#6
|
|||
|
|||
I just made a 'map' bbcode and put your code, unchanged, in the replacement text area. I had to click the "No" for "Remove if Empty", but other than that i used the default settings. Then in my post I put [map][/map].
But I also went back and tried the style thing, and that also worked - so you *can* have a style in an iframe tag, and setting the min-height seems to work. So to answer your previous question, it would go something like this: Code:
<iframe style="min-height:480px;" width="640" height="480" ....etc. Edit: Unfortunately, I see that it didn't work...maybe try taking it out of the CODE tag? |
Благодарность от: | ||
L2Insomnia |
#7
|
|||
|
|||
Yep needed to take it out of the CODE tags. Thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|