I have now found out why the page keeps restarting. It's the dummy 
<a> tags - D'oh!

Including an <a> tag with a dummy href as below means that the mouse 
pointer behaves in the normal hyperlink way (in both ASV and FF), 
otherwise it serves no purpose. Trouble is Safari interprets it as a 
request to reload the page!

<g id="colourOuter">
  <text x="4" y="196" font-family="Arial" font-
size="14px">Colour</text>
  <a xlink:href="">
    <rect onmouseover="scaleLegend(evt,1.1)" onmouseout="scaleLegend
(evt,1)" stroke="black" fill="rgb(196,142,221)" onclick="changeColour
('Purple',true)" height="17" width="17" transform="translate
(53,181)" id="purpleRect" stroke-width="1.6"/>
    <rect onmouseover="scaleLegend(evt,1.1)" onmouseout="scaleLegend
(evt,1)" stroke="none" fill="#25FF28" onclick="changeColour
('Green',true)" height="17" width="17" transform="translate(79,181)" 
id="greenRect" stroke-width="1.6"/>
    <rect onmouseover="scaleLegend(evt,1.1)" onmouseout="scaleLegend
(evt,1)" stroke="none" fill="#FF1B1B" onclick="changeColour
('Red',true)" height="17" width="17" transform="translate(105,181)" 
id="redRect" stroke-width="1.6"/>
    <rect onmouseover="scaleLegend(evt,1.1)" onmouseout="scaleLegend
(evt,1)" stroke="none" fill="#ABABAB" onclick="changeColour
('Grey',true)" height="17" width="17" transform="translate(131,181)" 
id="greyRect" stroke-width="1.6"/>
  </a>
</g>

No joy with the mouseovers yet.



-----
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