Hello,
I'm trying to write a script to hide elements with a certain class name but keep the ones with a certain rel attribute visible. Here's what I have so far:
- $("#show2").click(function(){
- $(".item").hide("slow");
- $("[rel*='item2']").delay(500).show("slow");
- });
However, I don't want the requested content to hide first, is there a way I can do that? Thanks!