2012-02-23, 14:50:55
I need help from anyone please.
I have been trying to integrate this jquery function into my get-simple powered website without result.
It is a mouse over function for all .png which also has over.png.I do not know how to use get-simple to link this image over function in jquery.
See the jquery code below:
I have tried using <?php get_theme_url(); ?>/ to link it for get-simple but it is not working and if i leave it untouched-the mouse over function does not display the image at all.
Please help
I have been trying to integrate this jquery function into my get-simple powered website without result.
It is a mouse over function for all .png which also has over.png.I do not know how to use get-simple to link this image over function in jquery.
See the jquery code below:
Code:
.mouseover(function() {
var src = $(this).attr("src").match(/[^\.]+/) + "Over.png";
$(this).attr("src", src);
})
.mouseout(function() {
var src = $(this).attr("src").replace("Over", "");
$(this).attr("src", src);
});
Please help