[svg-developers] XML Document to SVG using XSLT

2011-12-08 Thread Sean
I am trying to transform an XML document in SVG using XSLT. I found a
helpful XSL stylesheet written by Wendell Piez a decade ago at
http://www.dpawson.co.uk/xsl/sect4/N10301.html#d14475e189
<http://www.dpawson.co.uk/xsl/sect4/N10301.html#d14475e189> . His XSL
transforms an XSL document into an SVG tree structure. I've used his
stylesheet as a base, but I am struggling trying to figure of how to
calculate the Y axis on each closing tag. I'm hoping that someone might
have some ideas. Am I going about this in the right way?

In reading about similar issues, there is an inherent problem in trying
to determine line count in XML because information can take the form of
an attribute or as the value of an element, thereby altering the line
count (y axis on . Assuming all XML takes the form of the
following example (house-1.xml), how can I avoid the train wreck in the
resulting SVG when I try to replicate a nested XML document?

In xml2svg-1.xsl, I've added "" to
mark where it all goes very wrong for me.  Also, I've added resulting
SVG (xml2svg-1.svg) for reference.

Thank you in advance!

Sean

**
house-1.xml
**


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 arts and crafts
 
 
 


***
xml2svg-1.xsl
***

http://www.w3.org/1999/XSL/Transform";
 xmlns="http://www.w3.org/2000/svg";
 xmlns:xlink="http://www.w3.org/1999/xlink";>
   
  

   
   

   
   

   
   

   
   

   
   

   
   
   

   

   
 
 
   

   
 
 
   

  

  

   
 
 
 
 
 
 

 
   

  

   
 
 
 
   
   
 
 
 
   
   
 
   
 <
   
   
 
 
   
  
 
 =
 "
 
 "
   
 
   
 >
 

 
 
 
 
 
 
 
   
 


 
   
 
 
   
   </
   
   >
 

 
 
 
   

   
   
 
 
   
 
   
 
 
   
 
   
 
 
 
   
 
   
 
 
   
 
   
 
 
 
   
   
 
 
 
   


*
xml2svg-1.svg
*


http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink";>



<house>

</house>

<bedrooms>

</bedrooms>

<bedroom
type="master">

</bedroom>

<bathroom>

</bathroom>

<bath
type="full">

</bath>

<toilet
clean="false">

</toilet>

<bedroom
type="guest">

</bedroom>

<bathroom>

</bathroom>

<sink
type="porcelain">

</sink>

<bath
type="half">

</bath>

<toilet
clean="true">

</toilet>

<livingroom>

</livingroom>

<tv type="cable"
dim="16x9">

</tv>

<furniture>

</furniture>

<couch
comfortable="no">

</couch>

<chair
comfortable="yes">

</chair>

<style>

</style>











[Non-text portions of this message have been removed]





-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

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



Re: [svg-developers] Re: svg on android?

2011-08-31 Thread Sean Montague
I thought Opera exported the SVG as png?

Sean

On 08/30/2011 02:10 PM, Jerrold Maddox wrote:
> Yes, Opera Mobile does - just opened this in it and it works well.
> http://www.personal.psu.edu/jxm22/svgopen07presentation/
>
> Jerry
>
>
> On Aug 30, 2011, at 11:39 AM, Holger Jeromin wrote:
>
>> David Dailey schrieb am 30.08.2011 17:13:
>>> Any idea when the android browser will turn on SVG? It would almost be a
>>> useful device if it could scale graphical content properly.
>> This is the bugreport:
>> http://code.google.com/p/android/issues/detail?id=1376
>>
>>> For those folks who do own Androids, what advice would you give them for
>>> viewing SVG, short of buying an i-phone?
>>> Opera mini? Opera mobile? It would be nice to offer some direction to folks
>>> on this subject.
>> Firefox, Opera Mobile, Opera Mini supports svg on android.
>>
>> Only Dolphin HD and the build in browser (tested Android v2.3.3) do not.
>>
>> -- 
>> best regards
>> Holger Jeromin
>>
>>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> 
>
> -
> To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my 
> membership"
> Yahoo! Groups Links
>
>
>
>




-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

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



Re: [svg-developers] Chrome Path Mouseover

2011-07-20 Thread Sean Montague
Hi David,

Than you for the response. I changed the stroke, and got rid of the 
dasharray on the red. I did it for both, but it didn't improve anything, 
so I put blue back to dasharray. The coordinates of geographical, and I 
would like not to lose that.

Are there any examples where this is not an issue?

Thank you,
Sean

On 07/20/2011 04:38 PM, David Dailey wrote:
>
> Hi Sean,
>
> I think I concur that that are some look and feel differences between 
> Webkit
> and the others (I do have IE9
>
> Each of the paths has had its stroke width from the  in which
>
> stroke-width="0.22%"
>
> I would probably try changing that to something like
>
> stroke-width="3"
>
> And see what happens. Your viewBox sets the coordinate system and the .22%
> is defined relative to that. Looking at the height and width of the 
> viewBox,
> it is not too different from an ordinary screen so moving to absolute 
> pixels
> might behave more consistently. Not quite sure how browsers calculate 
> their
> onmouseover hot spot, particularly when a dash-array is present, but 
> I'd be
> tempted to play with that.
>
> Another trick if that doesn't work (since I'm having some troubles getting
> the hotspot with my screen resolution, even in Firefox) would be to
> duplicate the group containing the path system with a  tag but lay it
> down first, adding a wider stroke-width but making its stroke-opacity zero
> so that it still receives mouse events but doesn't interfere with the 
> visual
> display.
>
> Hope this helps, and maybe someone else will have another idea.
>
> Cheers
>
> David
>
> From: svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com> 
> [mailto:svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>]
> On Behalf Of Sean Montague
> Sent: Wednesday, July 20, 2011 3:17 PM
> To: svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>
> Subject: Re: [svg-developers] Chrome Path Mouseover
>
> http://greenworld.org/chrome-test.svg
>
> With chrome you need to move the mouse around until you hit the sweet
> spot. FF works well, but is so sensitive its hard to keep mouseover. IE
> with the old ASV 3 plugin is still the best, which I'm trying to
> mothball. I can't test IE9.
>
> Thanks!
> Sean
>
> On 07/20/2011 07:54 AM, David Dailey wrote:
> >
> > This is not an issue I'm aware of. Perhaps others have noticed 
> something,
> > but it sounds like a link to an example of the problem would be helpful.
> >
> > Good luck
> >
> > David
> >
> > From: svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>
> <mailto:svg-developers%40yahoogroups.com>
> > <mailto:svg-developers%40yahoogroups.com>
> > [mailto:svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>
> <mailto:svg-developers%40yahoogroups.com>
> > <mailto:svg-developers%40yahoogroups.com>]
> > On Behalf Of couloir007
> > Sent: Wednesday, July 20, 2011 2:04 AM
> > To: svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>
> <mailto:svg-developers%40yahoogroups.com>
> > <mailto:svg-developers%40yahoogroups.com>
> > Subject: [svg-developers] Chrome Path Mouseover
> >
> > Is chrome known to have issues with paths and mouseover events? In 
> my svg
> > with roads, my mouseover events will only fire on small segments of the
> > path. I can't find much on this topic.
> >
> > Thanks!
> >
> > [Non-text portions of this message have been removed]
> >
> >
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
> 


[Non-text portions of this message have been removed]





-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

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



Re: [svg-developers] Chrome Path Mouseover

2011-07-20 Thread Sean Montague
http://greenworld.org/chrome-test.svg

With chrome you need to move the mouse around until you hit the sweet 
spot. FF works well, but is so sensitive its hard to keep mouseover. IE 
with the old ASV 3 plugin is still the best, which I'm trying to 
mothball. I can't test IE9.

Thanks!
Sean

On 07/20/2011 07:54 AM, David Dailey wrote:
>
> This is not an issue I'm aware of. Perhaps others have noticed something,
> but it sounds like a link to an example of the problem would be helpful.
>
> Good luck
>
> David
>
> From: svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com> 
> [mailto:svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>]
> On Behalf Of couloir007
> Sent: Wednesday, July 20, 2011 2:04 AM
> To: svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>
> Subject: [svg-developers] Chrome Path Mouseover
>
> Is chrome known to have issues with paths and mouseover events? In my svg
> with roads, my mouseover events will only fire on small segments of the
> path. I can't find much on this topic.
>
> Thanks!
>
> [Non-text portions of this message have been removed]
>
> 


[Non-text portions of this message have been removed]





-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

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



[svg-developers] Safari image coordinate, FireFox precision, and decimals.

2007-12-09 Thread Sean M Montague


I'm playing with using decimal degrees as my coordinate system, and it 
appears that Safari doesn't like decimals in the x and y coords. Is this 
a bug, or am I missing something?

Also related to my decimal degrees, does FireFox have a lower level of 
precision than the Adobe Viewer? Using the above type of coordinates 
seems to leave large gaps between my images, indicating that the 
decimals are being rounded off.

Thanks!
Sean


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


[svg-developers] gzip php output

2006-12-31 Thread Sean M Montague
Can anyone offer suggestions on the best way to compress php output of 
svg? Does the example below compress all the the svg including what is 
outside of the php tags? Will the content of php 
require_once("php/map.php"); get compressed also? Thank you.

--Sean




"?>













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


Re: [svg-developers] microsoft jscript runtime error javascript object null

2006-09-13 Thread Sean
As we worked through it yesterday, I was to get an idea where the 
problem was coming from, specifically the Adobe specific getURL and 
parseXML, and thought maybe his viewer got corrupted on install or 
something. It must have, he reinstalled it and all is well. The most 
difficult thing was to make edits on my PC, upload, and have him check 
it over the phone. I needed to be absolutely certain it was isolated to 
his machine, I already new it worked on other machines.

Thanks!
Sean

nyem wrote:

> more troubleshooting ideas..
>
> why don't you ask him to borrow somebody's pc to to check if the same
> error occurs
>
> if there are many external js files, you can merge it into one files
> instead
>
> I've come across a case, which might not be related here, that antivirus
> program blocked access to files with double extensions. One of my file
> was named lib.html.js, and AVG on users pc blocked all access to these
> files, breaking my app.
>
> do you serve your svg via a web server or from local file?
>
> regards,
> nyem
>
>  



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




Re: [svg-developers] microsoft jscript runtime error javascript object null

2006-09-12 Thread Sean
I checked his proxy settings in IE, nothing that might explain the 
issue. I also wrote benign text into the doc so he could view source and 
let me know if it were there, which it was, to me indicating he had an 
un-chached version. With regards to caching proxy between his computer 
and my server, not sure what I could do about that if it were the 
problem, since I'm unfamiliar with how that works, and couldn't dig up 
much searching around for it. There was one interesting thing he 
noticed, to what extent it may explain things I'm unsure, but his 
browser was saying "Unrecognizable Doc Type Declaration", or something 
similar, so I commented out echo " Sean,
>
> I have never seen machine-specific errors.
>
> As André suggested in his previous email, you may be suffering from 
> some cache
> effects with a cacheing proxy between your friend and the other your 
> server.
>
> Ronan
>
> On Tuesday 12 September 2006 20:37, Sean wrote:
> > Hi Andre,
> >
> > I had him try Start->Run->'cleanmgr' and I renamed the file, neither of
> > which worked. I eliminated the global nature of the variables, and he
> > now just gets "Microsoft JScript runtime error: Object expected". Very
> > non-descript. My errors, when they occur, name the variable and the
> > line/column it occurs on, and the error popup looks different, mine has
> > a large red X on it and his does not. He has the latest version of ASV,
> > but that shouldn't matter, the app runs ok on the older version 3s. I'm
> > leaning towards that problem is unique to his computer, but I'm not
> > ready to make that assumption.
> >
> > Thanks!
> > Sean
> >
>


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




Re: [svg-developers] microsoft jscript runtime error javascript object null

2006-09-12 Thread Sean
Hi Andre,

I had him try Start->Run->'cleanmgr' and I renamed the file, neither of 
which worked. I eliminated the global nature of the variables, and he 
now just gets "Microsoft JScript runtime error: Object expected". Very 
non-descript. My errors, when they occur, name the variable and the 
line/column it occurs on, and the error popup looks different, mine has 
a large red X on it and his does not. He has the latest version of ASV, 
but that shouldn't matter, the app runs ok on the older version 3s. I'm 
leaning towards that problem is unique to his computer, but I'm not 
ready to make that assumption.

Thanks!
Sean

Andre M. Winter - Carto.net wrote:

> hi,
>
> there may also be proxies involved. the hardcore-test is renaming (or
> copying) your main file.
>
> when clearing the IE-cache, you also need to call clear the viewed page
> before (e.g. call about:blank).
>
> another possibility is an old ASV-version.
>
> andre
>
> -- 
> __
> andre m. winter,
> cartography for internet and multimedia applications
> schiessstand 4/1, a6091 goetzens, tyrol, austria
> tel.: ++43.5234.32732
> email: [EMAIL PROTECTED] <mailto:ml.winter%40carto.net>
>
> new svg book with actual scripting samples out now!
> check http://svg.carto.net/ <http://svg.carto.net/>
>
> Sean wrote:
> >
> > I'll look into the caching, but I've had him delete all his temp files
> > multiple times. My app won't run in FF, which I'd like to rewrite it to,
> > but, as has been discussed a lot lately, FF is to slow.
> >
>
>  



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





Re: [svg-developers] microsoft jscript runtime error javascript object null

2006-09-12 Thread Sean
Unless IE is caching somewhere I'm unaware of, it's not the cache. I've 
tried jacking my security level to the highest setting, but instead of 
any JScript runtime errors, which seems odd to me, running a javascript 
function, I just get nothing. Very strange.

Sean

Sean wrote:

> I'll look into the caching, but I've had him delete all his temp files
> multiple times. My app won't run in FF, which I'd like to rewrite it to,
> but, as has been discussed a lot lately, FF is to slow.
>
> Ronan Oger wrote:
>
> > Why dont you get him to also load FF and turn on the ecmascript
> > debugger?, so
> > you can see if you can catch the cause of the problem.
> >
> > Could it be something silly like you have multiple js source files and
> > for
> > some reason he is not getting one of them (serverside security for
> > example,
> > or your version is cached)?
> >
> > On Tuesday 12 September 2006 18:53, Sean wrote:
> > > My buddy's IE/ASV browser has been given me headaches, especially 
> since
> > > he is 2,000 miles away. Solving one problem leads to another. My app
> > > works fine on my home pc, laptop, and workstation at work, but his is
> > > nothing but headaches. He has the same version of IE, ASV, and XP
> > > service pack 2. I checked his security, but don't see anything
> > > different. Currently, the onload event gives him "Microsoft JScript
> > > runtime error: 'svgMaster is null or not an object". The object in
> > > question is the SVG doc itself, which I define as a global 
> variable, and
> > > use it in two functions, one of which is an onload event.. I tried
> > > defining it in the functions themselves, but that seemed not to 
> help. I
> > > can't recreate the problem on my end, so to me it seems like an issue
> > > with his browser. Any ideas would be most appreciated.
> > >
> > > Thanks!
> > > Sean
> > >
> > >
> > > -
> > > To unsubscribe send a message to:
> > > [EMAIL PROTECTED] 
> <mailto:svg-developers-unsubscribe%40yahoogroups.com>
> > <mailto:svg-developers-unsubscribe%40yahoogroups.com> -or-
> > > visit http://groups.yahoo.com/group/svg-developers 
> <http://groups.yahoo.com/group/svg-developers>
> > <http://groups.yahoo.com/group/svg-developers 
> <http://groups.yahoo.com/group/svg-developers>> and click "edit my
> > > membership" 
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > Ronan Oger
> > Director
> > RO IT Systems GmbH
> > ...Building Web2.0 with SVG since 2001
> >
> > http://www.roitsystems.com <http://www.roitsystems.com> 
> <http://www.roitsystems.com <http://www.roitsystems.com>>
> >
> >
>
>  



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





Re: [svg-developers] microsoft jscript runtime error javascript object null

2006-09-12 Thread Sean
I'll look into the caching, but I've had him delete all his temp files 
multiple times. My app won't run in FF, which I'd like to rewrite it to, 
but, as has been discussed a lot lately, FF is to slow.

Ronan Oger wrote:

> Why dont you get him to also load FF and turn on the ecmascript 
> debugger?, so
> you can see if you can catch the cause of the problem.
>
> Could it be something silly like you have multiple js source files and 
> for
> some reason he is not getting one of them (serverside security for 
> example,
> or your version is cached)?
>
> On Tuesday 12 September 2006 18:53, Sean wrote:
> > My buddy's IE/ASV browser has been given me headaches, especially since
> > he is 2,000 miles away. Solving one problem leads to another. My app
> > works fine on my home pc, laptop, and workstation at work, but his is
> > nothing but headaches. He has the same version of IE, ASV, and XP
> > service pack 2. I checked his security, but don't see anything
> > different. Currently, the onload event gives him "Microsoft JScript
> > runtime error: 'svgMaster is null or not an object". The object in
> > question is the SVG doc itself, which I define as a global variable, and
> > use it in two functions, one of which is an onload event.. I tried
> > defining it in the functions themselves, but that seemed not to help. I
> > can't recreate the problem on my end, so to me it seems like an issue
> > with his browser. Any ideas would be most appreciated.
> >
> > Thanks!
> > Sean
> >
> >
> > -
> > To unsubscribe send a message to:
> > [EMAIL PROTECTED] 
> <mailto:svg-developers-unsubscribe%40yahoogroups.com> -or-
> > visit http://groups.yahoo.com/group/svg-developers 
> <http://groups.yahoo.com/group/svg-developers> and click "edit my
> > membership" 
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
>
> -- 
> Ronan Oger
> Director
> RO IT Systems GmbH
> ...Building Web2.0 with SVG since 2001
>
> http://www.roitsystems.com <http://www.roitsystems.com>
>
>  



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





[svg-developers] microsoft jscript runtime error javascript object null

2006-09-12 Thread Sean
My buddy's IE/ASV browser has been given me headaches, especially since 
he is 2,000 miles away. Solving one problem leads to another. My app 
works fine on my home pc, laptop, and workstation at work, but his is 
nothing but headaches. He has the same version of IE, ASV, and XP 
service pack 2. I checked his security, but don't see anything 
different. Currently, the onload event gives him "Microsoft JScript 
runtime error: 'svgMaster is null or not an object". The object in 
question is the SVG doc itself, which I define as a global variable, and 
use it in two functions, one of which is an onload event.. I tried 
defining it in the functions themselves, but that seemed not to help. I 
can't recreate the problem on my end, so to me it seems like an issue 
with his browser.  Any ideas would be most appreciated.

Thanks!
Sean


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





Re: [svg-developers] Announcement: Adobe to Discontinue Adobe SVG Viewer

2006-09-06 Thread Sean
My concern with FF, is how slow it is with SVG over 300k. Hopefully 
within 1.5 years the issue will be solved. I tested it with the FF 2 
beta 2, and mouseover events are still laboriously slow. I posted it as 
a bug back in January, but nothing.

Ronan Oger wrote:

> There are rumours that IE8 will have native svg support.
>
> The rumour says that IE7 won't have it because it was too difficult 
> and too
> late support it, but that a decision was made to support svg in IE8.
>
> This makes sense given that IE is slipping in rankings behind other
> implementations that do support SVG, and it is hard to 
> regain/stop-loss when
> your competitors offer more than you do.
>
> Something to keep in mind is that a technology which supports XAML 
> will easily
> supports svg, since the there is a huge overlap in functionality only the
> slightest element name changes.
>
> Then again, rumours are just that.
>
> Maybe IE staff would care to comment on this rumour
>
> Ronan
>
> On Wednesday 06 September 2006 09:26, nyem wrote:
> > I cannot find the announcement at adobe's website. Care to direct me to
> > the right URL?
> >
> > So what's the alternative SVG viewer for IE? Can somebody make Opera as
> > an IE plugin?
> >
> > Paton J. Lewis wrote:
> > > For more information on this decision and answers to questions about
> > > the discontinuation of Adobe SVG Viewer, please see
> > > http://www.adobe.com/svg 
> >
> > -
> > 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
> >
> >
> >
>
> -- 
> Ronan Oger
> Director
> RO IT Systems GmbH
> ...Building Web2.0 with SVG since 2001
>
> http://www.roitsystems.com 
>
>  



 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/TktRrD/gOaOAA/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/

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





Re: [svg-developers] Announcement: Adobe to Discontinue Adobe SVG Viewer

2006-09-06 Thread Sean
http://www.adobe.com/svg/viewer/install/

nyem wrote:

> I cannot find the announcement at adobe's website. Care to direct me to
> the right URL?
>
> So what's the alternative SVG viewer for IE? Can somebody make Opera as
> an IE plugin?
>
> Paton J. Lewis wrote:
> > For more information on this decision and answers to questions about
> > the discontinuation of Adobe SVG Viewer, please see
> > http://www.adobe.com/svg 
> >
> >
> >
>
>  



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




Re: [svg-developers] Re: IE tries to download, not display svg file

2006-08-22 Thread Sean
I haven't had much opportunity to work on the problem since my work and 
home pc both are fine. Last night I was able to reproduce the problem on 
a laptop I recently reformatted, which was quite annoying, but at least 
I now have a computer with the problem. I tried the .htaccess file and 
doesn't help. I haven't had time to explore much with my laptop, but it 
prompts to either save or open the SVG file. When I try to open it, IE 
crashes. I tried lowering the security, but that doesn't seem to work 
either. The SVG is dynamically generated with PHP, and the mime type and 
header are set accordingly. Like I said, it is only a problem on some 
computers.

Thanks!
Sean

Sherm wrote:

> Sean,
>
> Have you set the SVG MIME type on your server? I've run into this
> issue twice before, and neither server had SVG/SVGZ set as a MIME
> type.
>
> I always send server admins to this page to get info on setting the
> MIME type:
> http://www.svgfaq.com/ServerGen.asp <http://www.svgfaq.com/ServerGen.asp>
>
> HTH.
>
> Sherm
>
> -
> On 16/08/2006, at 2:42 AM, Sean wrote:
>
> I had put this off to the side thinking it might have been an error
> in my file, but it apparently is not. This is not an Adobe viewer vs
> native issue. It seems to me to be a security issue. But I can't
> reproduce it on my computer. I've tried increasing the security, but
> my computer works fine. My friends are unable to view my SVG. It is
> database driven, php, svg maps. When they try to open them, it wants
> to save them or open them, but trying to press the open button does
> nothing. Any insight would be most appreciated.
>
>  



[Non-text portions of this message have been removed]



-
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: IE tries to download, not display svg file

2006-08-15 Thread Sean
I had put this off to the side thinking it might have been an error in 
my file, but it apparently is not. This is not an Adobe viewer vs native 
issue. It seems to me to be a security issue. But I can't reproduce it 
on my computer. I've tried increasing the security, but my computer 
works fine. My friends are unable to view my SVG. It is database driven, 
php, svg maps. When they try to open them, it wants to save them or open 
them, but trying to press the open button does nothing. Any insight 
would be most appreciated.

Thanks!
Sean

--- In svg-developers@yahoogroups.com 
<http://groups.yahoo.com/group/svg-developers/post?postID=37hFfNDYV5KqVK_S_-c5__V4Dhm1nZNUSTyaWOEP51xy6B_TG5QFGC1vLOuYgZNCLwqxLURj33m1Rrzaa9M0gdzG8o6J>,
 
Sean <[EMAIL PROTECTED]> wrote:
 >
 > I was trying to bring up my svg on a friends computer last night,
and IE
 > would only try to download the file. It is in PHP, but on my home
 > computer and work computer it works fine. I tried changing all the
 > permissions, but couldn't get anything to work. Any ideas what would
 > cause this?

IE currently has no native support for SVG so you need a plugin like
the Adobe SVG viewer installed that IE can handle SVG documents
<http://www.adobe.com/svg/viewer/install/>.
As for your PHP script generating SVG make sure you set
header('Content-Type: image/svg+xml');


[Non-text portions of this message have been removed]



-
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] IE tries to download, not display svg file

