Displaying contents of a tab

You have been answered in stackoverflow in the following way: <div id=”tab-one” style=”display: none”>Tab1 info 1 content</div> <div id=”tab-two” style=”display: none”>Tab1 info 2 content</div> <div id=”tab-three” style=”display: none”>Tab1 info 3 content</div> <ul class=”side bar tabs”> <li class=”one”>Tab1 info 1</li> <li class=”two”>Tab1 info 2</li> <li class=”three”>Tab1 info 3</li> </ul> You should run your query in while … Read more

search in jquery mobile returns blank page

No comments but ill answer anyway for future clueless jqm developers as me. apparently (wasent clear for me base on my regular web dev experience) that if the destination is not a jquery mobile page it wont load and show blank… weird? or maybe there is other explanation that i didn’t noticed while deleting and … Read more

How to add jQuery script?

If you are going to add a inline script that depends on jQuery, the best and correct way is to use wp_enqeue_scripts action hook, or wp_footer, depends on the situation, combined with wp_script_is() function: add_action( ‘wp_footer’, ‘cyb_print_inline_script’ ); function cyb_print_inline_script() { //Check that jQuery has been printed if ( wp_script_is( ‘jquery’, ‘done’ ) ) { … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)