DONE WITHOUT FLASH?
DONE WITHOUT FLASH?
Out of context: Reply #5
- Started
- Last post
- 11 Responses
- bigtrick0
oh yeah, that is easy to do with jquery.
for the hover effects:
$("#imagecontainer .rolloverImage").hover(
function() { $(this).attr("src", $(this.attr("src_on")) },
function() { $(this).attr("src", $(this.attr("src_off")) }
);for the slide effect and loading the div underneath:
$("#imagecontainer .rolloverImage").click(function... {
$("#bio").load('biographies/' + $(this).attr('id') + '.html');
$(#imagecontainer ).animate({left: '-500'});
});replace all the ids and classes with your own.
- 'function...' should be 'function()'
qbn is weird sometimes.bigtrick
- 'function...' should be 'function()'