2006-08-05 Thread Sean
I was trying to bring up my svg on a friends computer last night, and IE 
would only try to download the file. It is in PHP, but on my home 
computer and work computer it works fine. I tried changing all the 
permissions, but couldn't get anything to work. Any ideas what would 
cause this?

Thanks!
Sean


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




Re: [svg-developers] Re: 'Back' Button in SVG

2006-06-29 Thread Sean
Below is how it looks when I zoom or pan 5 times, the first is set 
onLoad. When I hit previous, I get the most recent one and delete it. I 
suppose it could add a lot of size if there were a lot of panning and 
zooming, but it would take a real lot to add anything significant.










Sean

talkli wrote:

> That means, for every new status i need a new g tag. if i want to go
> back to the status before the previous one, i need to use 2 g tags???
>
> Di
>
> --- In svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>, Sean <[EMAIL PROTECTED]> wrote:
> >
> > For mapping, I use a g tag like:
> > 
> > 
> >
> > and set a value such as ext='0 0 500 600' based on the current status
> > before moving on to the new one. Then if I want to go back, I just
> > getAttribute('ext') and set my viewBox to it.
> >
> > Sean
>
>  



 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 





Re: [svg-developers] 'Back' Button in SVG

2006-06-29 Thread Sean
For mapping, I use a g tag like:



and set a value such as ext='0 0 500 600' based on the current status 
before moving on to the new one. Then if I want to go back, I just 
getAttribute('ext') and set my viewBox to it.

Sean

talkli wrote:

> Hi,
>
> As everyone knows, that SVG can be manipulated with javascript. But
> how can i go back to the previous status of the SVG file after the
> manipulation? And how can i solve this problem, especially wenn the
> manipulation is based on AJAX (with new information from server)?
>
> Thanx in advance!
>
>  



 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 





Re: [svg-developers] Re: getURL/XMLHTTP

2006-06-29 Thread Sean
Thank you so much. At first, I completely missed the relevance of what 
you said. Then it hit me. Basically, instead of
var node = parseXML(data.content, document);

I needed:
var node = parseXML(data.content, parent.document.F4B.getSVGDocument());

Perfect!

Sean

Martin Honnen wrote:

> --- In svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>, Sean <[EMAIL PROTECTED]> wrote:
> >
> > Do you actually append it into an embedded svg doc other than the svg
> > doc you use to get your segment? Both my calling doc and the doc
> > associated with the parseXML are svg. I just can't get it to append
> into
> > a third svg doc.
>
> > > var node = parseXML(data.content, document);
>
> You should pass that document to the parseXML function as its second
> argument that you want to insert the nodes into.
>
>  



 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 




Re: [svg-developers] getURL/XMLHTTP

2006-06-28 Thread Sean
Do you actually append it into an embedded svg doc other than the svg 
doc you use to get your segment? Both my calling doc and the doc 
associated with the parseXML are svg. I just can't get it to append into 
a third svg doc.

Peter Kalev wrote:

> Actually the calling document does not matter, BUT the document
> associated with the parseXML does...
>
> In many cases I use AJAX to get an svg segment and then I just use one
> of the svg's on my html page to parse the returned text into XML and
> then use it...
>
> _
>
> From: svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>
> [mailto:svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>] On Behalf Of Sean
> Sent: Wednesday, June 28, 2006 12:01 PM
> To: svg-developers@yahoogroups.com 
> <mailto:svg-developers%40yahoogroups.com>
> Subject: Re: [svg-developers] getURL/XMLHTTP
>
> This appears to be a an issue harder to solve than I thought it would
> be. Below is my javascript code that for the most part works, except for
>
> one thing, the Adobe viewer won't let me call getURL, parse it with
> parseXML, and then insert into an svg doc that is not the calling
> document. I get:
>
> ---
> Script error
> ---
> Wrong document
> line: 22, column: 16
>
> Any thoughts on how to get around this would be very much appreciated.
>
> // JavaScript Document
> function addMenu(evt){
> myUrlString = ("F4-Test.php?&menu=Planning");
> getURL(myUrlString,addMenu2);
> }
>
> function addMenu2(data) {
> // alert(data.content);
> if(data.success) {
> var node = parseXML(data.content, document);
> var xml = node.firstChild;
> var id = xml.getAttribute('id');
> var myMenuToAdd;
> child = node.firstChild.firstChild;
> while(child != null){
> // get sibling BEFORE parent changes
> childSibling = child.nextSibling;
> if(child.nodeType==1){
> // alert(window.printNode(child));
> myMenuToAdd =
> parent.document.F4B.getSVGDocument().getElementById("PlanningCanvas");
> myMenuToAdd.appendChild(child);
> }
> child = childSibling;
> }
> }else {
> alert("something went wrong!");
> }
> }
>
> [Non-text portions of this message have been removed]
>
>  



 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 




