[wp-hackers] How do you get jQuery tabs working in Wordpress 2.8?
Daiv Mowbray
daiv at daivmowbray.com
Thu Jun 18 09:49:24 GMT 2009
Hello,
I have the same problem,
works fine in 2.7 but 2.8 tabs are failing.
The previously made suggestions haven't worked for me.
I am using the following :
function init_my_script() {
jQuery(document).ready( function() {
create_ui_tabs();
} );
}
function create_ui_tabs() {
jQuery('#mytabsnav').tabs({ fxFade: true, fxSpeed: 'fast' });
}
init_my_script();
The above script actually loads into mid body.
The jquery-ui-tabs script is loading into the footer;
<script type='text/javascript' src='http://localhost/wordpress_2.8/wp-admin/load-scripts.php?c=1&load=hoverIntent,common,jquery-color,jquery-ui-core,jquery-ui-tabs&ver=cf44a8aa087bf74bbcc19532e4707902'
></script>
Thank for any pointers.
On May 28, 2009, at 12:55 PM, Mark Cunningham wrote:
> I've been doing some testing of my plugin on Wordpress 2.8 beta 2. I
> am using the Wordpress built-in jQuery and jQuery tabs to generate
> tabbed interface to my plugins options. But on the upgrade to 2.8, the
> tabs no longer work any more. I've checked documentation for jQuery
> tabs, and I don't appear to be doing anything wrong. Has anyone else
> got jQuery tabs working on Wordpress 2.8?
----------
Daiv Mowbray
daiv at daivmowbray.com
-----------------------------
More information about the wp-hackers
mailing list