Need Advice about hiding text on a One-Page Website
-
Each team-member of this speech therapy website I’m working on has a different level of experience. But I want the description text of three team profiles to display at the same hight and size.
What would be the best solution to display just 4-5 lines for each person and than have a “read more” option?
I tried using jQuery, but it was breaking the page. I used this:
<!DOCTYPE html> <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"> </script> <script> $(document).ready(function(){ $("#button").click(function(){ $("#cache").slideToggle(); }); }); </script> </head> <body> <div id="cache" style="display:none;"> <p>Ce qui va être caché</p> <p>Ce qui va être caché</p> <p>Ce qui va être caché</p> </div> <a id ="button">Lien</a> </body> </html>
Thanks ahead for your help!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Need Advice about hiding text on a One-Page Website’ is closed to new replies.