Re: [svg-developers] getURL/XMLHTTP

2006-06-28 Thread Sean
This appears to be a an issue harder to solve than I thought it would 
be. Below is my javascript code that for the most part works, except for 
one thing, the Adobe viewer won't let me call getURL, parse it with 
parseXML, and then insert into an svg doc that is not the calling 
document. I get:

---
Script error
---
Wrong document
line: 22, column: 16

Any thoughts on how to get around this would be very much appreciated.

// JavaScript Document
function addMenu(evt){
myUrlString = ("F4-Test.php?&menu=Planning");
getURL(myUrlString,addMenu2);
}

function addMenu2(data) {
// alert(data.content);
if(data.success) {
var node = parseXML(data.content, document);
var xml = node.firstChild;
var id = xml.getAttribute('id');
var myMenuToAdd;
child = node.firstChild.firstChild;
while(child != null){
// get sibling BEFORE parent changes
childSibling = child.nextSibling;
if(child.nodeType==1){
// alert(window.printNode(child));
myMenuToAdd = 
parent.document.F4B.getSVGDocument().getElementById("PlanningCanvas");
myMenuToAdd.appendChild(child);
}
child = childSibling;
}
}else {
alert("something went wrong!");
}
}


 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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] getURL/XMLHTTP

2006-06-26 Thread Sean
I'm stuck trying to communicate between two different svg docs embedded 
in an html doc in IE. I want to capture an id in say svgDoc1, use it to 
query a database, build some svg, and append the result into svgDoc2. I 
can't get the getURL to work since it appears not work when called from 
js referenced in the html doc. So I have attempted to use req = new 
ActiveXObject("Microsoft.XMLHTTP");. I can get the XML doc with 
req.responseXML, but I have failed to figure out how to insert it into 
svgDoc2 in a similar fashion as for example, 
myMenuToAdd.appendChild(child) where myMenuToAdd = 
document.F4B.getSVGDocument().getElementById("PlanningCanvas");. If I 
could, which I can't, do away with embedding in html doc and write it as 
one big svg document, this would be a simple task. Can anyone suggest 
how I might achieve this? Thank you.

Sean


 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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] getURL & parseXML

2006-06-22 Thread Sean
I'm trying to call the getURL in IE and have a quick question about 
where it can be called from. I have two separate svg docs embedded in an 
html doc. When I click on say svgDoc1, I want to use the getURL and 
parseXML to load data into svgDoc2. I'm familiar with how these two work 
in an svg doc, but it won't work when I embed the svg in an html and 
reference the js in the html. Even though the click events are in the 
svg, I don't seem to have access to the getURL or parseXML. I also tried 
referencing the js in svgDoc1, which allows me to getURL and parseXML, 
but not insert the data into svg doc2. When I use 
parent.document.svgDoc2 I am unable to gain access to it, and thus 
unable to insert any data. Any insight would be appreciated.

Sean


 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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] Net Neutrality

2006-06-13 Thread Sean
A very good friend of mine, who works for Level 3 Communications, and I were 
discussing this last night, and it appears to be more of a threat than I 
thought. He is of the opinion that it is a done deal. I encourage all US 
members of this group to visit the links below and pass this on.

-
Dear Friend,

I thought you might be interested in the campaign to save
Internet freedom at www.savetheinternet.com .

Congress is pushing through a law that would permit large
telephone and cable companies, like AT&T, Verizon and Comcast,
to control what you do, where you go and what you watch online.

Visit the URL below to check out what's at stake and send a loud
message directly to the Congress:
http://action.freepress.net/campaign/savethenet?rk=hpsGSKF1mBzvW



 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/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] IE embed click to activate

2006-04-18 Thread Sean
All of a sudden my svg embedded in an html doc requires a click to 
activate object, as it it were in an  tag. Has any one else 
encountered this?

Sean


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




Re: [svg-developers] [GIS Using SVG]

2006-04-12 Thread Sean
Below is a way to reduce you SVG size...at least with ASV. With the 
thousands of lines of code where add an onmousemove event, this would be 
significant.

document.getElementById('Minor rivers').addEventListener("onmousemove", 
toolTip, false);

 






//In you js, add event listeners with this
function load(evt){
document.getElementById('Minor 
rivers').addEventListener("onmousemove", toolTip, false);
}

//Access attributes with
function toolTip(evt){
var object=evt.target;
var type=object.parentNode.getAttributeNS(null,'type');
var Rec_ID=object.getAttributeNS(null,'Rec_ID');
var Riv_id=object.getAttributeNS(null,'Riv_id');
alert(type);
}

Something like the js below can add them to all the necessary g tags.

var gTag = svgDoc.getElementsByTagName("g");
number=gTag .length;
i=0;
while (iDear All, 
>I would like you to just visit this site to check out the time taken 
>to load the file 
>
>http://www.cs.ait.ac.th/~t103824/XML/SVG/newSVG_Kathmandu/Index_MAIN.HT
>ML
>
>This is AJAX, using thematic layers mainly for user interactions with 
>individual or a set of themes.
>
>Any comments would be welcome.
>
>[ I would very much like to thank Andre M. Winter for helping me out 
>with motivation to get myself deeper into SVG and , and for informing 
>me about loads of resources easily obtainable from carto.net. It seems 
>to me now that its only a matter of time that constraints me from 
>developing applications in SVG as everything is so well organized and 
>tutored in carto.net ]
>
>Regards,
>Ramesh Marikhu
>AIT
>
>
>
>
>
>
>-
>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 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] Mac vs Windows

2006-04-05 Thread Sean
I'm trying to determine what differences there are between asv 3.x for 
windows and mac. I am not embedding in an html doc, but I seem to have 
problems. I also don't have a mac, so testing is a bit difficult. I just 
need to know where to get started. Thanks!

Sean


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





Re: [svg-developers] Re: Adobe SVG demo source download

2006-02-24 Thread Sean
They have made it difficult, I think you can get it here: 
http://www.adobe.com/svg/demos/devtrack/svgdraw.html

nmotikane wrote:

>Hi Sean,
>
>Thanks for the quick response. I had copied the html, two SVG files 
>referenced, modified references to look for an svg instead of svgz 
>and finnaly copied js files and vb script files. Also changed 
>references to js and vb in the html code and svg to suite my 
>installation. The code does not work past the initial page and few 
>features in the pallette. I am not able to do any draw in the draw 
>area.
>
>Any help is appreciated.
>
>Nanda Motikane
>
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>Right click copy SVG, then use the  

Re: [svg-developers] Re: Adobe SVG demo source download

2006-02-24 Thread Sean
Send me the link you are trying to download.

nmotikane wrote:

>Hi Sean,
>
>Thanks for the quick response. I had copied the html, two SVG files 
>referenced, modified references to look for an svg instead of svgz 
>and finnaly copied js files and vb script files. Also changed 
>references to js and vb in the html code and svg to suite my 
>installation. The code does not work past the initial page and few 
>features in the pallette. I am not able to do any draw in the draw 
>area.
>
>Any help is appreciated.
>
>Nanda Motikane
>
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>Right click copy SVG, then use the  

Re: [svg-developers] Adobe SVG demo source download

2006-02-24 Thread Sean
Right click copy SVG, then use the   path to download the JS.

nmotikane wrote:

>Hi everybody,
>
>Anybody knows if Adobe is providing the source code/files to run the 
>SVG demo examples offline on a laptop. The reason is we liked some of 
>the features in SVG Draw example. We want to demonstrate the example to 
>our upper management and sales personnel in an offline fashion. If 
>someone knows where to download we would appreciate if you could let us 
>know. 
>
>Thank you.
>
>Nanda Motikane
>
>
>
>
>
>-
>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 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/
 




Re: [svg-developers] Nested defs Event Bubbling

2006-02-24 Thread Sean
I've spent much time trying to solve a similar issue, and have come to 
the conclusion that the code below is the only way with a minimal amount 
of svg text, maybe I'm wrong.


   
   
   




   
   
   


//JS
functuion init(evt){
  var buttons= svgDoc.getElementsByTagName("g");
  number=buttons.length;
  i=0;
  while (iI think you can't read the elements and attributes in the defs section 
>with DOM, when using use elements to display them. The defs section of 
>an svg file is not part of the DOM tree. The only thing you can access 
>is the toolbar use element and its xlink:href="#tbFormat" attribute.
>
>Jeroen
>
>lynchburgloyal schreef:
>  
>
>>I've seen posts asking questions similar to mine but I'm still not
>>achieving the behavior that I want.  Hopefully somewhere here can set
>>me straight.
>>
>>I'm trying to make good reuse of some def elements.  Picture this:  a
>>"toolbar" with three buttons - Bold, Italic, Underline.  I created
>>elements for each of the buttons and then added them to an element for
>>the toolbar like this (pseudo):
>>
>>
>>  
>>  
>>  
>>
>>  
>>
>>
>>
>>  
>>
>>
>>
>>
>>
>>So far, so good.  I can treat the toolbar as a single element and my
>>code is neat and clean.  What I can't figure out how to do is respond
>>to events for the "buttons".  I've tried inserting
>>"pointer-events=all" in different places to see if it helps bubbling
>>but no joy. 
>>
>>So, given the defs/use layout above, how can I trap the bold button
>>being clicked?  Or access the bold button as a DOM element so that I
>>can read/write its attributes?
>>
>>Sample or pseudo code would be great.  In the meantime I will continue
>>to RTFM.
>>
>>LL
>>
>>


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




Re: [svg-developers] Thoughts on optimizing ASV rendering SVG with 5,000 elements

2006-02-22 Thread Sean
I have a similar problem. I've developed an SVG front end for editing 
databases, IE only at this point. Drawback is that if the db is rather 
large, performance falls off fast. For instance, my svg when fully 
loaded is about 3.5 MB, which I don't think of as all that large. I make 
svg maps that are that big and bigger. The map performance is much 
better. I've tried to minimize the size, but I can only do so much. I 
reuse buttons and textboxes. I use the svg clip art as a source and make 
reusable elements in Inkscape. Inkscape adds a lot of useless stuff like 
opacity:1.; and so on. Below is an example of what Inkscape 
creates. I do not know what attributes hinder performance. I get rid of 
attributes that I know add nothing. I've even substituted out such 
things as style="stop-opacity:0.4055" with stop-opacity='0.4055'



I am not sure what performance degradations occur when using  tags. 
Is performance related to just the added text of a use tag? How about 
linear gradients and use tags? I'm constantly looking for ideas, so any 
input would be appreciated. If nothing else, it's a good exercise. Thanks.

Sean


-
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] SVGUnload & onClose

2006-02-21 Thread Sean
I need to detect when the browser is closed and I've tried both 
SVGUnload & onClose, in IE with ASV 3, without any luck.  Are these 
usable in an SVG doc?

Sean


-
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] scaling & stroke width

2006-02-16 Thread Sean
Is there a way to scale without affecting stroke width?

Sean


-
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] Many transform attributes and performance

2006-02-16 Thread Sean
I'm wondering what how using a lot of transform attributes, ie, 
translate, scale, and rotate, affects the performance of an svg.  Is it 
minimal or significant?  My file size will exceed 500k.  Thank you.

Sean


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





Re: [svg-developers] Editable Form

2006-02-13 Thread Sean
It's an IE ASV 3 solution only.

Sean wrote:

>I uploaded an svg Editable Form. It is the culmination of my editable 
>text experiment. I will next use php to create database driven forms.
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



-
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] Editable Form

2006-02-13 Thread Sean
I uploaded an svg Editable Form. It is the culmination of my editable 
text experiment. I will next use php to create database driven forms.

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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





Re: [svg-developers] Re: use tag and unique IDs

2006-02-09 Thread Sean
Jeff,

As of now, I realize I cannot use the use tags the way I thought I 
could, but I'm still curios.  Either I'm missing something or I don't 
get what is going on.  If I understand correctly, use = 
target.correspondingUseElement; should give me the use tag I clicked 
on.  Which means use.getAttribute("id"); should return the id of the use 
tag.  I get id is null.  Should I be getting null or the id?  Thanks.

Sean

Jeff Rafter wrote:

