Results 1 to 5 of 5
Feb 6, 2013, 13:47 #1
- Join Date
- Jul 2007
- 0 Post(s)
- 0 Thread(s)
How to add hide/expand code after 1000 chars - outside of HTML tags too?
I am making pages with HTML formatted articles and want to add a "Expand / Hide" script after 1,000 characters.
How can I insert the code so it does not end up inside an HTML <> tag?
For example, I would like to have the code appear like:
<p>... blah blah blah [insert Expand/Hide Link/Div] blah blah blah</p>
But prevent it from doing this, like appearing inside a hyperlink or inside any kind of <> tag?:
<p>... blah <a href="http://www.my[insert Expand/Hide Link/Div]site.com">link</a> blah </p>