Re: [svg-developers] Re: evt and setting new location after winXP SP2...

2004-09-24 Thread andré m. winter

hi jim,


will work! also changing server works. i hope that this is the only
issue and that there are no more stupid changes of this kind coming in
future (a kind of too idealistic i guess).
 
 There will be, that is why web applications have maintenance costs many 
 orders of magnitude larger than regular applications.

yes, but the most people i work for don't consider this.  will print out 
your lines and put it outside my door...


script type=text/javascript![CDATA[
var val=help/;
]]/script
a xlink:href=javascript:self.location='http://www.carto.net/'+val
the variable val is unknown, i think this is a namespace issue.
 
 You can change the xlink:href attribute to contain what you want if you want 
 this to work - it's not surprising it doesn't work (the variable scope of 
 the javascript psuedo-protocol isn't the SVG document)

i may change the xlink:href attribute by DOM manip after doc load. but 
this is what

onlick=location='location?blah='+jsval

thankfully avoids. i my case jsval is set onload of the doc (mainly 
language is set that way on multiple links inside a document). as it is 
global available in event handlers, no domtree re-traversing is needed 
(the onclick thing works because no user can click before the doc is 
loaded and if it occurs, the passed parameters all have a fallback).

or is there a way of getting any svg doc variables into the javascript 
psuedo-protocol of the xlink:href call without a gEBI/getAttribute on it?

andré



 Yahoo! Groups Sponsor ~-- 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~- 

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





[svg-developers] Re: evt and setting new location after winXP SP2...

2004-09-23 Thread Jim Ley


andré m. winter [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 will work! also changing server works. i hope that this is the only
 issue and that there are no more stupid changes of this kind coming in
 future (a kind of too idealistic i guess).

There will be, that is why web applications have maintenance costs many 
orders of magnitude larger than regular applications.

 script type=text/javascript![CDATA[
 var val=help/;
 ]]/script
 a xlink:href=javascript:self.location='http://www.carto.net/'+val

 the variable val is unknown, i think this is a namespace issue.

You can change the xlink:href attribute to contain what you want if you want 
this to work - it's not surprising it doesn't work (the variable scope of 
the javascript psuedo-protocol isn't the SVG document)

Jim. 





 Yahoo! Groups Sponsor ~-- 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~- 

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