[Chameleon] Certain tools not functioning in IE (6.0)

Jason Fournier jfournier at dmsolutions.ca
Tue Aug 23 16:44:16 EDT 2005


Next thing to do is remove the following lines from HazardsLayerVis.js:

     var oLayer2 = CWCDHTML_GetLayer( 'MapTipsLayer' );
     oLayer2.left = 160 + layerWidth;

These lines are causing js errors (which are cascading) because we took 
out the layer (presumably MapTipsLayer hasn't been created yet).

I wish I could instruct you on using the Java Debugger but I'm not very 
proficient with it either.  I rely on the Javascript Console (simple 
error reporter) in firefox and Microsoft's Script Debugger for IE.  Even 
those they're not nearly as comprehensive they're much easier to use (at 
least for me).

Jay



Jennifer Zeisloft wrote:
> Jay,
> 
> Removing the MapTipsLayer div both made the key map appear in IE and 
> fixed the non-popup type buttons.  A step in the right direction - 
> thanks!  However, still none of the buttons that cause pop-up windows to 
> appear are doing so (in firefox or IE).  I've checked to make sure the 
> pop-up blockers weren't the issue (they aren't). 
> 
> Jacob Delfos mentioned that I should report errors from the java console 
> in firefox and from the php log.  Unfortunately, I'm not a whiz at this 
> kind of thing and can't get the java console to do anything (does it 
> generate errors automatically without any action from me? If so, there 
> are none.) and I spent a long while trying, first, to find a php log 
> and, second, to create a script that would generate one (which I found 
> in a post to the list).  I never got this to work.  I have checked the 
> server logs, but don't see anything helpful there.
> 
> Thanks again for your help - it is really appreciated!
> 
> Jennifer
> 
> On 8/23/05, *Jason Fournier* <jfournier at dmsolutions.ca 
> <mailto:jfournier at dmsolutions.ca>> wrote:
> 
>     Jennifer,
> 
>     Try removing the MapTipsLayer div in the template.  MapTips now
>     generates its own Layer when it parses.
> 
>     Does this either a) fix the application or b) generate new behaviour?
> 
>     Jay
> 
> 
> 
>     Jennifer Zeisloft wrote:
>      > Certainly - A good example of the problem is the Coastal Hazards
>      > application, which largely works in firefox (except for the pop-up
>      > widget buttons), but has much more trouble in IE.
>      > This can be found at
>      >
>     http://maps.aqua.wisc.edu/CoastalHazards/HazardsTemplate.phtml.  Thank
>      > you for your help!
>      >
>      > Jennifer Zeisloft
>      >
>      >
>      > On 8/23/05, *Jason Fournier* <jfournier at dmsolutions.ca
>     <mailto:jfournier at dmsolutions.ca>
>      > <mailto:jfournier at dmsolutions.ca
>     <mailto:jfournier at dmsolutions.ca>>> wrote:
>      >
>      >     Jennifer,
>      >
>      >     Would it be possible to see one of your application?  It
>     would help in
>      >     debugging the issue.
>      >
>      >     Thanks,
>      >     Jay
>      >
>      >
>      >
>      >     Jennifer Zeisloft wrote:
>      >      > Hi Jacob-
>      >      >
>      >      > None of the applications causing problems had IMAGEPATH or
>      >     IMAGEURL tags
>      >      > in the WEB object (only max and minscale).  I added these
>     tags,
>      >     tested
>      >      > the apps, deleted the final "/", tested, changed the
>     direction of the
>      >      > slashes, tested, etc.  No luck.
>      >      >
>      >      > And then I realized the error is a little more complicated
>     than I
>      >     had
>      >      > originally described.   While none of the buttons work in IE,
>      >     those with
>      >      > pop-ups associated with them have a hover state, but don't do
>      >     anything.
>      >      > The other buttons simply do nothing.  After further testing, I
>      >     realized
>      >      > that none of the buttons associated with pop-ups worked in
>     Mozilla
>      >      > either (but they do have a hover state, just as in
>     IE).  But the
>      >     rest of
>      >      > the buttons work in Mozilla.
>      >      >
>      >      > One last note: all of these buttons worked prior to the
>     upgrade
>      >     of ms4w
>      >      > and chameleon (from ms4w 1.0.3 and chameleon 2.0 to ms4w
>     1.2.1 and
>      >      > chameleon 2.2).  Could it be something with the way the new
>      >     installation
>      >      > handles these widgets?
>      >      >
>      >      > Again, thank you very much for your help!
>      >      >
>      >      > Jennifer Zeisloft
>      >      > UW Sea Grant
>      >      >
>      >      >
>      >      >
>      >      > On 8/22/05, *Jacob Delfos* < jacob.delfos at maunsell.com
>     <mailto:jacob.delfos at maunsell.com>
>      >     <mailto:jacob.delfos at maunsell.com
>     <mailto:jacob.delfos at maunsell.com>>
>      >      > <mailto: jacob.delfos at maunsell.com
>     <mailto:jacob.delfos at maunsell.com>
>      >     <mailto:jacob.delfos at maunsell.com
>     <mailto:jacob.delfos at maunsell.com>>>> wrote:
>      >      >
>      >      >     Hi Jennifer,
>      >      >
>      >      >     I have had the keymap disappear as well. I think the
>     cause may be
>      >      >     that Chameleon adds too many slashes to the web image
>     path.
>      >     Firefox
>      >      >     can deal with that, but IE sometimes doesn't. Try
>     removing the
>      >      >     trailing slash from your web image path. Check the URL
>     of the
>      >     keymap
>      >      >     in chameleon, and see if it is valid.
>      >      >
>      >      >     Maybe that will fix some of the other issues you
>     mentioned.
>      >     They all
>      >      >     appear to work for me, so it is probably something in the
>      >      >     configuration......
>      >      >
>      >      >     regards,
>      >      >
>      >      >     Jacob
>      >      >
>      >      >
>      >      >
>      >      >
>      >      >
>      >      >
>      >    
>     --------------------------------------------------------------------------------
>      >
>      >      >     From: chameleon-bounces at lists.maptools.org
>     <mailto:chameleon-bounces at lists.maptools.org>
>      >     <mailto:chameleon-bounces at lists.maptools.org
>     <mailto:chameleon-bounces at lists.maptools.org>>
>      >      >     <mailto: chameleon-bounces at lists.maptools.org
>     <mailto:chameleon-bounces at lists.maptools.org>
>      >     <mailto:chameleon-bounces at lists.maptools.org
>     <mailto:chameleon-bounces at lists.maptools.org>>>
>      >      >     [mailto:chameleon-bounces at lists.maptools.org
>     <mailto:chameleon-bounces at lists.maptools.org>
>      >     <mailto:chameleon-bounces at lists.maptools.org
>     <mailto:chameleon-bounces at lists.maptools.org>>
>      >      >     <mailto:chameleon-bounces at lists.maptools.org
>     <mailto:chameleon-bounces at lists.maptools.org>
>      >     <mailto:chameleon-bounces at lists.maptools.org
>     <mailto:chameleon-bounces at lists.maptools.org>>>] On Behalf Of Jennifer
>      >      >     Zeisloft
>      >      >     Sent: 23 August 2005 05:46
>      >      >     To: chameleon at lists.maptools.org
>     <mailto:chameleon at lists.maptools.org>
>      >     <mailto:chameleon at lists.maptools.org
>     <mailto:chameleon at lists.maptools.org>> <mailto:
>      >     chameleon at lists.maptools.org
>     <mailto:chameleon at lists.maptools.org> <mailto:
>     chameleon at lists.maptools.org <mailto:chameleon at lists.maptools.org>>>
>      >      >     Subject: [Chameleon] Certain tools not functioning in
>     IE (6.0)
>      >      >
>      >      >
>      >      >     Hello All-
>      >      >
>      >      >     We are running ms4w 1.2.1 and chameleon 2.2 and have a
>     number of
>      >      >     demo applications running.  All of the applications
>     (except
>      >     one) are
>      >      >     having trouble running in internet explorer (6.0), but
>     work
>      >     fine in
>      >      >     firefox.  Specifically, the key maps do not appear,
>     and the only
>      >      >     button-style tools (e.g. not "zoom factor" or "quick
>     zoom") that
>      >      >     work are
>      >      >     -zoom to bounding box or point
>      >      >     -legend
>      >      >     -mapsize
>      >      >     -maptips.
>      >      >
>      >      >     The remaining button-style tools do not work (in
>     addition to
>      >     the key
>      >      >     map not appearing):
>      >      >     -zoom in
>      >      >     -zoom out
>      >      >     -zoom to full extents
>      >      >     -recenter
>      >      >     -identify
>      >      >     -pan
>      >      >     -measure
>      >      >     -the pan arrows surrounding the main map
>      >      >     -the mini buttons below the key map box
>      >      >
>      >      >     I have read the list-serv entries for problems with IE and
>      >     checked
>      >      >     that form method=post, and any other things I could
>     think of.  I
>      >      >     also compared the templates for these applications to
>     the one
>      >     that
>      >      >     works and came up with nothing.  I would really appreciate
>      >     any ideas
>      >      >     or solutions.  Thanks in advance for your help.
>      >      >
>      >      >     Jennifer Zeisloft
>      >      >     UW Sea Grant
>      >      >
>      >      >
>      >      >
>      >      >
>      >      >     _______________________________________________
>      >      >     Chameleon mailing list
>      >      >     Chameleon at lists.maptools.org
>     <mailto:Chameleon at lists.maptools.org>
>      >     <mailto:Chameleon at lists.maptools.org
>     <mailto:Chameleon at lists.maptools.org>>
>      >     <mailto:Chameleon at lists.maptools.org
>     <mailto:Chameleon at lists.maptools.org>
>      >     <mailto:Chameleon at lists.maptools.org
>     <mailto:Chameleon at lists.maptools.org>>>
>      >      >     http://lists.maptools.org/mailman/listinfo/chameleon
>     <http://lists.maptools.org/mailman/listinfo/chameleon>
>      >      >
>      >      >
>      >      >
>      >      >
>      >      >
>      >    
>     ------------------------------------------------------------------------
>      >      >
>      >      > _______________________________________________
>      >      > Chameleon mailing list
>      >      > Chameleon at lists.maptools.org
>     <mailto:Chameleon at lists.maptools.org>
>     <mailto:Chameleon at lists.maptools.org
>     <mailto:Chameleon at lists.maptools.org>>
>      >      > http://lists.maptools.org/mailman/listinfo/chameleon
>      >     < http://lists.maptools.org/mailman/listinfo/chameleon>
>      >
>      >     --
>      >     ________________________
>      >     Jason Fournier
>      >
>      >     DM Solutions Group Inc.
>      >     jfournier at dmsolutions.ca <mailto:jfournier at dmsolutions.ca>
>     <mailto:jfournier at dmsolutions.ca <mailto:jfournier at dmsolutions.ca>>
>      >     www.dmsolutions.ca <http://www.dmsolutions.ca> <
>     http://www.dmsolutions.ca>
>      >     613.565.5056 x18
>      >     _______________________________________________
>      >     Chameleon mailing list
>      >     Chameleon at lists.maptools.org
>     <mailto:Chameleon at lists.maptools.org>
>     <mailto:Chameleon at lists.maptools.org
>     <mailto:Chameleon at lists.maptools.org>>
>      >     http://lists.maptools.org/mailman/listinfo/chameleon
>     <http://lists.maptools.org/mailman/listinfo/chameleon>
>      >
>      >
> 
>     --
>     ________________________
>     Jason Fournier
> 
>     DM Solutions Group Inc.
>     jfournier at dmsolutions.ca <mailto:jfournier at dmsolutions.ca>
>     www.dmsolutions.ca <http://www.dmsolutions.ca>
>     613.565.5056 x18
>     _______________________________________________
>     Chameleon mailing list
>     Chameleon at lists.maptools.org <mailto:Chameleon at lists.maptools.org>
>     http://lists.maptools.org/mailman/listinfo/chameleon
> 
> 

-- 
________________________
Jason Fournier

DM Solutions Group Inc.
jfournier at dmsolutions.ca
www.dmsolutions.ca
613.565.5056 x18


More information about the Chameleon mailing list