Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-02-25 19:32:35
- wspence
- Member
- Registered: 2006-09-03
- Posts: 84
This has nothing to do with TXP
but thickbox and google maps really…
I have a google map in a seperate html file…directions.html which goes as follows…
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Lab Directions</title>
</head>
<body>
<iframe width="450" height="450" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&hl=en&geocode=&q=31111+Northside+Ave+Richmond,+VA+23228&sll=37.605409,-77.492666&sspn=0.008381,0.018411&ie=UTF8&s=AARTsJqP1d9Myc-REKcfLKJ7hjh9GIcntA&ll=37.613552,-77.488461&spn=0.030596,0.038624&z=14&iwloc=cent&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=31111+Northside+Ave+Richmond,+VA+23228&sll=37.605409,-77.492666&sspn=0.008381,0.018411&ie=UTF8&ll=37.613552,-77.488461&spn=0.030596,0.038624&z=14&iwloc=cent&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
</body>
</html>
Obviously, I have a the google map in an embedded iframe. The problem is the google map is not centering in the thickbox.
To see what I’m talking about just go to home.rivercitysleep.com and look at the directions link at the top of the page. If anyone has any suggestions on how to maybe delay the rendering of the iframe until its loaded in the thickbox that would be great. Or maybe I’m just confused on how to go through this. Thanks in advance!
(Edit: put code into code tags. -Mary)
Last edited by Mary (2008-02-27 10:24:10)
Offline
#2 2008-02-27 08:41:07
- wspence
- Member
- Registered: 2006-09-03
- Posts: 84
Re: This has nothing to do with TXP
Any takers? By the way, this does not happen in IE, but Firefox only strangely enough.
Last edited by wspence (2008-02-27 09:36:24)
Offline
Pages: 1