Fixed the probs in FF vs IE... needed an ID for the textbox, thanks
for
push to test in FF, can see things easier there.

Current site is here:

http://www.myislamap.com/maptt.htm

Replaced my event trigger with your corrected code... same error
though.

here it is...
htmlx = "<a href='#' onclick='GEvent.trigger(emxl.overlayman.markers
["+i+"],\'click\');return false;'>" + ntext + "</a><BR>";


Any suggestions.  I literally tried copying the same event trigger
code
from the geoxmlfull.js but cant figure this one out.  Last piece of my
puzzle here....

thanks in advance...

On Dec 2, 3:57 am, Andrew Leach <[email protected]> wrote:
> On Dec 1, 11:42 pm, tanos_8888888888 <[email protected]>
> wrote:
>
> > Was not testing in Firefox.  any chance you can fire it up in IE?
>
> > Apparently being a novice.  Half of what is written out there is
> > compatible in
> > only one browser or another.  I can get that worked out....
>
> > Any chance you can look at my localscript.js file from the site.
>
> > the line of code that assigns the element the event that is fired from
> > the marker
> > is:
> > htmlx = '<a href="#" 
> > onclick=\'GEvent.trigger(emxl.overlayman.markers['+i+'],\'click\');return 
> > false;\'>' + ntext + '</a><BR>';
>
> The first thing is to use different quotes! Use "..." outermost and
> '...' within that string.
>
>  htmlx = "<a href='#' onclick='GEvent.trigger(emxl.overlayman.markers
> ["+i+"],\'click\');return false;'>" + ntext + "</a><BR>";
>
> Note the \' escaped quotes within the onclick string. You have
> complicated matters by using single quotes around the whole string. If
> you do that, the \' itself needs to be escaped. That's too complicated
> to battle with when a simple answer is to use double-quotes to help.
>
> Andrew
>
> PS: IE doesn't make debugging easy. It's far better practice to
> develop in Firefox where Firebug is very useful, and then sort out the
> kludges needed to get IE to work -- in most cases code written
> correctly for Firefox will work in IE anyway.

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.


Reply via email to