Jump to content

Multiple Read More Buttons - Code Block + Javascript

Recommended Posts

Hey guys,

I'm driving myself nuts..I'm in over my head a little bit but totally determined.   I have a team page with some lengthy bios that I'm looking to be able to implement "Read More" buttons for.  I replaced the description text blocks with code blocks, pasted some code and script I found from W3 schools (which works beautifully) but I'm running into the issue that all the buttons control the same persons description.  

I'm not sure if the problem is that the script is in every code block or that I need to differentiate the code blocks or buttons with some sort of class or something? 


Link to comment
  • Replies 1
  • Views 300
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.