March 9, 201016 yr Hi there, Could someone please lend a helping hand if they could See this link http://85.92.73.218/~windrush/secure-car-storage-testimonials.php Clicking on a 'Read more' link reveals some hidden text. The client has asked that when the user clicks to reveal some text, any other text that has been revealed is then hidden. Currently the user can open all the hidden text items if they wish. Does anyone know a workaround within the JavaScript without me having to look for an entirely new version of the script? Any help would be much appreciated Chris
March 9, 201016 yr Try adding $('.hidden-text').hide(); Before $(this).next(".hidden-text").slideToggle(500);
March 9, 201016 yr Give each read more div a class, then use: $(".theClass").slideUp("slow"); $("#theOpenID").slideToggle("slow"); So all read more divs will be closed, then the one to open will slide open. You may need to use delay() in the script...
Create an account or sign in to comment