Subscribe By RSS or Email

Posts tagged ‘jquery’

sproutcore

Slider with Background Color Change

Horizontal Jquery-based sliderĀ  smoothly switches between backgrounds as user navigates. Source: sproutcore.com

jQuery – Better Rollovers

My third pass at a rollover and my favorite solution by far. This one uses minimal code, avoids flickering while also decreasing load times. Basically create each image or button with active and over states next to one another. For for our example, side by side. We apply the image as a background, defining the

JQuery – Incredibly Simple Tabs

Whenever I need inline tabs, I find myself traveling down the same well trod paths. There are dozens of plugins but where they usually fail is in simplifying skinning. Solution: Create each tab row as a graphic (so all tabs but the selected one in a row would look the same Add images to page

PHP/EXTjs – Passing Arrays

I’ve written on processing AJAX queries before but neglected discussing how to pass an array to PHP for processing. This is an example of getting all checked rows in an EXTJS grid and posting them to an awaiting PHP script. First we have the users confirm they really want to process all checked records: Now

jQuery – Random Photo on Page Load

jQuery – Dropdown Selectors & Manipulation

Clear a current dropdown selection Now, select an option That selects the first option. Or you can specify an option by index: However, that only selects the item but doesn’t execute if there is an action (via listener) associated with that particular dropdown. To do so, use the following: Here’s a real-world example. Let’s say