Here is some code here: <script> $(function(){ $('a.choicelist').bind( ////'click', 'click', function() { var targetElementSelectorString = $(this).attr('rel'); //alert(targetElementSelectorString) -- it returns the right code //$("#rightboxdiv:visible").slideUp("slow"); $("dd:visible").slideUp("slow"); $(targetElementSelectorString).parent().slideDown("fast"); // the meat of it - how can I target using this? //$pane4[0].scrollTo(targetElementSelectorString); return false;
}) }); </script> Of that the first two lines are important: $(function(){ $('a.choicelist').bind( Sometimes this does not start in internet explorer 7 - Am I starting it in the right way? I'm still getting confused about the right way to Start jQuery up that works in all browsers all the time. I've got a live link (will be up soon) if you'd like to try it, it is to do with the navigation in the large left box. http://cressaid.brettjamesonline.com/bvci/BVCI/products.html