Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Shifting links (move when clicked) Re: Shifting links (move when clicked)

#72807
jamesmcoats
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!