Hi André,

Interestingly, it does seem to work now.  I was missing an id tag on 
my parent svg element and that appears to have fixed it.  I don't 
know the code well enough to understand the advice on 
currentTranslate/currentScale but I will look at it.  As of now, 
however, it scales the tool tip text fine at various zoom scales.

Right now I notice two things:

a) In IE7/ASV3 if I refresh the page it leads to javascript errors
and 

b) In FF2.0 the tool tip background appears whether I am mousing over 
an element or not.  It doesn't do this in IE7/ASV3 - however, your 
tooltip demo on carto.net works fine for me in FF2.0 so I assume it 
is something I am not doing right in my code.

Simon

--- In [email protected], "Andre M. Winter - Carto.net" 
<[EMAIL PROTECTED]> wrote:
>
> hi simon,
> 
> the problem here is that andreas' navigationTools use the viewBox 
for 
> all zoom and pan techniques whereas the tooltip-function such as in 
here
> 
>     
> http://svg.carto.net/srv/sourceAndFileViewer.php?
filecode=98802&show=file
> 
> takes advantage of currentTranslate/currentScale parameters. these 
two 
> methods are more or less incompatible.
> within a viewBox-based approach you need to scale and place the 
tooltip 
> rect according to zoom an an pan shifts. this brings you back to 
> calculating theoretic currentTranslate/currentScale values and you 
get 
> sitting between two seats. anyhow it is possible as seen here
>    
>     http://tirolatlas.uibk.ac.at/maps/interface/thema.py/menu?
lang=de;id=163
> 
> andré
> 
> -- 
> ___________________________________________________________________
> andre m. winter,
>   cartography for internet and multimedia applications
>   schiessstand 4/1, a6091 goetzens, tyrol, austria
>   tel.: ++43.5234.32732
>   email: [EMAIL PROTECTED]
> 
>         new svg book with actual scripting samples out now!
>              check    http://svg.carto.net/
> 
> 
> 
> simonshutter wrote:
> >
> > Andreas/André et al.,
> >
> > Is it possible to combine the navigationTools and ToolTip 
functionality
> > in one file? I have successfully implemented both separately but 
am
> > unable to get tool tips to pop up when I combine them.
> >
> > Thanks, Simon
> >
> >
>




-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to