grab our rss feed  WarpConduit on Facebook
WarpConduit.Net

Entries Tagged ‘jquery’

PHP’s in_array() vs. jQuery’s inArray()

This one stumped me for a bit when i was trying to use jQuery to populate checkboxes with a list of items pulled from a database using PHP. The fact of the matter is that PHP’s in_array() returns a boolean whereas jQuery’s inArray() returns the index of the matching element, or if the element is [...]

Create a Floating Menu with jQuery

Here is the code you can use to create a floating jQuery menu that stays where you absolutely position it on the screen. Make sure you have jQuery loaded on whatever page you use this. Try it out yourself! HTML <div id="floatMenu"> <h3>Floating Menu</h3> <ul> <li><a onclick="return false;" href="#">Menu Item 1</a></li> <li><a onclick="return false;" href="#">Menu [...]