Page 1 of 1
help implementing jquery slideshow
Posted: Sat Dec 31, 2011 11:05 pm
by RyanC
edited, don't need
Re: help implementing jquery slideshow
Posted: Sun Jan 01, 2012 3:26 am
by Wishbone
The link below should solve your issue.
http://www.smarty.net/docsv2/en/languag ... on.literal
The CDATA stuff must be new for 1.10 because in all my 1.9.X sites I have to add that in manually... I don't fully understand it, but my sites won't validate unless my JavaScript code is within CDATA, because the validators think that any < or > symbols inside the JavaScript is malformed HTML.
http://en.wikipedia.org/wiki/CDATA#Use_ ... ram_output
Re: help implementing jquery slideshow
Posted: Sun Jan 01, 2012 5:00 am
by RyanC
Thanks for the response, Wishbone. I added the literal tags and it took the gibberish away, and the first image of the slideshow now appears but the slideshow functionality itself has stopped.
Re: help implementing jquery slideshow
Posted: Sun Jan 01, 2012 5:08 am
by Wishbone
When you 'view source' on the site, does it appear any different than the one that worked?
Re: help implementing jquery slideshow
Posted: Sun Jan 01, 2012 7:10 pm
by RyanC
Hi Wishbone, thanks for the help. When I view source it is hard to compare to the HTML original because CMSMS moves divs and comments and things around by its own logic and it doesn't make sense to me as much as the original HTML code. It's why I make all my changes on my local HTML file and paste it into CMSMS, otherwise I would lose track of how I structured my document.
Anyway the page is two pages, the template page which has all the head content and contains this part (which is from CMSMS now):
Everything else is on a different page in content blocks. I don't know if that has anything to do with it.
But in any case, I didn't change anything in the CMSMS version, it's simply me copying my local HTML content into the CMSMS editing windows.