close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Google map code throwing off other code in my page

Thread began 1/28/2010 12:12 pm by sandy170299 | Last modified 2/04/2010 6:59 pm by Jimmy Wu | 1081 views | 7 replies |

sandy170299

Google map code throwing off other code in my page

The Google map is throwing off the other code in my page and is messing up my listing/results table formatting. I know that it's the Google code that is doing it, because when I remove the javascript and the map, the results table is formatted just fine. When I add the Google map code back into the page, it throws off my table formatting again. What could be causing this?

hunting.php?state=WI

Sign in to reply to this post

Jimmy Wu

Can you copy the page and remove the map and host that page as well, so I can see the difference?

Sign in to reply to this post

sandy170299

Jimmy, here is the page with ALL the map-related code removed.

hunting2.php?state=WI

As you can see, the table aligns correctly now.

Sign in to reply to this post

Jimmy Wu

I can see that. How is the table generated? Is it a dynamically created table?

Sign in to reply to this post

sandy170299

Yes, it is dynamically generated. It's using the same query that the map uses. The reason I'm doing this is because at the zommed out distance of the map, locations that are close to each other appear to be on top of each other, and you can't tell them apart.

Sign in to reply to this post

Jimmy Wu

What does your table generation code look like?

Sign in to reply to this post

sandy170299

Here is the entire page as a text document.

Attached Files
hunting.txt
Sign in to reply to this post

Jimmy Wu

Looks like the order of the addresses is also getting affected by the map. You could also try putting the table for the addresses in a separate div to see if the alignment is caused by being in the same div as the map.

As a test you can try putting the table code above the map as well so that it will get called first to see if that affects the outcome.

I don't see anything that should cause the alignment problems though.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...