Home › Forums › CSS › Shifting links (move when clicked) › Re: Shifting links (move when clicked)
March 22, 2010 at 9:02 pm
#72807
Member
Thanks for the info and code! That got it to work perfectly. I have the one script for switching and another that will change the book groups per the link (er, tag) you click. However, I’ve not tried it all together yet.
Here’s the other script I’m using (note: I know very little about jquery, a friend wrote this for me):
Code:
$(function(){
$(‘.book-categories a’).bind( ‘click’, function(){
$(‘.book-groups’).hide();
var group_id = $(this).attr(‘group-id’);
$(‘#’ + group_id ).show();
return false;
});
});
Thanks again for all the help!