aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Functionality working in IE but not Firefox (Google Map API experience helpful!) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Functionality working in IE but not Firefox (Google Map API experience helpful!)" Watch "Functionality working in IE but not Firefox (Google Map API experience helpful!)" New topic
Author

Functionality working in IE but not Firefox (Google Map API experience helpful!)

Terri Layman
Greenhorn

Joined: Nov 03, 2008
Posts: 25
Hello,

I'm trying to get a map to display under the address for a business
listing when a "Map It" link is clicked (opening a hidden div), and I
currently have it working properly in IE. However, it is broken in
Firefox. I have images for the problem. First the working IE model:

http://farm4.static.flickr.com/3335/3488442547_b30cbfbc77.jpg

And then the broken Firefox model. I have turned on in this image
some block-level outlining tools, so you can see that despite it being
all twisted around, there does seem to be a container of sorts being
drawn with map controls and the Google logo inside it.

http://farm4.static.flickr.com/3299/3488442647_91aca111d7_o.jpg

Unfortunately, I cannot link to a "working site" due to limitations
here at my work. However, below is all my map-related javascript, the
"firing link" and the div tag.

Any suggestions on why this isn't working would be great.

As an FYI, the "googleKey" parameter is dynamically fed in on the
background through Java Struts.

Thanks,
-Terri


Javascript:


Body tag:



Firing link:



Table row with div tag:


Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
what happens if you change it to block instead of inline?

Eric
Terri Layman
Greenhorn

Joined: Nov 03, 2008
Posts: 25
Eric Pascarello wrote:what happens if you change it to block instead of inline?

Eric


It seems to be working. I could kiss you. I've been working on this for TWO days now!



Thanks so much!!!

-Terri
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Functionality working in IE but not Firefox (Google Map API experience helpful!)
 
Similar Threads
Display simple address on google maps
Ajax, Struts, and a few pesky event based issues
how to put a pin in a google maps location
Java script in The "Hello, World" of Google Maps
document.forms[0].submit(); throws Invalid Argument in IE