I'm using the below code for a rollover effect, seems to be working okay!
What I'm interested in is taking this to the next step in a modular way. What I mean is that rather than stipulate every single possibility, how could I start to produce what I suppose would be a plugin?
Many thanks!
$(document).ready(function() {
$('#damart_490').hide();
$('#simply_490').hide();
$('.damart_link').hover(
function() {
$('#damart_490').show('blind',250);
},
function() {
$('#damart_490').hide('blind',250);
});
$('.simply_link').hover(
function() {
$('#simply_490').show('blind',250);
},
function() {
$('#simply_490').hide('blind',250);
});
});