alogo

Simple Tabs in jQuery

Simple jQuery Tabs

I have been looking for leaner jQuery code for a number of widget apps. Here is a simple jQuery tabs implementation by Jack Moore. I have modified the CSS and minor changes to the script. Here is the JSFiddle:
[iframe src=”http://jsfiddle.net/jbsurveyer/SD2R4/2/” width=”100%” height=”480″] And here is the standalone file with working code:
[iframe src=”http://theopensourcery.ca/tabber.html” width=”100%” height=”480″] Now the devil is getting this code to work in WordPress. I have tried several different themes, the Insert JS / CSS plugin on a test version of WP which has only one plugin active and nothing works.

It would be nice to be able to use jQuery code on a page/post only basis [not have to write a WordPress plugin] but no luck so far even though I can:
1)see that jQuery core is being loaded properly;
2)the inline Javascript is being loaded;
3)the inline CSS is also being loaded.

So now the quest is not only simple and fast jQuery code; but to also get it working in WordPress.

Pin It on Pinterest