Board Logo

Content problem
shan24 - 5/12/2008 at 05:20 PM

Hi there, I am having a problem with the Content in the scroller. I started using the Tigra scroller a couple of years ago and it has been fine, but now I need to replace the content and something within the new text is throwing an error. I want to replace the XXXX in 'content' : 'XXXXX' with the following. Is there something in here that the Tigra scroller doesn't like?? Thanks in advance..this has been bugging me for 3 days now!

<p><b>Q. How Do I Get To the WaterPark?</b><p>
[... long text skipped by the admin ...]
<b>Q. Smoking</b><p>A. We are a non-smoking park; however, you may smoke outside the park where benches are provided.</p>

tigra - 5/12/2008 at 09:16 PM

you'll need to escape apostrophes (') with the slash i.e. replace "don't" with "don't"
I see at least two of them in the text. The first unescaped apostrophe unexpectedly ends the string you're defining.

shan24 - 5/12/2008 at 09:48 PM

Thanks! Exactly what I needed. :-) It was on the tip of my brain all along and I had a "duh" moment when I saw your answer.

Back to forum: