WordPress.org

Ready to get started?Download WordPress

Forums

CoolClock - a Javascript Analog Clock
[resolved] Second Hand (11 posts)

  1. effsol
    Member
    Posted 1 year ago #

    Seem like there is an issue when using the seconds hand in explorer 9 and 10. The Seconds hand starts wrapping around the clock. No issue with firefox, chrome or safari. Really like it otherwise. Can you fix. thanks dave

    http://wordpress.org/extend/plugins/coolclock/

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Hi effsol,

    Thanks for reporting :)

    The coolclock javascript is done by Simon Baird and any issues related to the script itself should be reported on https://github.com/simonbaird/CoolClock/issues

    Please mention the script version number when reporting any issues. All plugin versions below 2.9 use script version 2.1.4, the latest plugin uses script version 3.0.0-pre

    However, before doing so, you might want to upgrade the plugin to version 2.9 and if the issue remains, try the following:

    Go to your WP admin page Plugins > Editor and select the CoolClock plugin. Find in the file coolclock.php the following lines, not far from the end of the file:

    }
    
    		echo '<!--[if lt IE 9]>';
    		wp_print_scripts( 'excanvas' );
    		echo '<![endif]-->
    ';
    
    	}
    
    }

    Now remove both <!--[if lt IE 9]> and <![endif]--> so it will look like:

    }
    
    		echo '';
    		wp_print_scripts( 'excanvas' );
    		echo '
    ';
    
    	}
    }

    Then hit Update File and let me know if that changes anything. :)

  3. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Or better (since I do not have IE) could you visit http://demo.status301.net and tell me if any of the test clocks is showing this second hand wrapping effect in IE9/10 ?

    Thanks!

  4. effsol
    Member
    Posted 1 year ago #

    RavanH,

    Tested 2.9. Still have the same issue with the seconds hand. Tried your demo link and had the same problem there also I can send you images if your want. Works great on IPAD. Would really like to use on PC also. Hopefully you can help.

    thanks
    dave

  5. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Dave,

    The problem is that I do not have Internet Explorer to test with. I know it needs some extra script for full HTML5 Canvas support which is why I included excanvas.js in the plugin. However, there is some confusion about what version is the 'latest and greatest' and even then, development seems to be kind of at a stand still since March 2009. There is a newer version from November 2009 available on http://code.google.com/p/explorercanvas/source/browse/#svn%2Ftrunk%2Fsilverlight but after that, nothing...

    I'll have to search for alternatives (if any) or do some more testing with different versions of the excanvas script. But like I said, I do not have IE other than IE 8 on an old XP machine.

    .Allard

  6. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Hmmm... as far as I can figure out, IE 9 and 10 should support Canvas natively. So testing with scripts to extend IE with Canvas support will not make any difference.

    The only way will be to report the issue on https://github.com/simonbaird/CoolClock/issues/new complete with a quick description, a link and maybe a screenshot. Could you do that? If not, please send all your info via the form on http://status301.net/contact-en/ (I'll reply and you can then send me a screenshot) so I can relay that info to the script developer.

    Cheers,
    Allard

  7. effsol
    Member
    Posted 1 year ago #

    See screenshot link. Also you can see it on my website live at http://www.dev.esiserver.net

    http://dev.esiserver.net/wp-data/coolclock-issue-with-seconds-hand.gif

    Again, the issue is only with IE9 and IE10. I run WIn 7 and Win 8 and have the same issue with both. No prob with Firefox, Chrome and Safarri. Ipad and Samsung Galaxy also work fine.

    Thanks for your help.

    dave

  8. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Could you make another screenshot of the three clocks on http://demo.status301.net/another-post-with-everything-in-it/ for me?

    I'll report the issue to the script dev if I have some more info on how these look in IE 9/10 ...

  9. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    I opened a ticket on the issue as reported on https://github.com/simonbaird/CoolClock/issues/11 about this issue. Let's hope the dev(s) can fix it.

    Until then, Skins that do not use an outside ring like Classic or SecurePHP seem to work better... But I do see some weird moving block behind the second hand in IE8.

    If you want, you can use this minimal custom skin:

    hourHand:{lineWidth:5,startAt:-15,endAt:50,color:"black",alpha:1},
    minuteHand:{lineWidth:3,startAt:-15,endAt:65,color:"black",alpha:1},
    secondHand:{lineWidth:1,startAt:-20,endAt:75,color:"red",alpha:1},
    secondDecoration:{lineWidth:1,startAt:0,radius:4,fillColor:"red",color:"red",alpha:1}

    which does not seem to suffer any side effects...

  10. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Update to version 2.9.2 and the issue should be worked out by not showing any outer border in IE. Not a real fix but the best I can do with these canvas limitations in IE...

  11. effsol
    Member
    Posted 1 year ago #

    Works Great. Thanks, Dave

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.