>Sean,
>
>It can be done, it just has to be done differently in each browser. Try 
>this code inside of your event:
>
> var target = evt.target;
>   var use = null
> if (target == null) return;
> if (target.correspondingUseElement)
>   use = target.correspondingUseElement;
>
>This is a sure way to get the  element from the target (in case it 
>is not correctly returned as an SVGElementInstance). The 
>correspondingElement property is not itself reliable (because of 
>inconsitent implementation interpretations). Once you have that you 
>should be able to access
>
>   use.instanceRoot, use.animatedInstanceRoot (less reliable)
>
> From that you should get a reliable SVGElementInstance on which you can 
>use the correspondingElement property. Additionally you should be able 
>to use read only DOM properties. See
>
>http://www.w3.org/TR/SVG/struct.html#InterfaceSVGElementInstance
>
>Also, once you have the  element, you can simply follow the link 
>specified in the URI reference or simply lookup the referenced element 
>by the specified ID.
>
>Cheers,
>Jeff Rafter
>
>Sean wrote:
>  
>
>>I can get the use tag, I want to be able to navigate the use tag.  I 
>>have the use referencing a g tag with several elements under the g tag.  
>>I want to be able to navigate those elements.  I'm coming to the 
>>conclusion that it can't be done.
>>
>>Sean
>>
>>Peter Kalev wrote:
>>
>>
>>
>>>Why don't you wrap the use element in a , search for the
>>>"g" and then look for the  inside the "g"... Works fine for me...
>>>
>>>Peter Kalev
>>>Senior Developer,
>>>SWF, LLC
>>>
>>>
>>>-Original Message-
>>>From: Sean [mailto:[EMAIL PROTECTED] 
>>>Sent: Wednesday, February 08, 2006 11:21 AM
>>>To: svg-developers@yahoogroups.com
>>>Subject: Re: [svg-developers] Re: use tag and unique IDs
>>>
>>>I should say navigate the use element.  I realize that it is read only, 
>>>but I can't figure out how to do that.  Thanks.
>>>
>>>Sean wrote:
>>>
>>> 
>>>
>>>  
>>>
>>>>Does any one have examples of using SVGUseElement & SVGElementInstance?
>>>>   
>>>>
>>>>
>>>>
>>> 
>>>
>>>  
>>>
>>>>Thanks.
>>>>
>>>>Sean
>>>>
>>>>Sean wrote:
>>>>
>>>>
>>>>
>>>>   
>>>>
>>>>
>>>>
>>>>>Hi Alastair,
>>>>>
>>>>>Thanks for the input.  I figured as much with the id, but 
>>>>>getElementByName didn't work either.  I was hoping that something
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>would 
>>> 
>>>
>>>  
>>>
>>>>>work.  I tried the childNodes and firstChild, but nothing works.  
>>>>>objet.childNodes.length returns 0, which appears to mean that the
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>child 
>>> 
>>>
>>>  
>>>
>>>>>nodes under the use tag don't get recognized, rendering the approaches
>>>>> 
>>>>>
>>>>>  
>>>>>
>>> 
>>>
>>>  
>>>
>>>>>below useless, no pun intended.  My failure to get the use tags to
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>work 
>>> 
>>>
>>>  
>>>
>>>>>would mean the difference between using 35,000 tags and 210,000 tags.
>>>>> 
>>>>>
>>>>>  
>>>>>
>>>I 
>>> 
>>>
>>>  
>>>
>>>>>have quite the incentive to make it work.  Thanks.
>>>>>

Re: [svg-developers] Re: use tag and unique IDs

2006-02-09 Thread Sean
Domenico,

First, thanks for pointing me to the resizable text wrap.  It was just 
what I needed.

With regards to the use tag,  I was hoping I could reuse a tspan element 
and modify the text for each use tag, but once I change tspan1, all the 
references would reflect it.  So using a tspan in the defs and reusing 
over and over for separate text boxes is not possible.

Sean

domenico_strazzullo wrote:

>Sean,
>
>Of course it's possible. You need to target the document and not 
>just the element that makes the call:
>
>function edit2(evt){
>// var objet=evt.target;
>   var objet = evt.target.ownerDocument;
>   var tspan1 = objet.getElementById("tspan1"); //Works
>   tspan1.firstChild.data = "NewText";
>}
>
>It works in IE7 and FF. I'm not sure the last line is what you want 
>to do, just a guess, but tspan1 returns an object so you can do 
>anything with it.
>
>Domenico
>
>
>--- In svg-developers@yahoogroups.com, Jeff Rafter <[EMAIL PROTECTED]> wrote:
>  
>
>>Sean,
>>
>>It can be done, it just has to be done differently in each 
>>
>>
>browser. Try 
>  
>
>>this code inside of your event:
>>
>> var target = evt.target;
>>  var use = null
>> if (target == null) return;
>> if (target.correspondingUseElement)
>>   use = target.correspondingUseElement;
>>
>>This is a sure way to get the  element from the target (in 
>>
>>
>case it 
>  
>
>>is not correctly returned as an SVGElementInstance). The 
>>correspondingElement property is not itself reliable (because of 
>>inconsitent implementation interpretations). Once you have that 
>>
>>
>you 
>  
>
>>should be able to access
>>
>>  use.instanceRoot, use.animatedInstanceRoot (less reliable)
>>
>> From that you should get a reliable SVGElementInstance on which 
>>
>>
>you can 
>  
>
>>use the correspondingElement property. Additionally you should be 
>>
>>
>able 
>  
>
>>to use read only DOM properties. See
>>
>>http://www.w3.org/TR/SVG/struct.html#InterfaceSVGElementInstance
>>
>>Also, once you have the  element, you can simply follow the 
>>
>>
>link 
>  
>
>>specified in the URI reference or simply lookup the referenced 
>>
>>
>element 
>  
>
>>by the specified ID.
>>
>>Cheers,
>>Jeff Rafter
>>
>>Sean wrote:
>>
>>
>>>I can get the use tag, I want to be able to navigate the use 
>>>  
>>>
>tag.  I 
>  
>
>>>have the use referencing a g tag with several elements under the 
>>>  
>>>
>g tag.  
>  
>
>>>I want to be able to navigate those elements.  I'm coming to the 
>>>conclusion that it can't be done.
>>>
>>>Sean
>>>
>>>Peter Kalev wrote:
>>>
>>>  
>>>
>>>>Why don't you wrap the use element in a , search 
>>>>
>>>>
>for the
>  
>
>>>>"g" and then look for the  inside the "g"... Works fine 
>>>>
>>>>
>for me...
>  
>
>>>>Peter Kalev
>>>>Senior Developer,
>>>>SWF, LLC
>>>>
>>>>
>>>>-Original Message-
>>>>From: Sean [mailto:[EMAIL PROTECTED] 
>>>>Sent: Wednesday, February 08, 2006 11:21 AM
>>>>To: svg-developers@yahoogroups.com
>>>>Subject: Re: [svg-developers] Re: use tag and unique IDs
>>>>
>>>>I should say navigate the use element.  I realize that it is 
>>>>
>>>>
>read only, 
>  
>
>>>>but I can't figure out how to do that.  Thanks.
>>>>
>>>>Sean wrote:
>>>>
>>>> 
>>>>
>>>>
>>>>
>>>>>Does any one have examples of using SVGUseElement & 
>>>>>  
>>>>>
>SVGElementInstance?
>  
>
>>>>>   
>>>>>
>>>>>  
>>>>>
>>>> 
>>>>
>>>>
>>>>
>>>>>Thanks.
>>>>>
>>>>>Sean
>>>>>
>>>>>Sean wrote:
>>>>>
>>>>>
>>>>>
>>>>>   
>>>>>
>>>>>  
>>>>>
>>>>

Re: [svg-developers] Re: use tag and unique IDs

2006-02-08 Thread Sean
I can get the use tag, I want to be able to navigate the use tag.  I 
have the use referencing a g tag with several elements under the g tag.  
I want to be able to navigate those elements.  I'm coming to the 
conclusion that it can't be done.

Sean

Peter Kalev wrote:

>Why don't you wrap the use element in a , search for the
>"g" and then look for the  inside the "g"... Works fine for me...
>
>Peter Kalev
>Senior Developer,
>SWF, LLC
>
>
>-Original Message-
>From: Sean [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, February 08, 2006 11:21 AM
>To: svg-developers@yahoogroups.com
>Subject: Re: [svg-developers] Re: use tag and unique IDs
>
>I should say navigate the use element.  I realize that it is read only, 
>but I can't figure out how to do that.  Thanks.
>
>Sean wrote:
>
>  
>
>>Does any one have examples of using SVGUseElement & SVGElementInstance?
>>
>>
>
>  
>
>>Thanks.
>>
>>Sean
>>
>>Sean wrote:
>>
>> 
>>
>>
>>
>>>Hi Alastair,
>>>
>>>Thanks for the input.  I figured as much with the id, but 
>>>getElementByName didn't work either.  I was hoping that something
>>>  
>>>
>would 
>  
>
>>>work.  I tried the childNodes and firstChild, but nothing works.  
>>>objet.childNodes.length returns 0, which appears to mean that the
>>>  
>>>
>child 
>  
>
>>>nodes under the use tag don't get recognized, rendering the approaches
>>>  
>>>
>
>  
>
>>>below useless, no pun intended.  My failure to get the use tags to
>>>  
>>>
>work 
>  
>
>>>would mean the difference between using 35,000 tags and 210,000 tags.
>>>  
>>>
>I 
>  
>
>>>have quite the incentive to make it work.  Thanks.
>>>
>>>var objet=evt.target;
>>>alert(objet.childNodes.length);
>>>
>>>var child = objet.firstChild;
>>>i=0;
>>>while(child != null){
>>>childSibling = child.nextSibling;
>>>alert(child.nodeType);
>>>child = childSibling;
>>>}
>>>
>>>Sean
>>>
>>>Alastair Fettes wrote:
>>>
>>>
>>>
>>>   
>>>
>>>  
>>>
>>>>You've made a fundamental mistake.  
>>>>
>>>>1.  The idea behind a defs section is to resuse (have multiple
>>>>
>>>>
>copies)
>  
>
>>>>of an definition.
>>>>2.  The idea of an ID attribute is to only have one attribute with a
>>>>specific value document wide (see xs:ID type -
>>>><http://www.w3.org/TR/xmlschema-2/#ID>).
>>>>
>>>>So therefore you have a fundamental mistake.  The defs section and
>>>>
>>>>
>the
>  
>
>>>>id invalidate each other.
>>>>
>>>>The only thing you could (possibly) do would be to getElementById(
>>>>"useFrame2" ).childNodes.foo.bar to get the tspan.  Maybe, i don't
>>>>guarantee it.
>>>>
>>>>Alastair
>>>>
>>>>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>>>>
>>>>
>>>>  
>>>>
>>>> 
>>>>
>>>>
>>>>
>>>>>I would like to use the use tags to save much text size as below.  
>>>>>Problem is grabbing and editing data with onclick events.  The id
>>>>> 
>>>>>
>>>>>
>>>>>
>>>>>   
>>>>>
>>>>>  
>>>>>
>>>>for my 
>>>>
>>>>
>>>>  
>>>>
>>>> 
>>>>
>>>>
>>>>
>>>>>tspan would always be the same, but they would be used in different
>>>>>  
>>>>>
>use 
>  
>
>>>>>tags with unique IDs.  Is there a way to isolate say the tspan1
>>>>>  
>>>>>
>under 
>  
>
>>>>>useFrame2?
>>>>>
>>>>>SVG
>>>>>
>>>>>
>>>>> >>>>id="tspan1" cat="textBox">Text
>>>>> 
>>>>>
>>>>>
>>>>>>>>>transform="translate(10,25)"/>
>>>>>>>>>transform="translate(10,50)"/>
>>>>>
>>>>>JS
>>>>>function edit2(evt){
>>>>> var objet=evt.target;
>>>>> var tspan1 = objet.getElementById("tspan1"); //Doesn't work
>>>>>}
>>>>>
>>>>>Thanks!
>>>>>
>>>>>Sean
>>>>>
>>>>>-- 
>>>>>"I'd rather have a bottle in front of me, than a frontal lobotomy."
>>>>>-- Tom Waits
>>>>>
>>>>> 
>>>>>
>>>>>
>>>>>
>>>>>   
>>>>>
>>>>>  
>>>>>
>>>>-
>>>>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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>  
>>>>
>>>> 
>>>>
>>>>
>>>>
>>>   
>>>
>>>  
>>>
>> 
>>
>>
>>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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





Re: [svg-developers] Re: use tag and unique IDs

2006-02-08 Thread Sean
I should say navigate the use element.  I realize that it is read only, 
but I can't figure out how to do that.  Thanks.

Sean wrote:

>Does any one have examples of using SVGUseElement & SVGElementInstance?  
>Thanks.
>
>Sean
>
>Sean wrote:
>
>  
>
>>Hi Alastair,
>>
>>Thanks for the input.  I figured as much with the id, but 
>>getElementByName didn't work either.  I was hoping that something would 
>>work.  I tried the childNodes and firstChild, but nothing works.  
>>objet.childNodes.length returns 0, which appears to mean that the child 
>>nodes under the use tag don't get recognized, rendering the approaches 
>>below useless, no pun intended.  My failure to get the use tags to work 
>>would mean the difference between using 35,000 tags and 210,000 tags.  I 
>>have quite the incentive to make it work.  Thanks.
>>
>>var objet=evt.target;
>>alert(objet.childNodes.length);
>>
>>var child = objet.firstChild;
>>i=0;
>>while(child != null){
>> childSibling = child.nextSibling;
>> alert(child.nodeType);
>> child = childSibling;
>>}
>>
>>Sean
>>
>>Alastair Fettes wrote:
>>
>> 
>>
>>
>>
>>>You've made a fundamental mistake.  
>>>
>>>1.  The idea behind a defs section is to resuse (have multiple copies)
>>>of an definition.
>>>2.  The idea of an ID attribute is to only have one attribute with a
>>>specific value document wide (see xs:ID type -
>>><http://www.w3.org/TR/xmlschema-2/#ID>).
>>>
>>>So therefore you have a fundamental mistake.  The defs section and the
>>>id invalidate each other.
>>>
>>>The only thing you could (possibly) do would be to getElementById(
>>>"useFrame2" ).childNodes.foo.bar to get the tspan.  Maybe, i don't
>>>guarantee it.
>>>
>>>Alastair
>>>
>>>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>   
>>>
>>>  
>>>
>>>>I would like to use the use tags to save much text size as below.  
>>>>Problem is grabbing and editing data with onclick events.  The id
>>>>  
>>>>
>>>> 
>>>>
>>>>
>>>>
>>>for my 
>>>
>>>
>>>   
>>>
>>>  
>>>
>>>>tspan would always be the same, but they would be used in different use 
>>>>tags with unique IDs.  Is there a way to isolate say the tspan1 under 
>>>>useFrame2?
>>>>
>>>>SVG
>>>>
>>>>
>>>>  >>>id="tspan1" cat="textBox">Text
>>>>  
>>>>
>>>>
>>>>>>>transform="translate(10,25)"/>
>>>>>>>transform="translate(10,50)"/>
>>>>
>>>>JS
>>>>function edit2(evt){
>>>>  var objet=evt.target;
>>>>  var tspan1 = objet.getElementById("tspan1"); //Doesn't work
>>>>}
>>>>
>>>>Thanks!
>>>>
>>>>Sean
>>>>
>>>>-- 
>>>>"I'd rather have a bottle in front of me, than a frontal lobotomy."
>>>>-- Tom Waits
>>>>
>>>>  
>>>>
>>>> 
>>>>
>>>>
>>>>
>>>
>>>
>>>-
>>>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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>   
>>>
>>>  
>>>
>> 
>>
>>
>>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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




Re: [svg-developers] Re: use tag and unique IDs

2006-02-08 Thread Sean
Does any one have examples of using SVGUseElement & SVGElementInstance?  
Thanks.

Sean

Sean wrote:

>Hi Alastair,
>
>Thanks for the input.  I figured as much with the id, but 
>getElementByName didn't work either.  I was hoping that something would 
>work.  I tried the childNodes and firstChild, but nothing works.  
>objet.childNodes.length returns 0, which appears to mean that the child 
>nodes under the use tag don't get recognized, rendering the approaches 
>below useless, no pun intended.  My failure to get the use tags to work 
>would mean the difference between using 35,000 tags and 210,000 tags.  I 
>have quite the incentive to make it work.  Thanks.
>
>var objet=evt.target;
>alert(objet.childNodes.length);
>
>var child = objet.firstChild;
>i=0;
>while(child != null){
>  childSibling = child.nextSibling;
>  alert(child.nodeType);
>  child = childSibling;
>}
>
>Sean
>
>Alastair Fettes wrote:
>
>  
>
>>You've made a fundamental mistake.  
>>
>>1.  The idea behind a defs section is to resuse (have multiple copies)
>>of an definition.
>>2.  The idea of an ID attribute is to only have one attribute with a
>>specific value document wide (see xs:ID type -
>><http://www.w3.org/TR/xmlschema-2/#ID>).
>>
>>So therefore you have a fundamental mistake.  The defs section and the
>>id invalidate each other.
>>
>>The only thing you could (possibly) do would be to getElementById(
>>"useFrame2" ).childNodes.foo.bar to get the tspan.  Maybe, i don't
>>guarantee it.
>>
>>Alastair
>>
>>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>> 
>>
>>
>>
>>>I would like to use the use tags to save much text size as below.  
>>>Problem is grabbing and editing data with onclick events.  The id
>>>   
>>>
>>>  
>>>
>>for my 
>> 
>>
>>
>>
>>>tspan would always be the same, but they would be used in different use 
>>>tags with unique IDs.  Is there a way to isolate say the tspan1 under 
>>>useFrame2?
>>>
>>>SVG
>>>
>>> 
>>>   >>id="tspan1" cat="textBox">Text
>>>   
>>> 
>>>
>>>>>transform="translate(10,25)"/>
>>>>>transform="translate(10,50)"/>
>>>
>>>JS
>>>function edit2(evt){
>>>   var objet=evt.target;
>>>   var tspan1 = objet.getElementById("tspan1"); //Doesn't work
>>>}
>>>
>>>Thanks!
>>>
>>>Sean
>>>
>>>-- 
>>>"I'd rather have a bottle in front of me, than a frontal lobotomy."
>>>-- Tom Waits
>>>
>>>   
>>>
>>>  
>>>
>>
>>
>>
>>
>>-
>>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
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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




Re: [svg-developers] Re: use tag and unique IDs

2006-02-08 Thread Sean
Hi Alastair,

Thanks for the input.  I figured as much with the id, but 
getElementByName didn't work either.  I was hoping that something would 
work.  I tried the childNodes and firstChild, but nothing works.  
objet.childNodes.length returns 0, which appears to mean that the child 
nodes under the use tag don't get recognized, rendering the approaches 
below useless, no pun intended.  My failure to get the use tags to work 
would mean the difference between using 35,000 tags and 210,000 tags.  I 
have quite the incentive to make it work.  Thanks.

var objet=evt.target;
alert(objet.childNodes.length);

var child = objet.firstChild;
i=0;
while(child != null){
  childSibling = child.nextSibling;
  alert(child.nodeType);
  child = childSibling;
}

Sean

Alastair Fettes wrote:

>You've made a fundamental mistake.  
>
>1.  The idea behind a defs section is to resuse (have multiple copies)
>of an definition.
>2.  The idea of an ID attribute is to only have one attribute with a
>specific value document wide (see xs:ID type -
><http://www.w3.org/TR/xmlschema-2/#ID>).
>
>So therefore you have a fundamental mistake.  The defs section and the
>id invalidate each other.
>
>The only thing you could (possibly) do would be to getElementById(
>"useFrame2" ).childNodes.foo.bar to get the tspan.  Maybe, i don't
>guarantee it.
>
>Alastair
>
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>I would like to use the use tags to save much text size as below.  
>>Problem is grabbing and editing data with onclick events.  The id
>>
>>
>for my 
>  
>
>>tspan would always be the same, but they would be used in different use 
>>tags with unique IDs.  Is there a way to isolate say the tspan1 under 
>>useFrame2?
>>
>>SVG
>>
>>  
>>>id="tspan1" cat="textBox">Text
>>
>>  
>>
>>>transform="translate(10,25)"/>
>>>transform="translate(10,50)"/>
>>
>>JS
>>function edit2(evt){
>>var objet=evt.target;
>>var tspan1 = objet.getElementById("tspan1"); //Doesn't work
>>}
>>
>>Thanks!
>>
>>Sean
>>
>>-- 
>>"I'd rather have a bottle in front of me, than a frontal lobotomy."
>>-- Tom Waits
>>
>>
>>
>
>
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



-
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] use tag and unique IDs

2006-02-07 Thread Sean
I would like to use the use tags to save much text size as below.  
Problem is grabbing and editing data with onclick events.  The id for my 
tspan would always be the same, but they would be used in different use 
tags with unique IDs.  Is there a way to isolate say the tspan1 under 
useFrame2?

SVG

  
Text

  




JS
function edit2(evt){
var objet=evt.target;
var tspan1 = objet.getElementById("tspan1"); //Doesn't work
}

Thanks!

Sean

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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





Re: [svg-developers] Selected text

2006-02-06 Thread Sean
This works:

object.selectSubString(0,0)

Sean wrote:

>Since it appears that js cannot unselect selected text in SVG, I would 
>like to disable the ability to select text to create my own way to 
>select text.  I used pointer-events="none", but I still need to be able 
>to capture click events in the text. Is there a way to disable select 
>text?  Thanks.
>
>Sean
>
>Sean wrote:
>
>  
>
>>I have managed to add the ability to copy and paste text into my svg 
>>text box, but the last thing I need is for the selected text to become 
>>unselected when certain events occur.  If anyone has a suggestion, I'd 
>>appreciate it, and I'll post the updated textBox on Mon.  Thanks.
>>
>>Sean
>>
>>benamou wrote:
>>
>> 
>>
>>
>>
>>>I have only managed to avoid selection by overlaping by a transparent
>>>rect using getBBox 
>>>
>>>If it is only because of the cursor, FF1.5 allows to change it ...
>>>
>>>JD
>>>
>>>
>>>- Original Message - 
>>>From: "Sean" <[EMAIL PROTECTED]>
>>>To: 
>>>Sent: Friday, February 03, 2006 9:46 PM
>>>Subject: [svg-developers] Selected text
>>>
>>>
>>>
>>>
>>>   
>>>
>>>  
>>>
>>>>Is there a way to deselect selected text with javascript?  Thanks.
>>>>
>>>>Sean
>>>>
>>>>-- 
>>>>"I'd rather have a bottle in front of me, than a frontal lobotomy."
>>>>-- Tom Waits
>>>>
>>>>
>>>>
>>>>-
>>>>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 unsubscribe send a message to: [EMAIL PROTECTED]
>>>-or-
>>>visit http://groups.yahoo.com/group/svg-developers and click "edit my 
>>>membership"
>>> 
>>>Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>   
>>>
>>>  
>>>
>> 
>>
>>
>>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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




Re: [svg-developers] Selected text

2006-02-06 Thread Sean
Since it appears that js cannot unselect selected text in SVG, I would 
like to disable the ability to select text to create my own way to 
select text.  I used pointer-events="none", but I still need to be able 
to capture click events in the text. Is there a way to disable select 
text?  Thanks.

Sean

Sean wrote:

>I have managed to add the ability to copy and paste text into my svg 
>text box, but the last thing I need is for the selected text to become 
>unselected when certain events occur.  If anyone has a suggestion, I'd 
>appreciate it, and I'll post the updated textBox on Mon.  Thanks.
>
>Sean
>
>benamou wrote:
>
>  
>
>>I have only managed to avoid selection by overlaping by a transparent
>>rect using getBBox 
>>
>>If it is only because of the cursor, FF1.5 allows to change it ...
>>
>>JD
>>
>>
>>- Original Message - 
>>From: "Sean" <[EMAIL PROTECTED]>
>>To: 
>>Sent: Friday, February 03, 2006 9:46 PM
>>Subject: [svg-developers] Selected text
>>
>>
>> 
>>
>>
>>
>>>Is there a way to deselect selected text with javascript?  Thanks.
>>>
>>>Sean
>>>
>>>-- 
>>>"I'd rather have a bottle in front of me, than a frontal lobotomy."
>>>-- Tom Waits
>>>
>>>
>>>
>>>-
>>>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 unsubscribe send a message to: [EMAIL PROTECTED]
>>-or-
>>visit http://groups.yahoo.com/group/svg-developers and click "edit my 
>>membership"
>> 
>>Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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





Re: [svg-developers] Selected text

2006-02-03 Thread Sean
I have managed to add the ability to copy and paste text into my svg 
text box, but the last thing I need is for the selected text to become 
unselected when certain events occur.  If anyone has a suggestion, I'd 
appreciate it, and I'll post the updated textBox on Mon.  Thanks.

Sean

benamou wrote:

>I have only managed to avoid selection by overlaping by a transparent
>rect using getBBox 
>
>If it is only because of the cursor, FF1.5 allows to change it ...
>
>JD
>
>
>- Original Message - 
>From: "Sean" <[EMAIL PROTECTED]>
>To: 
>Sent: Friday, February 03, 2006 9:46 PM
>Subject: [svg-developers] Selected text
>
>
>  
>
>>Is there a way to deselect selected text with javascript?  Thanks.
>>
>>Sean
>>
>>-- 
>>"I'd rather have a bottle in front of me, than a frontal lobotomy."
>>-- Tom Waits
>>
>>
>>
>>-
>>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 unsubscribe send a message to: [EMAIL PROTECTED]
>-or-
>visit http://groups.yahoo.com/group/svg-developers and click "edit my 
>membership"
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



-
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] Selected text

2006-02-03 Thread Sean
Is there a way to deselect selected text with javascript?  Thanks.

Sean

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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




Re: [svg-developers] Re: Text Click get Index

2006-02-03 Thread Sean
Thanks for the tip.  I did find a different way of doing it, I hope that 
it is compatible FF 1.5.  I implement it in my latest version of 
textBox.zip and uploaded it.  I worked a few bugs also.

Sean

pilatfr wrote:

>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>Is there a way to click on a text element and return and index of 
>>
>>
>where 
>  
>
>>in the text the click occurred? Thanks.
>>
>>Sean
>>
>>
>
>You can use getCharNumAtPosition(SVGpoint) 
>* create SVGPoint and give x and y values from your pointer
>* getCharNumAtPosition(SVGpoint) give range of char in string
>
>This run with ASV3, ASV6 beta and Batik
>Method isn't implemented in Firefox 1.5
>Method give some strange result in Opera 9 beta
>
>Michel
>
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



-
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] Text Click get Index

2006-02-02 Thread Sean
Is there a way to click on a text element and return and index of where 
in the text the click occurred? Thanks.

Sean

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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




Re: [svg-developers] Edit Text

2006-02-02 Thread Sean
I just uploaded a new version that includes Delete, Home, and End as 
TextBox.zip.

Sean wrote:

>I've just uploaded a modified version of Kevin Lindsey's TextBox.  It 
>has a blinking cursor, backspace, ability to insert characters, and use 
>of left and right arrow keys.
>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



-
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] Edit Text

2006-02-01 Thread Sean
I've just uploaded a modified version of Kevin Lindsey's TextBox.  It 
has a blinking cursor, backspace, ability to insert characters, and use 
of left and right arrow keys.


-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



-
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] javascript keyevents

2006-02-01 Thread Sean
I've added an event listner to capture key press events and have a mouse 
cursor issue.  If I were to embed the svg into html and capture keypress 
events with function aKeyDown(e) in the html, my cursor does not need to 
be in the browser window to capture the event, as long as the browser is 
the active window.  Without html, all the listner and event triggers 
must be in the svg, which means if the cursor is not over the svg 
document, nothing can happen, even if the browser is active.  Is there a 
way around this without embedding into html?  Thanks!

Sean


-
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] WordWrap scaling problem

2006-01-28 Thread Sean
The example I uploaded earlier works fine, but I'm trying to implement a 
version that scales, and it won't cooperate.  I uploaded two examples 
under 1WordWrap.zip.  In textWrapTest2.svg, my main svg tag looks like:

.

In textWrapTest2b.svg:

.

In both, the inner svg tag looks like:

.

When I scale the width and height to 100%, my text is slightly off, 
causing problems.  I've tried to isolate the issue, but I am at a loss.  
Any insight would be most appreciated.  Thank you.

Sean

Sean wrote:

>Sean wrote:
>
>  
>
>>I have just uploaded two word wrap examples.  They are inspired by 
>>Antoine Quint's tutorial at 
>>http://www.xml.com/pub/a/2002/09/11/quint.html?page=1.  The tutorial was 
>>overkill for, so I tried to simplify it...it's simpler to me.  
>>WordWrap.zip is a php version that reads from a text document and 
>>inserts the text into the svg.  WordWrap2.zip has the text in the svg 
>>document already.  Both handle paragraphs.  The second example I flagged 
>>each paragraph with "-pA-".  The php version has the advantage of not 
>>having to flag paragraphs.
>>
>>Sean
>>
>> 
>>
>>
>>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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

2006-01-27 Thread Sean
Oops!

Sean wrote:

>I have just uploaded two word wrap examples.  They are inspired by 
>Antoine Quint's tutorial at 
>http://www.xml.com/pub/a/2002/09/11/quint.html?page=1.  The tutorial was 
>overkill for, so I tried to simplify it...it's simpler to me.  
>WordWrap.zip is a php version that reads from a text document and 
>inserts the text into the svg.  WordWrap2.zip has the text in the svg 
>document already.  Both handle paragraphs.  The second example I flagged 
>each paragraph with "-pA-".  The php version has the advantage of not 
>having to flag paragraphs.
>
>Sean
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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




Re: [svg-developers] Re: Set Mouse Cursor Position?

2006-01-27 Thread Sean
I have just uploaded two word wrap examples.  They are inspired by 
Antoine Quint's tutorial at 
http://www.xml.com/pub/a/2002/09/11/quint.html?page=1.  The tutorial was 
overkill for, so I tried to simplify it...it's simpler to me.  
WordWrap.zip is a php version that reads from a text document and 
inserts the text into the svg.  WordWrap2.zip has the text in the svg 
document already.  Both handle paragraphs.  The second example I flagged 
each paragraph with "-pA-".  The php version has the advantage of not 
having to flag paragraphs.

Sean

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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




Re: [svg-developers] Re: SVG and Web Mapping Servers

2006-01-25 Thread Sean
Here are three good resources that are related.

http://www.svgopen.org/2005/papers/abstract_williams_yosemite_national_park/#S1.
http://www.carto.net/williams/yosemite/
http://www.carto.net/papers/svg/postgis_geturl_xmlhttprequest/

Ben wrote:

>Right,
>
>So let me see if I've got it:
>
>The database (backend) eg. Mysql/postgis holds both spatial data and 
>potentially attribute data (eg, street coordinate pairs and street 
>names).
>
>The WMS goes to the database, takes the spatial data and any potential 
>attribute data (depending what is requested) and creates a map (either 
>raster or vector)? This is merely a map, but when you ask it to label 
>a road, it is in fact going back to the db and create a map object and 
>adding to the SVG image (ignoring raster maps for the moment). To get 
>data from the database, it's a simple case of extracting rows of 
>attribute data and displaying them?
>
>Server-side scripting (php/perl, etc) deals with the basic linking of 
>the WMS and database? with client-side scripting providing the basic 
>bells and whistles.
>
>So in fact, spatially "aware" tables contain text values that are 
>setup specifically to be extracted and mapped by the WMS? So if I 
>wanted to map a series of roads using WMS and a postgis. I'd need to 
>insert rows of line statements (as spatial objects or in a spatial 
>column) in the correct spatial line format (as defined by different 
>dbs?)
>
>If I'm right with the above...excellent!!
>
>I have MapServer and PostGIS-so I just need to get the basics right!
>
>Thank you for taking the time to explain it.
>
>
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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




Re: [svg-developers] SVG and MapServer

2006-01-24 Thread Sean
You may want to consider just using PostgreSQL/PostGIS.

Randy George wrote:

>Hi Ben,
>
>   You might look at GeoServer
>http://docs.codehaus.org/display/GEOS/Home which is a Java based OWS server
>similar to MapServer, but with more explicit OpenGIS conformance. GeoServer
>WMS provides a format="image/svg+xml" for request=GetMap. It works with a
>variety of datastores ArcSDE, Oracle, PostGIS, shape, MySQL, VPF Library 
>   
>The GeoServer WFS presently only supports:
>- 
>   
>   
>   
>  
>but GML can be translated to SVG without much trouble.
>
>
>-Original Message-
>From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED]
>On Behalf Of Ben
>Sent: Tuesday, January 24, 2006 8:34 AM
>To: svg-developers@yahoogroups.com
>Subject: [svg-developers] SVG and MapServer
>
>Hi all,
>
>Anyone had any experience with using SVG within OpenSource MapServer? 
>If so, are there any sites/information out there that is useful? I've 
>tried the MapServer webpage which is useful but doesn't have any SVG 
>examples...
>
>Regards
>Ben Crane
>
>
>
>
>
>
>-
>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 unsubscribe send a message to: [EMAIL PROTECTED]
>-or-
>visit http://groups.yahoo.com/group/svg-developers and click "edit my 
>membership"
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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





