Support Home Page › Forums › Joomla Software › Easy Folder Listing Pro Plugin › Folders are open › Re: Folders are open
@mira.baka. Thanks for sending me the link via email. I had a look at the site, and checked the error console using Safari browser. The error displayed is:
SyntaxError: Unexpected token ‘<‘ files:37
When I click on this error, it refers to the fact that you have
1 2 3 |
<![CDATA[<br /> ... your code here ...<br /> ]]> |
surrounding your javascript. It seems as though what you need to do is to either 1) do not use the CDATA tags, or 2) comment the CDATA tags out, so that it would look like this:
1 2 3 |
//<![CDATA[<br /> ... your code here ...<br /> //]]> |
Notice the inline comment delimiters, //, as placed before the CDATA start and end tags.
Now, for reference, someone else noticed this issue before. See here: http://groups.google.com/group/joomla-dev-general/browse_thread/thread/e79916f2d9fc8fec/d1391415eb15a9ea
Based on that reference, I suspect that you may be experiencing this problem because the content-type for your page is not set. You currently have it set to <meta charset=”utf-8″>, and it should be <meta http-equiv=”content-type” content=”text/html; charset=utf-8″ />
I realize that you have the site setup for HTML5, but have a look at this for reference: http://oli.jp/2009/html5-charset/
Lastly, changing the meta tag can be done by editing your template.
Let me know if this helps.