[Chameleon] Can't make the rubberband work -- Help!

Mike Leahy mgleahy at alumni.uwaterloo.ca
Wed Oct 19 18:04:09 EDT 2005


Hello list,

Has this question been resolved at all?  I too have the same problem 
now, and downloading the CVS didn't help me either.  I notice that the 
chameleon.pkg.html that I got from the CVS still claims to be version 
2.0, rather than 2.2...perhaps there's a new branch?  Any suggestions?

Mike

Liz Godwin wrote:

> I have download the cvs and updated most js files (not cwc_roi.js), I 
> also updated MapDHTML.js - I still have no rubberband box in Firefox. 
>
> Would you happen to know which files were part of this fix?  I'm not 
> updating the entire chameleon installation to cvs, but rather picking 
> my changes.  I notice that there's been a major MLT change since 2.2, 
> and I'm not ready to make that switch.
>
> Liz
>
> On 10/3/05, *Paul Spencer* <pspencer at dmsolutions.ca 
> <mailto:pspencer at dmsolutions.ca>> wrote:
>
>     Liz, the issue is that the correct doctype forces the browser to
>     require css and style declarations that specify size/location with
>     "px".  This was fixed in the various js files and widgets in cvs,
>     but I never updated the sample apps to have a valid doctype.
>
>     Cheers
>
>     Paul
>     -----Original Message-----
>     From: Liz Godwin <godwin.liz at gmail.com <mailto:godwin.liz at gmail.com>>
>     Date: Mon, 3 Oct 2005 11:35:25
>     To:chameleon at lists.maptools.org
>     <mailto:To:chameleon at lists.maptools.org>
>     Subject: Re: [Chameleon] Can't make the rubberband work -- Help!
>
>     I'm reposting on this issue to see if anything has been resolved
>     in Chameleon core:
>
>     It is my opservation that having a CORRECT DOCTYPE declaration as
>     set by W3C in one's template, throws off the rubberband boxes, and
>     measure tool etc.  This is a bug.  I will file it when I'm done here.
>
>     We're using Chameleon version 2.2.
>
>     To me this is an important bug to fix as I am attempting to write
>     template that work in IE and Firefox, and right now, my templates
>     look awful without a proper DOCTYPE and great with one.  BUT no
>     rubber band box.
>
>     Any idea on how to fix?
>
>     Liz
>
>
>
>     On 7/14/05, Liz Godwin <godwin.liz at gmail.com
>     <mailto:godwin.liz at gmail.com>> wrote: This issue was a while ago
>     but I thought I would post anyway.
>
>     I recently noticed this with version 2.0, that my rubberband box
>     disappeared when the DOCTYPE was set to strict.  I was using Firefox.
>
>     DOCTYPES can be tricky, and they often throw off one's CSS and
>     Javascript.  Or Chameleon Samples ;-)
>
>     Liz
>
>
>
>     On 6/27/05, Paul Spencer < pspencer at dmsolutions.ca
>     <mailto:pspencer at dmsolutions.ca>> wrote: There was a bug in the
>     ruler code, turns out that in some browsers,
>     having a 0-sized div essentially clips the content.  It was fixed by
>     changing the code that initializes the images to be inside divs
>     that had
>     sufficient size.
>
>     Not sure why the rubberband would not show up, this is the first
>     report
>     of a problem and the code has been stable for about 4 years for that
>     particular piece of functionality.
>
>     I suspect a browser issue.  Can you problem details on platform,
>     browser, and versions of software in use.  Also a live url would be
>     useful (you can send it off list if necessary).  Also, a widget
>     tag may
>     be useful too (in this case, the ZoomIn and MapDHTML widget tags)
>
>     Cheers
>
>     Paul
>
>     Vic Kelson wrote:
>     > Hi all,
>     >
>     > I'm a newbie with Chameleon, and I've got a great-looking site
>     almost
>     > finished, with one problem. The rubberband doesn't show up on
>     the screen
>     > (neither does the ruler), but their functions work perfectly.
>     That is,
>     > if I click the zoom in and then drag on the map, it zooms
>     properly. If
>     > I turn on the ruler and click and move, the distance updates
>     properly in
>     > the text box on the form. But, the rubberband line and the ruler
>     lie are
>     > invisible.
>     >
>     > What have I done wrong? Do I have a layer out of order? Is there a
>     > component I'm missing?
>     >
>     > Help! ...and THANKS!
>     > --v
>     >
>     >_______________________________________________
>     > Chameleon mailing list
>     > Chameleon at lists.maptools.org <mailto:Chameleon at lists.maptools.org>
>     > http://lists.maptools.org/mailman/listinfo/chameleon
>     >
>
>     --
>     +-----------------------------------------------------------------+
>     |Paul Spencer                          pspencer at dmsolutions.ca
>     <mailto:pspencer at dmsolutions.ca>   |
>     +-----------------------------------------------------------------+
>     |Applications & Software Development                              |
>     |DM Solutions Group Inc                http://www.dmsolutions.ca/|
>     <http://www.dmsolutions.ca/%7C>
>     +-----------------------------------------------------------------+
>     _______________________________________________
>     Chameleon mailing list
>     Chameleon at lists.maptools.org <mailto:Chameleon at lists.maptools.org>
>     http://lists.maptools.org/mailman/listinfo/chameleon
>
>
>     _______________________________________________
>     Chameleon mailing list
>     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>
>
>
>     Sent on the TELUS Mobility network with BlackBerry
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Chameleon mailing list
>Chameleon at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/chameleon
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20051019/6bb03e83/attachment.html


More information about the Chameleon mailing list