This is fun for those of you who love to bang your head on a computer keyboard.
Website: http://blduke.com.php53-27.dfw1-2.websitetestlink.com
An interesting jQuery thing going right under the navigation here. This is actually a radial menu ( plugin ). The plugin includes functions that will start clockwise and counterclockwise rotation, and by default the radial menu is not displayed. Therefore, I have a code to initialize the radial menu, a code to display it immediately, and a code to start the next rotation at intervals. Finally, I used the plugin API to connect to the afterAnimation option to make sure that the “active” class is applied to the “active” menu item. I am going to use it to make some interesting CSS material, rotate some to the right of this graphic, etc. You can see that the “active” class in the list items is adding a red background right now.
This works absolutely fine in IE8 +, Firefox, Safari, and Chrome version 17.0-19.0. In Chrome 20.x, it crashes in a weird way.
The active class still jumps to the corresponding list item, if necessary, but the browser does something strange, for example, deferring the rendering of the active class to a new item or completely skips it at some points or points it to two items (the last item, and following)
There are no script errors, and I'm puzzled, like the dev plugin. Anyone have any ideas, insight?
My code is:
jQuery(document).ready(function($) { $("#radial_container").radmenu({ listClass: 'list',
rentageekmom
source share