Studies show that top navigations tend to get the most visual attention when a user first visits a site. Having organized and intuitive navigation is key — and while most drop down menus may look aesthetically pleasing, developing them to degrade gracefully is also essential. In this tutorial I would like to go over how to create a sexy drop down menu that can also degrade gracefully. Read more…
Few days ago Mozilla launched special site where you can find special FireFox addons. Special because they were written in JetPack. It’s a new technology that allows to write FireFox extensions not only in XUL, but in HTML, CSS and AJAX.
What is more important is that JetPack allows to use third party JavaScript libraries in your project, so developers can get full advantage of jQuery, Dojo, Google Maps and many other great JavaScript libraries.
Next grat future that developers will find very useful is that new JetPack addons can be debugged using FireBug, without restartin web browser, that is not the case for XUL based extension. Read more…
The following are 5 clear, concise, and relevant tips that you should know when using jQuery in your WordPress Theme or Plugin.
1. Use wp_enqueue_script()
The traditional way to include jQuery in an HTML page is with the script tag. When working with WordPress, you should *never* do this. To avoid conflicts and other potential problems, you’ll want to load jQuery using the following code:
function my_init() {
if (!is_admin()) {
wp_enqueue_script('jquery');
}
}
add_action('init', 'my_init');
Read more…