Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 slideshow extension W3C trouble
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Testa
Expert

Italy
74 Posts

Posted - 02 Feb 2011 :  22:39:55  Show Profile  Visit Testa's Homepage  Reply with Quote
Hi,

I've make a site that include a photo gallery made with simple slideshow 1.0.
If i try to evaluate the html code with a W3C validator, it seems that plugin introduces an "error" like this:

# Warning Line 41, Column 141: NET-enabling start-tag requires SHORTTAG YES

?</script><link rel="stylesheet" href='files//slideshow1.css' type="text/css" />

#9993;

The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML.


Is it ok? Or is a bad thing....

Thanks

My Google+ profile:
https://plus.google.com/i/zw25-_gKvTY:jRss3zGURdE

Web sites made in DHTML:

http://terapiabrevestrategica-emilia.it/
http://papaveriepapere-ravenna.com/
http://mp-impianti.net/
http://assistudioperboni.it/

Edited by - Testa on 02 Feb 2011 22:45:57

s.dav
Site Admin

Italy
3364 Posts

Posted - 03 Feb 2011 :  09:01:36  Show Profile  Visit s.dav's Homepage  Reply with Quote
Testa,

what is "simple slideshow 1.0"? I don't know it.

The W3C validator is suggesting that some tags cannot be closed using the short way; the right code should be:

</script><link rel="stylesheet" href='files//slideshow1.css' type="text/css"></link>

Don't worry about W3C problems; pages will run ok

Regards, Davide
Go to Top of Page

Testa
Expert

Italy
74 Posts

Posted - 03 Feb 2011 :  13:20:02  Show Profile  Visit Testa's Homepage  Reply with Quote
Sorry,

Simple slideshow 1.0 is a third-party extension (Simple_slideshow.dhex) from Petran Liket.

Thanks

My Google+ profile:
https://plus.google.com/i/zw25-_gKvTY:jRss3zGURdE

Web sites made in DHTML:

http://terapiabrevestrategica-emilia.it/
http://papaveriepapere-ravenna.com/
http://mp-impianti.net/
http://assistudioperboni.it/
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 04 Feb 2011 :  09:24:04  Show Profile  Visit s.dav's Homepage  Reply with Quote
I suggest you to ask Petran directly or forward the extension to me and I'll check it.

Regards, Davide
Go to Top of Page

petran
Super User

Netherlands
345 Posts

Posted - 04 Feb 2011 :  15:14:13  Show Profile  Visit petran's Homepage  Reply with Quote
@Testa,

I uploaded a corrected version so the error
</script><link rel="stylesheet" href='files//slideshow1.css' type="text/css" />
will no longer appear.

Also added a new variable so you can choose which cursor to show when hovering over the slideshow.

You will still get some warnings like this:
img src="../files/extensions_demo_slideshow_extension1ext_11.jpg" alt="" /></a>
however.

@Davide,

When I try to remove the last slash (appearing in the above warning) in the XSL processor of the parameter images, I run into the error:
Error while reading XSL processor (Images)...
Any idea how to solve this?

--------

regards

Petran
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 07 Feb 2011 :  08:57:23  Show Profile  Visit s.dav's Homepage  Reply with Quote
Petran,

Please forward the extension to me and explain me in details the problem; I'll check it ;-)

Regards, Davide
Go to Top of Page

Testa
Expert

Italy
74 Posts

Posted - 09 Feb 2011 :  07:59:33  Show Profile  Visit Testa's Homepage  Reply with Quote
Thanks a lot

My Google+ profile:
https://plus.google.com/i/zw25-_gKvTY:jRss3zGURdE

Web sites made in DHTML:

http://terapiabrevestrategica-emilia.it/
http://papaveriepapere-ravenna.com/
http://mp-impianti.net/
http://assistudioperboni.it/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000