more button

I have a page that’s all just guidelines and information. I have subject areas and want the customer to click on a word like extra to completely open the description. My business is using a accordion spry these days and hate them. It looks method to tacky.

Example of what My business is liking for:
desrciptions……. more>

Then when quite a few pushes on more the other description shows up along with the more word goes away. I have quite a few idea pages I things use it with. Yahoo does the item on page by using readers leave feed to news articles.

Thanks beforehand.

Would you be interested in a jQuery answer

I immediately made this around jQuery

HTML:
< script src=" https: //ajax. googleapis. com/ajax/libs/jquery/1. SEVEN. 1/jquery. min. js" > < /script>

< h1> Title< /h1>
< p> It is a body text. < period class=" readmore" > It is a information you see whenever you like read more< /span> < a new href=" #more" > More< /a> < /p>

< h1> Title< /h1>
< p> It is a body text. < period class=" readmore" > It is a information you see whenever you like read more< /span> < a new href=" #more" > More< /a> < /p>

< h1> Title< /h1>
< p> It is a body text. < period class=" readmore" > It is a information you see whenever you like read more< /span> < a new href=" #more" > More< /a> < /p>

< script>
$(document). ready( function()
$(". readmore" ). hide();
$(" ahref='#more'" ). click(function()
facts = $(this). parent(). find(". readmore" );
when (information. is(": hidden" ))
facts. show();
$(this). text(" Hide" );
altogether different
information. hide();
$(this). text(" More" );

);
);
< /script> 

Thanks so much Kayo. This particular works great. It really saved me a ton of hair pulling.

This entry was posted in Web Design and tagged , , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *