It also assumes your navigation is structured thusly: <div><a><img></a><a><img></a></div> First, make sure your jQuery code is surrounded by the usual:
Category Archives: JavaScript – Ajax
Extending the jQuery Sortable With Ajax & MYSQL
I’ve had a lot of response to the jQuery sortable list post I wrote a while back, and a lot of them ask how to send the results to a database. I’ve often said the best thing to do would be to update it by AJAX, but I’ve never really explained how. So here it …
Continue reading “Extending the jQuery Sortable With Ajax & MYSQL”
Jquery Cycle Plugin and Png Transparency in IE8 and IE7
It isnt a problem with png-transparency since you dont use ie6 probably its the background of the image-element itself, set to opacity=1 by Cycle (why ever ie7+8 show a white background then) #image-container img {background:none !important;} solved this problem in my case
Jquery Google maps
What is gMap? gMap is a lightweight jQuery plugin that helps you embed Google Maps into your website. With only 2 KB in size it is very flexible and highly customizable. Example This tiny line of code is being used to embed the map below. Simple, isn’t it?
Mouse positions Demo
This is a demo for Locating mouse position in jQuery blog post. On mouse move e.pageX = 759, e.pageY = 284
Jquery empty – form field
<form name=”newsletter-form” id=”newsletter-form” method=”post”> <input id=”email” name=”email” placeholder=”insert email” type=”text”/> <button type=”submit”>NEWSLETTER</button> </form> $(“#email”).val(”);