SVG IRC Chat Logs for 2008-08-17

This is the automatically generated IRC log made by the logger bot from the SVG IRC chat at irc.freenode.net port 6667 channel #svg


You are here: Logs Home / 2008-08-17

00:41:07 <wormsxulla__> sim_test: i now have a flv of 249 frames!
00:41:19 <wormsxulla__> oops, sorry, wrong channel
04:39:51 <zekel> I'm trying to create a path with striped alternating colors. I haven't been able to find a way to do this (I can't get a pattern to work, but it's promising...).
04:40:30 <zekel> (Not that anyone's up right now. I'll lurk and hope someone has an answer or hint.)
05:16:18 <JonCruz> sure they are
05:16:27 <JonCruz> just not looking at their screens
05:20:58 <JonCruz> zekel: boo
05:21:07 <zekel> Hi
05:21:11 <zekel> I actually figured it out.
05:21:19 <zekel> JonCruz: Such a simple answer.
05:21:54 <zekel> Two identical dashed lines, with a starting offset on one equal to the dashed distance.
05:23:30 <JonCruz> Yeah. I was going to mention that dashes are your only help for following the path itself, not the imagined shape it contains
05:24:14 <zekel> Yeah. I thought that was the best I was going to get though, so I was pursuing it.
05:24:23 <zekel> Ended up with something like this, if you/anyone cares: http://pastie.textmate.org/private/gtprnixsy1ja2b2gcmmdaq
05:24:36 <zekel> SVG is really cool, but it's hard to find good examples.
07:18:17 <wormsxulla___> wormsxulla___ is now known as wormsxulla
07:36:45 * wormsxulla pings ed_work
07:37:44 <wormsxulla> ed_work: i'm sorry if i'm pinging you for no reason, but would you by any chance be the same "Ed" as the one who did that: http://www.halley.cc/code/?python/svgbuild.py ? (i have questions!)
15:30:10 <Agamemnus> is there any way to find out in IE (using Adobe SVG Viewer) when an SVG <embed> object was (actually) loaded? flame away
15:30:49 * Agamemnus dons flame-protection suit. Body/legs/boots, goggles, full face helmet, shield.
15:31:20 <Agamemnus> That is, if it was loaded in Javascript, the event that says "i'm loaded!"
15:32:10 <Agamemnus> I tried attachEvent('onload'), but myobj.getSVGDocument() returns an undefined error
16:38:07 <JibberJim> Agamemnus: easiest way would be to have the svg file call back to the page
16:38:18 <JibberJim> parent.IAmLoaded()
16:44:27 <Agamemnus> thank you, yes.
16:44:29 <Agamemnus> good idea
16:47:16 <Agamemnus> except it doesn't fire.
16:48:08 <Agamemnus> onload="alert('"
16:48:14 <Agamemnus> onload="alert('ar')" on the <svg>
16:48:15 <Agamemnus> nothing.
16:51:13 <Agamemnus> oh, looks like the SVG was cached and didn't get refreshed
16:52:18 <JibberJim> so it's okay now?
16:52:36 <JibberJim> there's window.evalScript( ); from the svg instance too if the parent.whatever doesn't work
17:00:02 <Agamemnus> no
17:00:06 <Agamemnus> it's not quite ok
17:00:13 <Agamemnus> in Firefox it works perfectly
17:00:23 <Agamemnus> in IE6, the returned object is "[window]"
17:00:31 <Agamemnus> my function is:
17:00:33 <Agamemnus> onload="window.top.ini_images_svgobj_onload(this)"
17:00:39 <Agamemnus> and inside I do alert(that)
17:02:13 <JibberJim> what do you want to return
17:02:17 <JibberJim> spell it out explicitly
17:02:33 <Agamemnus> the <g> in the svg object...
17:02:45 <Agamemnus> actually I think I can do a workaround if I return the id instead
17:02:49 <JibberJim> _onload(document.getElementById('yourg'))
17:03:08 <Agamemnus> ?
17:03:33 <Agamemnus> ok
17:03:35 <JibberJim> instead of passing this
17:03:40 <JibberJim> get the g element
17:06:01 <Agamemnus> just the id works better
17:06:05 <Agamemnus> if at all
17:06:07 <Agamemnus> still testing it
17:06:53 <Agamemnus> or... idk.
17:08:04 <Agamemnus> ok, that works. but it's a bit clumsy.
17:10:37 <Agamemnus> JibberJim, do you know any way to do something like: "onload(window.top.ini_images_svgobj_onload(myparent)" ?
17:11:01 <Agamemnus> If I can get the reference to the parent I can find out everything
17:11:17 <Agamemnus> I just don't want to be pasting onload="window.top.ini_images_svgobj_onload(document.getElementById('kuba_crystal_earth_recycle'))">
17:11:25 <Agamemnus> or something like that.. every time.
17:12:00 <JibberJim> no don't think so
17:12:04 <JibberJim> the this as you saw is screwed up
17:12:12 <JibberJim> ah hang on
17:12:32 <JibberJim> you can play with the event object
17:14:38 <JibberJim> onload=".... onload( event.target )
17:15:11 <JibberJim> or .currentTarget
18:12:29 <Agamemnus> thanks, I'll try it.
18:15:02 <Agamemnus> evt.target works perfectly
18:17:04 <Agamemnus> ok, now the remaining problem is removing the "click to activate and use this control"/focus stuff
18:22:48 <JibberJim> apply your IE patches!
18:24:09 <Agamemnus> IE7?
18:24:11 <Agamemnus> Never
18:27:47 <JibberJim> but the click to activate is fixed if you're up to date on your patches
18:28:58 <Agamemnus> ok
18:29:13 <Agamemnus> I did find a workaround though!
18:29:48 <Agamemnus> it's, as makk told me, to add the object w/innerHTML from an outside script
18:32:29 <Agamemnus> i got the patch.
18:32:39 <Agamemnus> i'm going to use the workaround anyway for those who don't
18:32:43 <Agamemnus> gotta reinstall to try it
18:32:47 <Agamemnus> i mean
18:32:49 <Agamemnus> reboot
20:16:58 <stelt> ed_work, sth i came across: http://veikoh.freehostia.com/mblog//articles/Why-Opera-cant-support-their-partners.html
20:59:58 <Agamemnus> can anyone tell me how to jump to the <svg> from an object in the .svg?


The chat logged here contains content written by the chat participants identified by their IRC nick. No other identity is recorded.

Scripts provided by Dave Beckett, logger hosted by Jim Ley