Re: [svg-developers] SVG TO PDF

2006-01-05 Thread Sean
I'm using pdflib.  You can download it and use it for free as long you 
don't use it commercially.  Otherwise it is about $450 per processor.  
It works very well.  At first I parsed an svg file with parseXML, but 
given the y coords are backwards, you need to read each string and 
isolate the y coord to multiply by -1.  Since now I'm using postGIS, I 
now skip the svg part altogether with regards to the pdf, and export as 
text with y coord already correct, saving much code and hassle.  
Unfortunately, I did not save my code for actually parsing out svg, 
flipping the y coord, and writing out to a pdf.  All I can say is that 
it can be done.

Sean

Petronel Laviniu MALUTAN - Talente.ro wrote:

>  I would like to read more about how could I create with PHP, a PDF file
>based from a SVG one ?
>  Could be SVG somehow prepared for printing directly ?
>  How do you print it if is a going to look professional on pages without
>creating a pdf ?
>
>Thank you
>Petronel
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>
>  
>

-- 
"I'd rather have a bottle in front of me, than a frontal lobotomy."
-- Tom Waits 



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




Re: [svg-developers] Screen extents

2005-12-11 Thread Sean Montague
You could try innerWidth & innerHeight or if you have embeded it in html:
parent.document.SvgMap.clientWidth
parent.document.SvgMap.clientHeight

