JoomSimple Support Forum February 05, 2012, 04:43:59 pm *
 
Welcome, Guest. Please login or register.

Login with username, password and session length
  Joomla Extensions   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Error in Code when validated  (Read 503 times)
sunrize
Newbie
*

Karma: 0
Posts: 2


View Profile Email
« on: March 10, 2010, 03:06:20 pm »

Hello,

I love your plugin, however, when i tried to validate my website i got 4 errors concerning your plugin..

the error as follows

function clickOther(e) {

                  if( document.layers || ( document.getElementById && !document.all ) ) {

                     if ( e.which == 2 || e.which == 3 ) {

                        ${comment}alert('$message');

                        return false;

                     }



character X is the first character of a delimiter but occurred as data

This message may appear in several cases:

-You tried to include the "<" character in your page: you should escape it as "&lt;"
-You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
-Another possibility is that you forgot to close quotes in a previous tag.
                           *Line 53, column 57: character "&amp;" is the first character of a delimiter but occurred as data
                  if ( document.layers || ( document.getElementById && !document.all ) ) {

                              *Line 53, column 58: character "&amp;" is the first character of a delimiter but occurred as data
                  if ( document.layers || ( document.getElementById && !document.all ) ) {


-----------------------------------

I'm not really a wiz in coding i Hope you can help me plz !

my website is abyarjo.com/design


Thank you for your help!
Logged
UGN
Administrator
Jr. Member
*****

Karma: 2
Posts: 90


View Profile
« Reply #1 on: March 11, 2010, 01:23:06 pm »

Thank you for this post. I will make a small fix for this problem.
Logged
UGN
Administrator
Jr. Member
*****

Karma: 2
Posts: 90


View Profile
« Reply #2 on: March 30, 2010, 02:03:50 am »

The plugin passes validation test from version 1.12.
Logged
sunrize
Newbie
*

Karma: 0
Posts: 2


View Profile Email
« Reply #3 on: April 13, 2010, 03:02:44 pm »

WOW! Thank you! Wonderful Job keep it up  Cool
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.15 | SMF © 2011, Simple Machines