Hmmm... Thomas in Opera the current time for your link shows just fine (though it starts at midnight in IE).
A similar thing http://srufaculty.sru.edu/david.dailey/svg/clock.svg also using SMIL seems to show current time in both IE and Opera. In looking at your code, I believe this is why: you use JavaScript to reset the rotation of each of the clock hands: var h_hrs = owner.getElementById("hourHand"); h_hrs.setAttributeNS(null, "transform", "rotate("+ (30*hrs+0.5*min) +",105,105)"); The problem (I suspect), at least in IE and possibly Nokia, is that the animateTransform that you've attached to the objects uses its own default rotation angles (specified through markup) to override any attributes associated with the rotation itself. That is the transform="rotate(string)" is being clobbered by the animation itself. Why Opera wouldn't do that, I don't know, but that browser has the sometimes uncanny ability to figure out what we are trying to accomplish. To work around it the only thing that comes to my mind would be kinda messy: grab all your animateTransforms and redo the starting and ending values of their froms and their tos" ( from="0,105,105" to="360,105,105") to be angles appropriate to the current time. In which case, the need to modify the transform/rotate of the hand itself will disappear. Hope this makes sense -- holler if not, David ----- Original Message ----- From: Thomas Steiner To: [email protected] Sent: Tuesday, October 23, 2007 3:35 PM Subject: [svg-developers] svg clock for mobile I know that there are dozens of SVG clocks out there and some of you guys here helped me some time ago to create my own one (http://www.fam.tuwien.ac.at/~thomas/test/uhr3.svg and others). I tried these on my new mobile phone (Nokia 6300, supports some of SVG Tiny; is a Series 40 phone) and it works (display, animation), but it always starts at midmight. It would be nice to use it as a screensaver, showing the current time (and date). Thanks for advices & helps & links Thomas PS: I know many flash solutions out there... http://www.2mstudio.de/flash_clocks_simple.html?css=7 http://www.adamdorman.com/gallery.php?TableName=flash_clocks ... [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/ <*> 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/