G. Wade Johnson wrote:

>I know there must be an easy answer to this, but how do I get the actual width
>and height of the viewer. I am not looking for the width and height of the svg
>or for the viewBox values.
>
>I am building an SVG image on the fly and sending it to the viewer. This image
>may be larger than the area that the viewer can display. I want to find the
>area that the viewer displays so that I can modify the image based on what is
>currently displayed.
>
>I've normally layed out my displays so that this is not a problem. In this
>case, I do not have that option.
>
>Thanks,
>G. Wade
>  
>


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/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/
 




Re: [svg-developers] Re: Firefox 1.5 mouseover

2005-12-07 Thread Sean
I uploaded the file, "test.zip: slow mouseover event FF 1.5".  If my 
code is OK, Ill forward it to Mozilla.  As far as opacity goes, I did 
not set those values.

Sean

Andreas Neumann wrote:

>Do you have an example? 
> 
>Did you post it at the mozilla svg newsgroup or wrote a bug report? 
> 
>see http://groups.google.com/group/netscape.public.mozilla.svg 
> 
>examples are essential to help them work on performance/bugs, etc. 
> 
>Is there a lot of opacity involved in the examples? 
> 
>Andreas 
> 
>--- In svg-developers@yahoogroups.com, Sean Montague <[EMAIL PROTECTED]> 
>wrote: 
>  
>
>>I'm testing FF 1.5, and have an svg file with mouseover events.  
>>    
>>
>FF is  
>  
>
>>laboriously slow.  Has anyone had similar problems? 
>> 
>>Sean 
>>
>>
>>
> 
>
>
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>  
>


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/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] Firefox 1.5 mouseover

2005-12-07 Thread Sean Montague
I'm testing FF 1.5, and have an svg file with mouseover events.  FF is 
laboriously slow.  Has anyone had similar problems?

Sean


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/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/
 





Re: [svg-developers] Re: load imagery TerraServer

2005-12-01 Thread Sean
With regards to TerraServer imagery, there is a delay between when I 
update the image tag, and when the image shows up.  Ideally, I'd know 
when it shows up.  As you suggested, I put a message behind the image 
that tells the user that it is loading, which disappears behind the 
image once it is loaded.  Ideally, the message would be in front of the 
image and all other svg graphics, but since I don't know of a way to 
determine when the image is done loading, I have no way of deciding when 
to hide the message.  So it is always on behind all the graphics and the 
image.  Not too much of big deal with lines, but polygons will mess 
things up.

Sean

Andreas Neumann wrote:

>I don't understand your problem here - what exactly do you mean by "are in 
>front"?
>
>Do you have a problem with document order?
>
>You can always reorder the elements and make sure that the image covers the 
>text, using 
>script.
>
>Andreas
>
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>I implemented your recommendation, and something that did not occur to 
>>me initially is that all the svg graphics are in front.  Like you said, 
>>not very elegant, but at least the user knows something is happening.  
>>If anyone has other ideas, I'm all ears...or maybe eyes.  Thanks.
>>
>>
>>
>
>
>
>
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>  
>


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/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/
 




Re: [svg-developers] Re: load imagery TerraServer

2005-12-01 Thread Sean
I implemented your recommendation, and something that did not occur to 
me initially is that all the svg graphics are in front.  Like you said, 
not very elegant, but at least the user knows something is happening.  
If anyone has other ideas, I'm all ears...or maybe eyes.  Thanks.

Sean

Andreas Neumann wrote:

>I don't have a real solution, unfortunately, but the same problem.
>
>Maybe you can display a text stating "image loading ..." behind the
>image, which is then covered by the image, once it is loaded - not
>very elegant and does not work if your image is transparent but maybe
>better than nothing.
>
>Andreas
>
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>I'm loading TerraServer imagery into my svg map, which can take a
>>
>>
>moment 
>  
>
>>or two to download.  The delay can cause the user to think something is 
>>wrong.  Is there a way to detect when the imagery is done
>>
>>
>downloading so 
>  
>
>>I can tell the user it is loading?  Thanks.
>>
>>Sean
>>
>>
>>
>
>
>
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>  
>


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/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/
 




Re: [svg-developers] Re: load imagery TerraServer

2005-11-30 Thread Sean
Good idea, thanks.  In an ideal world, it would be easy.  For now, 
whatever works.

Sean

Andreas Neumann wrote:

>I don't have a real solution, unfortunately, but the same problem.
>
>Maybe you can display a text stating "image loading ..." behind the
>image, which is then covered by the image, once it is loaded - not
>very elegant and does not work if your image is transparent but maybe
>better than nothing.
>
>Andreas
>
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>I'm loading TerraServer imagery into my svg map, which can take a
>>
>>
>moment 
>  
>
>>or two to download.  The delay can cause the user to think something is 
>>wrong.  Is there a way to detect when the imagery is done
>>
>>
>downloading so 
>  
>
>>I can tell the user it is loading?  Thanks.
>>
>>Sean
>>
>>
>>
>
>
>
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>  
>


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/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] load imagery TerraServer

2005-11-30 Thread Sean
I'm loading TerraServer imagery into my svg map, which can take a moment 
or two to download.  The delay can cause the user to think something is 
wrong.  Is there a way to detect when the imagery is done downloading so 
I can tell the user it is loading?  Thanks.

Sean


 Yahoo! Groups Sponsor ~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/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/
 




Re: [svg-developers] Re: stroke-dasharray

2005-09-20 Thread Sean
Thank you both.

Francis Hemsher wrote:

>Try setting fill to "none"
>
>Francis
>
>
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>I'm using this, stroke-dasharray="1% 0.5%", which works fine in other 
>>
>>
>areas of my SVG, but for some reason, I am now getting a solid black 
>line between the dashes.  Has any one had this problem?  Thank you.
>  
>
>>Sean
>>
>>
>
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>
>  
>


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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] preserveAspectRatio='none' and text

2005-09-20 Thread Sean
Is there a way to stretch the the x and y axis without distorting the text?  
Thank you.

Sean



 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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] stroke-dasharray

2005-09-20 Thread Sean
I'm using this, stroke-dasharray="1% 0.5%", which works fine in other areas of 
my SVG, but for some reason, I am now getting a solid black line between the 
dashes.  Has any one had this problem?  Thank you.

Sean



 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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/
 





Re: [svg-developers] Re: Set Focus

2005-09-02 Thread Sean
I thought of that too and have been working in that direction instead.  
Thanks.

Francis Hemsher wrote:

>Hi Sean,
>
>Someday this loss of focus may be fixed.
>
>I think the best way to handle the problem at this time is to place 
>those alerts and the required response within the svg image, keeping 
>the user 'focused' therein. It takes a bit more programming, but it 
>will be seamless for your users.
>
>Francis
>
>
>
>
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>I have an SVG embedded in an html document.  I have several 
>>
>>
>buttons 
>  
>
>>that  do various tasks, but it is important  that  certain tasks 
>>
>>
>not be 
>  
>
>>attempted at the same time, so I  capture conflicts with 
>>
>>
>javascript 
>  
>
>>alert warning the user.  The user will hit OK, but the app has 
>>
>>
>lost 
>  
>
>>focus, which is a pain, because now the user must click on the svg 
>>
>>
>app 
>  
>
>>to regain focus.  I've tried parent.document.SvgMap.focus();, but 
>>
>>
>it 
>  
>
>>doesn't seem to work.  Any suggestions?  Thanks.
>>
>>Sean
>>
>>
>
>
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>  
>


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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] SVG & PHP

2005-09-01 Thread Sean
I just decided to do a particular SVG doc with php.  I now have a 
problem with the js code.  The doc is embedded in an html doc.  This 
piece of code worked before I changed it to php;
myWidth = parent.document.getElementById("SvgMap").clientWidth;

now I get;

---
Microsoft JScript runtime error
---
Object required

line: 38, column: 4
---
OK  
---

It doesn't seem like it should change to me.  Any thoughts?  Thanks.

Sean


 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/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] Set Focus

2005-09-01 Thread Sean
I have an SVG embedded in an html document.  I have several buttons 
that  do various tasks, but it is important  that  certain tasks not be 
attempted at the same time, so I  capture conflicts with javascript 
alert warning the user.  The user will hit OK, but the app has lost 
focus, which is a pain, because now the user must click on the svg app 
to regain focus.  I've tried parent.document.SvgMap.focus();, but it 
doesn't seem to work.  Any suggestions?  Thanks.

Sean


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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/
 




Re: [svg-developers] Renesis Viewer and SVG Open 2005

2005-08-16 Thread Sean
Here's a blog.  http://www.understandingxml.com/
He has not posted yet, but says he would give daily updates.

Alastair Fettes wrote:

>So I can see by the schedule for the conference that the Renesis
>viewer was to be presented today, just a little while ago.  Anyone
>have some up to date news on this?  Is the viewer available for
>download anywhere?
>
>http://www.svgopen.org/2005/proceedings.do#paper42
>
>Thanks,
>Alastair
>
>PS.  Anyone have a list of blogs?
>
>
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>  
>


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h5b1v2m/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1124227083/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

-
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] JPEG 2000

2005-08-10 Thread Sean
   1.
  Sean
  8/10/2005 | 5:28 pm <http://www.gosvg.net/?p=22#comment-119>

  Will jpeg 2000 be supported?

   2.
  Renesis Team 
  8/11/2005 | 2:18 am <http://www.gosvg.net/?p=22#comment-120>

  @Ivar
  Yes the binary xml works like the standard DOM3. Yes it’ll also
  hide scripts and stuff.

  @Sean
  Yep



 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hfmqp90/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1123727931/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

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





Re: [svg-developers] Re: how to draw rialroad line style in SVG

2005-07-19 Thread Sean
Cool, you beat me to it.

Kerry Coffin wrote:

