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
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You mean something like this?


pass: abc

Or if you share link to your site, we can check code block problem

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.