jQuery Image Source Swap with attr() function

Last updated on
Categories Under // ideasA Template Review by . No Comments

I have made a small jQuery snippet to demo the image swapping with attr() funciton.  The demo uses 2 images with classes img1 and img2 respectively.  On a click of a button, the images are swapped.

Basically the script stores “src” value into a variable and then it is  used to swap 2 image sources.

Demo : Demo Page For jQuery Image Source Swap with attr() function

Latest WordPress Templates

Leave a comment


4 + six =

 

Search

Recent Templates

  • Foxy WordPress Theme
  • Simpleone-Responsive Multi-Purpose WordPress Theme
  • Thatch - WordPress Blogging Theme
  • empirio Responsive WordPress Theme
  • Place - Responsive Blogging WordPress Theme
  • Blandit - WordPress Business Portfolio Theme

WordPress Expert at $11/hour

Hi, I am the webmaster who run this website. I am a WordPress Integrator. If you are need of

-- Adding content to WordPress blog
-- Help in managing plugins and upgrading them.
-- Backing up WordPress Blogs.
-- Modifying theme to suit new ideas and designs.
-- Converting a PSD/JPG/PNG into WordPress

Please contact me at vr@pixelthemes.com or through contact form.

Become Our Fan in Facebook