>As an alternative, how about (using the example):
>
>
>
>
>]>
>http://www.w3.org/2000/svg";
>xmlns:xlink="http://www.w3.org/1999/xlink";>
>
>
>stroke="#333" stroke-width="1"/>
>stroke="#333" stroke-width="1"/>
>
>
>stroke="#000" stroke-width="2" />
>stroke-width="8" stroke-dasharray="1,10,1,10"/>
>
>stroke="#000" stroke-width="2" />   
>stroke-width="8" stroke-dasharray="1,10,1,10"/>
>
>stroke="#000" stroke-width="2" />   
>stroke-width="8" stroke-dasharray="1,10,1,10"/>
>
>stroke="#000" stroke-width="2" />   
>stroke-width="8" stroke-dasharray="1,10,1,10"/>
>
>
> 
>Kerry Coffin
>Internet Solutions, ESRI
>www.esri.com  
> 
> 
> 
> 
>-Original Message-
>From: svg-developers@yahoogroups.com
>[mailto:[EMAIL PROTECTED] On Behalf Of Heiko Niemann
>Sent: Monday, July 18, 2005 11:26 PM
>To: svg-developers@yahoogroups.com
>Subject: [svg-developers] Re: how to draw rialroad line style in SVG
> 
>Hi,
>
>here is a sample where you can see what Peter Kalev suggested: 
>
>http://www.zuccaralloo.de/devgroup/samples/railroad.svg
>
>So you could define entities which makes things easier when you need
>to change a path. Since this sample also uses textpath and animation
>it probably just will run with ASV3/ASV6.
>
>Regards,
>
>Heiko
>
>http://www.zuccaralloo.de/devgroup
>
>
>--- In svg-developers@yahoogroups.com, "zhg331" <[EMAIL PROTECTED]> wrote:
>  
>
>>Hi group, I am a beginner with SVG. I want to know is there any way to
>>
>>
>
>  
>
>>draw railroad line with SVG. many thanks
>>
>>
>
>
>
>
>-
>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 
> 
>*  Visit your group "svg-developers
> " on the web.
>  
>*  To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> 
>  
>*  Your use of Yahoo! Groups is subject to the Yahoo!
>  Terms of Service. 
> 
>  _  
>
>
>
>[Non-text portions of this message have been removed]
>
>
>
>-
>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 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/
 




Re: [svg-developers] Re: how to draw rialroad line style in SVG

2005-07-19 Thread Sean
I got inspired by this technique and expanded on it.  I uploaded the file.

Heiko Niemann wrote:

>Hi,
>
>here is a sample where you can see what Peter Kalev suggested: 
>
>http://www.zuccaralloo.de/devgroup/samples/railroad.svg
>
>So you could define entities which makes things easier when you need
>to change a path. Since this sample also uses textpath and animation
>it probably just will run with ASV3/ASV6.
>
>Regards,
>
>Heiko
>
>http://www.zuccaralloo.de/devgroup
>
>
>--- In svg-developers@yahoogroups.com, "zhg331" <[EMAIL PROTECTED]> wrote:
>  
>
>>Hi group, I am a beginner with SVG. I want to know is there any way to 
>>draw railroad line with SVG. many thanks
>>
>>
>
>
>
>
>-
>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 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/
 




Re: [svg-developers] generalization problems

2005-07-15 Thread Sean
I'm just going to work around it for now and hope the Renesis SVG Viewer 
takes care of it.  Shifting the data works for now.  In my attempts to 
solve this problem, I noticed things about exporting SVG from ArcView 
3.x.  I exported it to 3 decimal places.  I then imported the exact same 
data into a postGIS database, and exported AsSVG to 3 decimal places.  
The rounding was different in the two SVG files.  The postGIS SVG was 
smoother with fewer generalizations.  It is significant enough at the 
scale I'm exporting SVG files at to convince me postGIS is the way to go 
for producing SVG from shape files.  Ironically, file size was the 
same.  Thought maybe some people would find this interesting.

Sean

Ronan Oger wrote:

>Sean, 
>
>This looks like a browser issue. Maybe you should take it up with Adobe.
>
>Ronan
>
>On Wednesday 13 July 2005 17:59, Sean wrote:
>  
>
>>I have an issue that has nagged me, but until now, I have always found
>>ways around it.  I have two identical shapes, same pixel dimensions and
>>same precision, 4 decimal places.  One is in UTM coordinates with the
>>upper left corner of the view box set at 510441 -4300624, and the other
>>shifted closer to 0 0 at -13 -14.  The shape at 510441 -4300624 has its
>>shape generalized.  Curves are jagged and so on, the other is
>>unaffected.  Any ideas why this happens and is there a fix?  Thanks.
>>
>>
>>-
>>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 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/
 




Re: [svg-developers] generalization problems

2005-07-14 Thread Sean
Is there a known size at which point this problem presents itself?

Barend Köbben wrote:

>no solution but an affirmation of the problem: using big coordinates (either 
>big numbers and/or lots of decimals) apperently gets the ASV into rounding 
>problems went recalculating to the screen coordinates. I have the impression 
>ASV6pr is even worse then ASV 3, but do not know about the other renderers...
> 
> 
>Barend Köbben 
>International Institute for Geo-information Sciences and  Earth Observation 
>(ITC) 
>PO Box 6, 7500AA Enschede (The Netherlands) 
>ph: +31-(0)534874253; fax: +31-(0)534874335 
>_ 
>
>
>
>From: svg-developers@yahoogroups.com on behalf of Sean
>Sent: Wed 13/07/2005 19:59
>To: svg-developers@yahoogroups.com
>Subject: [svg-developers] generalization problems
>
>
>
>I have an issue that has nagged me, but until now, I have always found
>ways around it.  I have two identical shapes, same pixel dimensions and
>same precision, 4 decimal places.  One is in UTM coordinates with the
>upper left corner of the view box set at 510441 -4300624, and the other
>shifted closer to 0 0 at -13 -14.  The shape at 510441 -4300624 has its
>shape generalized.  Curves are jagged and so on, the other is
>unaffected.  Any ideas why this happens and is there a fix?  Thanks.
>
>
>-
>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
>
>
>
>
>
>
>
>
>
>
>[Non-text portions of this message have been removed]
>
>
>
>-
>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 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] generalization problems

2005-07-13 Thread Sean
I have an issue that has nagged me, but until now, I have always found 
ways around it.  I have two identical shapes, same pixel dimensions and 
same precision, 4 decimal places.  One is in UTM coordinates with the 
upper left corner of the view box set at 510441 -4300624, and the other 
shifted closer to 0 0 at -13 -14.  The shape at 510441 -4300624 has its 
shape generalized.  Curves are jagged and so on, the other is 
unaffected.  Any ideas why this happens and is there a fix?  Thanks.


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




Re: [svg-developers] onKeyDown

2005-07-05 Thread Sean
Either my cash was causing the problem or changing to all lower case 
like onkeydown="aKeyDown();" worked, but either way. problem solved.

Sean wrote:

>Can SVG capture key down and up events?  I'm using 
>onKeyDown="aKeyDown();", but it doesn't seem to want to work.  It works 
>when I use it in the body of the html.  Thanks.
>
>Sean
>
>
>-
>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 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] onKeyDown

2005-07-05 Thread Sean
Can SVG capture key down and up events?  I'm using 
onKeyDown="aKeyDown();", but it doesn't seem to want to work.  It works 
when I use it in the body of the html.  Thanks.

Sean


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




Re: [svg-developers] The Future of SVG

2005-06-28 Thread Sean
"Free Beer Tonight" isn't so useful if no one knows about it.  The whole idea 
is to everyone with SVG viewing capabilities whether they know it or not.



Doug Schepers wrote:

>"Free Beer Tonight" would be more appropriate. The nightly Firefox builds
>have SVG turned on by default.
>
>MozSVG will make its prime-time appearance in Firefox 1.1, which will
>hopefully be in the next month or 2. It was due out in early June, but it
>got pushed back.
>
>But if you want to see a preview, download the nightly. Even better, be a
>good Web Citizen and test it out and make bug reports.
>
>Regards-
>Doug
>
>doug . schepers  @ vectoreal.com
>www.vectoreal.com ...for scalable solutions.
> 
>
>Rick Bullotta wrote:
>| 
>| 
>| 
>| Reminds me of one of my favorite signs in a bar...
>| 
>| "Free Beer Tomorrow"
>| 
>| 
>| -Original Message-
>| From: svg-developers@yahoogroups.com
>| [mailto:[EMAIL PROTECTED] On Behalf Of Sean
>| Sent: Tuesday, June 28, 2005 11:25 AM
>| To: svg-developers@yahoogroups.com
>| Subject: Re: [svg-developers] The Future of SVG
>| 
>| "However, the FireFox browser will soon have native SVG support."
>| 
>| We've been hearing this for a long time.
>| 
>
>
>
>-
>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 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/
 




Re: [svg-developers] The Future of SVG

2005-06-28 Thread Sean
"However, the FireFox browser will soon have native SVG support."

We've been hearing this for a long time.

Doug Schepers wrote:

>Hi, Sylvain-
>
>Until recently, I would have agreed with you.
>
>However, the FireFox browser will soon have native SVG support. I doubt that
>IE7 will, because Microsoft does not implement open standards unless they
>absolutely have to. However, EvolGraphiX intends to release a browser plugin
>based on Maxim Shemanarev's excellent AGG vector engine. Their stated intent
>is to make it fully compliant with the Spec, which Adobe has never done.
>Also, as I understand it, they are aiming toward a broader range of support,
>with Mac and Linux treated as first-class citizens
>
>In the mobile space, Adobe has never been a player, and there are at least 3
>viewers there.
>
>That being said, I think that Adobe has the opportunity to leverage the
>authoring tools that they have acquired in buying Macromedia to create a
>great environment for creating SVG/Flash content for desktop and mobile
>devices. EvolGraphiX also has XStudio, which will be improved and tuned to
>maximize their viewer.
>
>In short, I think that the burden of SVG has been lifted from Adobe's
>shoulders, which will hopefully improve its adoption for everyone... Adobe
>included. The more people in the market, the more everyone has to gain; a
>rising tide raises all ships.
>
>Oh, and don't forget all the ancillary SVG tools, like Batik, InkScape,
>SodiPodi, FOP, etc... They have nothing to do with Adobe, and they all
>leverage and enhance SVG.
>
>Regards-
>Doug
>
>doug . schepers  @ vectoreal.com
>www.vectoreal.com ...for scalable solutions.
> 
>
>Sylvain Rouillard wrote:
>| 
>| Hi,
>| 
>| Going straight to the point here, I hope you don't mind...
>| 
>| What's the official position of Adobe concerning SVG these 
>| days? What key factors would push this internal SVG decoder 
>| in the sunlight or doom it to stay in Adobe's archives? And 
>| finally (dare I ask), what are the officious odds for one way 
>| or the other?
>| 
>| I'm hoping you can answer at least a few of these questions. 
>| The way I see it, SVG's future is basically in Adobe's hands, so...
>| 
>| Cheers
>| 
>| Le Lundi 27 Juin 2005 20:36, Jon Ferraiolo a écrit :
>| 
>| > new internal SVG code base, which would be part of the next 
>| major SVG 
>| > release if/when that release sees the light of day.
>| 
>|  
>| 
>|  
>|  
>| __
>| _
>| Appel audio GRATUIT partout dans le monde avec le nouveau 
>| Yahoo! Messenger Téléchargez cette version sur 
>| http://fr.messenger.yahoo.com
>| 
>| 
>| 
>| -
>| 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
>| 
>| 
>| 
>|  
>| 
>| 
>| --
>| No virus found in this incoming message.
>| Checked by AVG Anti-Virus.
>| Version: 7.0.323 / Virus Database: 267.8.2/29 - Release Date: 
>| 6/27/2005
>|  
>| 
>
>
>
>-
>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 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/
 




Re: [svg-developers] Re: JavaScript embeded SVG

2005-06-23 Thread Sean
It does set it properly, which then reruns the onLoad event, making the 
SVG work properly.  There are several different instances when I need to 
reset the source, one is actually done from within the HTML doc, and 
throws no error.  Only when I reset the embed tag from javascript 
referenced within the SVG doc, which is where the parent.document comes 
in.  I'm thinking that it has more to with how the HTML is referenced.  
I gutted much of the SVG to save on size, it behaves the same.


http://www.w3.org/TR/SVG/DTD/svg10.dtd";>
http://www.w3.org/2000/svg";>







http://www.w3.org/2000/svg";>






































Loading Data ...

   

  http://www.w3.org/2000/svg";>


  
  
  
  
  
  
  
  

 




Alastair Fettes wrote:

>So it resets the source.  Does it do this properly?  Could you show
>the index2.svg document to see if its something in there?
>
>I haven't worked much with setSrc but we should be able to get to the
>bottom of this...
>
>Alastair
>
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>The second alert never appears after the error.  It occurs when the it 
>>sets the Src.  It dose reset the Src, but then bails on finishing the 
>>function after throwing the error.
>>
>>function back(){
>>var svgMap = parent.document.getElementById("SvgMap");
>>// look at what you retrieved
>>alert(svgMap);
>>if( svgMap != null ){
>>svgMap.setSrc("index2.svg");
>>}
>>alert(svgMap);
>>}
>>
>>
>>Alastair Fettes wrote:
>>
>>
>>
>>>So what line is it giving you the error on?  What scripting
>>>environment is this occuring in?  In ASV, MSIE, Firefox, etc?
>>>
>>>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>>> 
>>>
>>>  
>>>
>>>>---
>>>>Alert
>>>>---
>>>>[object]
>>>>---
>>>>OK  
>>>>---
>>>>
>>>>Then gives me the error, then sets the Src anyway.
>>>>
>>>>Alastair Fettes wrote:
>>>>
>>>>   
>>>>
>>>>
>>>>
>>>>>try this to debug it:
>>>>>
>>>>>function back()
>>>>>{
>>>>>  var svgmap = parent.document.getElementById("SvgMap");
>>>>>
>>>>>  // look at what you retrieved
>>>>>  alert( svgmap );
>>>>>
>>>>>  if( svgmap != null )
>>>>>  {
>>>>>  svgmap.setSrc("index2.svg");
>>>>>  }
>>>>>}
>>>>>
>>>>>Alastair
>>>>>
>>>>>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>  
>>>>>
>>>>>>Below is a function in some JS that is referenced in the embeded
>>>>>>
>>>>>>
>SVG 
>  
>
>>>>>>file.  It works, but not without throwing up this:
>>>>>>
>>>>>>---
>>>>>>Script error
>>>>>>---
>>>>>>Unknown error
>>>>>>
>>>>>>line: 3, column: 0
>>>>>>---
>>>>>>OK  
>>>>>>---
>>>>>>
>>>>>>which is the closing "}".
>>>>>>
>>>>>>function back(){
>>>>>>  parent.document.getElementById("SvgMap").setSrc("index2.svg");
>>>>>>}
>>>>>>
>>>>>>I need to referenc

Re: [svg-developers] Re: JavaScript embeded SVG

2005-06-22 Thread Sean
The second alert never appears after the error.  It occurs when the it 
sets the Src.  It dose reset the Src, but then bails on finishing the 
function after throwing the error.

function back(){
var svgMap = parent.document.getElementById("SvgMap");
// look at what you retrieved
alert(svgMap);
if( svgMap != null ){
svgMap.setSrc("index2.svg");
}
alert(svgMap);
}


Alastair Fettes wrote:

>So what line is it giving you the error on?  What scripting
>environment is this occuring in?  In ASV, MSIE, Firefox, etc?
>
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>---
>>Alert
>>---
>>[object]
>>---
>>OK  
>>---
>>
>>Then gives me the error, then sets the Src anyway.
>>
>>Alastair Fettes wrote:
>>
>>
>>
>>>try this to debug it:
>>>
>>>function back()
>>>{
>>>   var svgmap = parent.document.getElementById("SvgMap");
>>>
>>>   // look at what you retrieved
>>>   alert( svgmap );
>>>
>>>   if( svgmap != null )
>>>   {
>>>   svgmap.setSrc("index2.svg");
>>>   }
>>>}
>>>
>>>Alastair
>>>
>>>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>>> 
>>>
>>>  
>>>
>>>>Below is a function in some JS that is referenced in the embeded SVG 
>>>>file.  It works, but not without throwing up this:
>>>>
>>>>---
>>>>Script error
>>>>---
>>>>Unknown error
>>>>
>>>>line: 3, column: 0
>>>>---
>>>>OK  
>>>>---
>>>>
>>>>which is the closing "}".
>>>>
>>>>function back(){
>>>>   parent.document.getElementById("SvgMap").setSrc("index2.svg");
>>>>}
>>>>
>>>>I need to reference the embedded svg the reset the svg, which is
>>>>
>>>>
>in the 
>  
>
>>>>parent document.
>>>>
>>>>Any ideas as to what is going on?  Thanks.
>>>>
>>>>Sean
>>>>   
>>>>
>>>>
>>>>
>>>
>>>
>>>-
>>>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 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 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/
 




Re: [svg-developers] Re: JavaScript embeded SVG

2005-06-21 Thread Sean
---
Alert
---
[object]
---
OK  
---

Then gives me the error, then sets the Src anyway.

Alastair Fettes wrote:

>try this to debug it:
>
>function back()
>{
>var svgmap = parent.document.getElementById("SvgMap");
>
>// look at what you retrieved
>alert( svgmap );
>
>if( svgmap != null )
>{
>svgmap.setSrc("index2.svg");
>}
>}
>
>Alastair
>
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>Below is a function in some JS that is referenced in the embeded SVG 
>>file.  It works, but not without throwing up this:
>>
>>---
>>Script error
>>---
>>Unknown error
>>
>>line: 3, column: 0
>>---
>>OK  
>>---
>>
>>which is the closing "}".
>>
>>function back(){
>>parent.document.getElementById("SvgMap").setSrc("index2.svg");
>>}
>>
>>I need to reference the embedded svg the reset the svg, which is in the 
>>parent document.
>>
>>Any ideas as to what is going on?  Thanks.
>>
>>Sean
>>
>>
>
>
>
>
>-
>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 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] JavaScript embeded SVG

