Bjorn,
Thanks for your help. I'm not a JScript (or ECMAScript) whiz so I 
learned much from your comments.

I did some tweaking and hope it works a little better now. Not 
totally correct (or efficient), just working

Again, many thanks!
Sara
--- In [email protected], Bjoern Hoehrmann 
<[EMAIL PROTECTED]> wrote:


> guess. Well, the most obvious errors are that many <a> elements do 
not
> have the required xlink:href attribute and multiple elements have 
the
> ids Arrow_Marker_End1 and Arrow_Marker_Start1, at most one element 
may
> have these ids.
> 
> >After the intro, the "next" and "previous" buttons don't work.  
It's 
> >my fault.  And I have a strange feeling that I deleted or moved a 
<g> 
> >element.  But I'm just at a loss due to looking at it for so long.
> 
> Clicking these should probably call the bwSwitchPages() function 
with
> bwSwitchPages("buttons", "next", false). The script does not work 
for
> a number of reasons, it does not really conform to the ECMAScript
> binding, it uses getChildNodes() which should be just childNodes and
> getNodeName() which should probably be nodeName. The function then
> looks up the <g id="buttons"> element and iterates over its 
children.
> This does not work as intended as the g has no children which have 
an
> id so the ... && child.id test fails for all of them (consequently
> none of the other parts of the script execute). It then seems that
> with these errors fixed it would look for an element with an id of
> "buttons1" which does not exist in the document. So there is 
probably
> no easy fix for this.
> -- 
> Bj�rn H�hrmann � mailto:[EMAIL PROTECTED] � http://bjoern.hoehrmann.de
> Weinh. Str. 22 � Telefon: +49(0)621/4309674 � 
http://www.bjoernsworld.de
> 68309 Mannheim � PGP Pub. KeyID: 0xA4357E78 � 
http://www.websitedev.de/





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

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