2005-06-21 Thread Sean
Below is a function in some JS that is referenced in the embeded SVG 
file.  It works, but not without throwing up this:

---
Script error
---
Unknown error

line: 3, column: 0
---
OK  
---

which is the closing "}".

function back(){
parent.document.getElementById("SvgMap").setSrc("index2.svg");
}

I need to reference the embedded svg the reset the svg, which is in the 
parent document.

Any ideas as to what is going on?  Thanks.

Sean


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




Re: [svg-developers] Re: GoSVG.NET (Renesis SVG Viewer) has gone online!

2005-05-04 Thread Sean
Will this replace the Adobe plugin?

Alexander Adam wrote:

>hi,
>
>  
>
>>Looks promising. Any hope to see a public beta at some point prior to  
>>the actual release? I'm most interested in a Mac version by the way.
>>
>>
>
>Yes, the version shown at the SVGOpen2005 will be a beta which should
>go public around 2-3 weeks after that. And there'll be beta versions
>for all supported environments including Mac.
>
>thanks!
>Alexander Adam
>EvolGrafiX - http://www.evolgrafix.com
>GoSVG.NET! - http://www.gosvg.net
>
>
>
>
>-
>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 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/
 




Re: [svg-developers] appendChild question

2005-04-25 Thread Sean

Below is the syntax I'm using to parse the the SVG doc.  
svgdoc.importNode(child,true); is what is giving me the "Not 
implemented" error.

node = parseXML(data.content, document);
child = node.firstChild;
while(child != null){
// get sibling BEFORE parent changes
childSibling = child.nextSibling;
if(child.nodeType==1){
theID = child.getAttributeNS(null,"id");
theMap=svgdoc.getElementById("map2");
var nodeToImport = svgdoc.importNode(child,true);
myGeometryToAdd = theMap.getElementById(theID+"1");
myGeometryToAdd.appendChild(nodeToImport);
}
child = childSibling;
}


Robin Berjon wrote:

>Sean wrote:
>  
>
>>The impportNode() method is the way to go, I think.  I get an error 
>>stating that it is "Not Implemented".
>>
>>
>
>Oh right, I'd forgotten that big ugly bug in Adobe's implementation. 
>Since you seem to be using parseXML(), use its second argument to pass 
>the document you want to insert into, that way the nodes it creates will 
>already be in the right document.
>
>  
>


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





Re: [svg-developers] appendChild question

2005-04-22 Thread Sean

Correction, getURL(), not parseXML().

Sean wrote:

>Does parseXML() need to run embedded with the SVG?  I can't get 
>parseXML() to work from an external script.
>
>Robin Berjon wrote:
>
>  
>
>>Sean wrote:
>> 
>>
>>
>>
>>>As a test I added a name
>>>variable to each myGeometryToAdd node, and I am able to correctly
>>>retrieve it in each case.  Am I not allowed to append one document
>>>  
>>>
>>>from another?
>>
>>
>>>   
>>>
>>>  
>>>
>>Indeed you are not. You need to call the importNode() method first. The 
>>DOM Core specification explains this in greater detail.
>>
>> 
>>
>>
>>
>
>
>[Non-text portions of this message have been removed]
>
>
>
>-
>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
>
>
>
> 
>
>
>
>
>
>.
>
>  
>


[Non-text portions of this message have been removed]



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





Re: [svg-developers] appendChild question

2005-04-22 Thread Sean

Does parseXML() need to run embedded with the SVG?  I can't get 
parseXML() to work from an external script.

Robin Berjon wrote:

>Sean wrote:
>  
>
>>As a test I added a name
>>variable to each myGeometryToAdd node, and I am able to correctly
>>retrieve it in each case.  Am I not allowed to append one document
>>from another?
>>
>>
>
>Indeed you are not. You need to call the importNode() method first. The 
>DOM Core specification explains this in greater detail.
>
>  
>


[Non-text portions of this message have been removed]



-
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] appendChild question

2005-04-22 Thread Sean

Below I have two almost identical js loops.  The first works, and the second 
does too right up to the point of appending the child.  The first is embedded 
in my map, the second in the legend.  The second is used to append the map when 
the user clicks on a layer that has not yet been loaded.  My alerts indicate 
that myGeometryToAdd is properly retrieved via getElementById(theID+"1"), but 
when myGeometryToAdd.appendChild(child) is executed inside the Legend js, it 
throws the error "Wrong Document".  As a test I added a name variable to each 
myGeometryToAdd node, and I am able to correctly retrieve it in each case.  Am 
I not allowed to append one document from another?


---Map
while(child != null){
 // get sibling BEFORE parent changes
 childSibling = child.nextSibling;
 if(child.nodeType==1){
  theID = child.getAttributeNS(null,"id");
  myGeometryToAdd = document.getElementById(theID+"1");
  alert(window.printNode(myGeometryToAdd));
  alert(window.printNode(child));
  alert(myGeometryToAdd.getAttribute("name"));
  myGeometryToAdd.appendChild(child);
 }
 // continue processing with sibling
 child = childSibling;
}

---Legend
while(child != null){
 // get sibling BEFORE parent changes
 childSibling = child.nextSibling;
 if(child.nodeType==1){
  theID = child.getAttributeNS(null,"id");
  theMap=window.parent.document.getElementById("map")
  myGeometryToAdd = theMap.getElementById(theID+"1");
  alert(window.printNode(myGeometryToAdd));
  alert(window.printNode(child));
  alert(myGeometryToAdd.getAttribute("name"));
  myGeometryToAdd.appendChild(child);
 }
 // continue processing with sibling
 child = childSibling;
}



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





Re: [svg-developers] Re: appendChild question

2005-04-22 Thread Sean

I should be more clear.  I did get it to work externally when it was 
referenced in the SVG file itself.  If I referenced it in thu HTML file 
I embedded the SVG in, then it doesn't work.

ctl271 wrote:

>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>  
>
>>Correction, getURL(), not parseXML().
>>
>>Sean wrote:
>>
>>
>>
>>>Does parseXML() need to run embedded with the SVG?  I can't get 
>>>parseXML() to work from an external script.
>>>  
>>>
>
>
>Shouldn't need to be.  I use postURL from external script on a regular 
>basis without any trouble, and I can't imagine getURL would behave 
>differently...
>
>cheers,
>Chris
>
>
>
>
>
>
>-
>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
>
>
>
> 
>
>
>
>
>
>.
>
>  
>


[Non-text portions of this message have been removed]



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





Re: [svg-developers] appendChild question

2005-04-22 Thread Sean

The impportNode() method is the way to go, I think.  I get an error 
stating that it is "Not Implemented".

while(child != null){
 childSibling = child.nextSibling;
 if(child.nodeType==1){
  theID = child.getAttributeNS(null,"id");
  theMap=svgdoc.getElementById("map2");

  var nodeToImport = svgdoc.importNode(child, true);

  myGeometryToAdd = theMap.getElementById(theID+"1");
  myGeometryToAdd.appendChild(nodeToImport);
 }
 child = childSibling;
}

Robin Berjon wrote:

>Sean wrote:
>  
>
>>As a test I added a name
>>variable to each myGeometryToAdd node, and I am able to correctly
>>retrieve it in each case.  Am I not allowed to append one document
>>from another?
>>
>>
>
>Indeed you are not. You need to call the importNode() method first. The 
>DOM Core specification explains this in greater detail.
>
>  
>


[Non-text portions of this message have been removed]



-
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] Adobe Pan Move mouseUp

2005-04-20 Thread Sean

When using the Adobe pan tool, if I do not move the cursor, my mouseUp 
event works.  If I move it, it does not.  Is there a way to capture the 
mouse up event when done panning?  Thanks.


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





Re: [svg-developers] Adobe buys Macromedia

2005-04-18 Thread Sean

Would it be safe to assume that even when the 1.2 spec is final, Adobe 
won't put out a final version of ASV 6?

mkidson wrote:

>Adobe to buy Macromedia for $3.4 billion
>http://tinyurl.com/dsmlc
>
>Mike
>
>
>
>
>
>-
>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 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/
 





Re: [svg-developers] Urgent: Replacing current SVG with new one via Java Script

2005-04-15 Thread Sean

You'll need php, pearl or a similar language.  If php, in your html you 
would have 

The js would look something like this.
theSVC=window.document.embeds[0];
theSVG.setSrc("svg.php?oid=*&style=*&float:left=*&align=*")

tharahan wrote:

>I have an html file contains embeded svg and javascript function 
>which called by triggering an event.
>
>My problem is , I have to replace the url for fetching dynamic svg 
>from server as a stream of characters via js
>
>This is my html
>
>
>
>test meta
>
>
>
>
>
>function testHTM()
>{
>  alert("HTML ");
>  //   how to replace the "src" parameter to call the url 
>with different oid
>}
>
>
>
>
>
>
>
>Thanks
>Tharahan
>
>
>
>
>
>-
>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 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/
 





Re: [svg-developers] Re: & CSS border attribute

2005-04-15 Thread Sean

What was I thinking?!?  Thanks.

Holger Will wrote:

>Andreas Neumann wrote:
>
>  
>
>>
>>you can use
>>
>>
>>
>>
>
>sadly this still doesnt solve the problem.
>but if you use your style on the embedd directly ( not the div ) the 
>problem is gone...
>
>
>#border {width:850px;height:675px;border: 1px solid black}
>
>
>
>width="850px" height="675px" type="image/svg+xml" />
>
>
>hth
>Holger
>
>
>
>
>-
>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 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/
 





Re: [svg-developers] & CSS border attribute

2005-04-14 Thread Sean

I thought it would work, but it did not.  Thanks anyway.

sidonie wrote:

>Try
>
>
>#border {position: 
>absolute;top:0px;left:0px;width:850px;height:675px;border: 1px solid black}
> 
>
> 
> width="100%" height="100%" type="image/svg+xml" />
> 
>
>- Original Message - 
>From: "Sean" <[EMAIL PROTECTED]>
>To: 
>Sent: Thursday, April 14, 2005 7:57 PM
>Subject: Re: [svg-developers]  & CSS border attribute
>
>
>  
>
>>I posted a few days ago a question about there being about a 2px or 3px:
>>padding of a border around an embeded svg, but haven't gotten any
>>responses.  It seems to be a CSS issue.  Anyway, below is the code
>>snipet.  Any insight would be appreciated.  Thanks.
>>
>>
>>   #border {position: absolute;border: 1px solid black}
>>
>>
>>
>>   >width="850px" height="675px" type="image/svg+xml" />
>>
>>
>>
>>-
>>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 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 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/
 





  1   2   >