how to get lb_Gallery >> Gallery-Demo2

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: how to get lb_Gallery >> Gallery-Demo2

Post by Holger » Sun Dec 18, 2016 1:12 pm

twc wrote:it works
Fine.
twc wrote:butt..., if you have one popup picture its drops down @ the page and click on the next button its drops down and stay there
I see, but I'm not sure what exactly causes the problem. First of all you should fix your html to standard mode. Right know your page runs in Quirks Mode.

Maybe other users can give more detailed help here.

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: how to get lb_Gallery >> Gallery-Demo2

Post by frase » Sun Dec 18, 2016 1:25 pm

Code: Select all

...
</head>
<link rel="shortcut icon" href="/favicon.ico">
<body bgcolor="#eeeff1" onload=""<a name="top"></a>
...
change it in template to:

Code: Select all

...
<link rel="shortcut icon" href="/favicon.ico">
</head>
<body bgcolor="#eeeff1" onload="">
<a name="top"></a>
...
The Doctype:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
change to:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
or so

twc
Posts: 233
Joined: Fri Jun 18, 2010 12:25 am
Location: Netherlands

Re: how to get lb_Gallery >> Gallery-Demo2

Post by twc » Sun Dec 18, 2016 1:36 pm

frase wrote:

Code: Select all

...
</head>
<link rel="shortcut icon" href="/favicon.ico">
<body bgcolor="#eeeff1" onload=""<a name="top"></a>
...
change it in template to:

Code: Select all

...
<link rel="shortcut icon" href="/favicon.ico">
</head>
<body bgcolor="#eeeff1" onload="">
<a name="top"></a>
...
The Doctype:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
change to:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
or so
ADD....butt think bug in gallery script ?

browser Chrome Do not have on my pc
browser IE working oky
browser Edge working oky
browser Firefox NOT

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: how to get lb_Gallery >> Gallery-Demo2

Post by frase » Sun Dec 18, 2016 1:41 pm

twc wrote:ADD....butt think bug in gallery script ?
Ich denke das nicht.

Es scheint ein Problem mit deinem Tabellen-Layout zu sein.
Schau deinen Quellcode im Firefox an.
Viele "rote" Fehler mit den Tabellen.

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: how to get lb_Gallery >> Gallery-Demo2

Post by Holger » Sun Dec 18, 2016 2:08 pm

twc wrote:browser IE working oky
browser Edge working oky
browser Firefox NOT
Your page is still running in Quirks Mode. That's why different browsers handle your markup at their own choice. As I wrote before, you should fix that first. It's not a bug in lb_Gallery or in hi_Fancybox. Try another standard compliant template (mini1 for example) and it'll work.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: how to get lb_Gallery >> Gallery-Demo2

Post by cmb » Sun Dec 18, 2016 2:12 pm

Holger wrote:
twc wrote:butt..., if you have one popup picture its drops down @ the page and click on the next button its drops down and stay there
I see, but I'm not sure what exactly causes the problem. First of all you should fix your html to standard mode. Right know your page runs in Quirks Mode.
Indeed! Good catch!
frase wrote:The Doctype:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
change to:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
or so
Both doctypes may trigger quirks mode. According to W3C use:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
or simply

Code: Select all

<!DOCTYPE html>
Christoph M. Becker – Plugins for CMSimple_XH

twc
Posts: 233
Joined: Fri Jun 18, 2010 12:25 am
Location: Netherlands

Re: how to get lb_Gallery >> Gallery-Demo2

Post by twc » Sun Dec 18, 2016 2:20 pm

cmb wrote:
Holger wrote:
twc wrote:butt..., if you have one popup picture its drops down @ the page and click on the next button its drops down and stay there
I see, but I'm not sure what exactly causes the problem. First of all you should fix your html to standard mode. Right know your page runs in Quirks Mode.
Indeed! Good catch!
frase wrote:The Doctype:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
change to:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
or so
Both doctypes may trigger quirks mode. According to W3C use:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
or simply

Code: Select all

<!DOCTYPE html>
omg :roll: :D

<!DOCTYPE html> did it :mrgreen:

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: how to get lb_Gallery >> Gallery-Demo2

Post by frase » Sun Dec 18, 2016 2:21 pm

Sorry.
Christoph, you are right.

The best is:

Code: Select all

<!DOCTYPE html>
But, the source-code is incorrect.
Look in Firefox -> Source-Code.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: how to get lb_Gallery >> Gallery-Demo2

Post by cmb » Sun Dec 18, 2016 2:33 pm

frase wrote:But, the source-code is incorrect.
Indeed, but I believe most of the HTML on the WWW is, see e.g. https://validator.w3.org/nu/?doc=https% ... ogle.de%2F.
Christoph M. Becker – Plugins for CMSimple_XH

twc
Posts: 233
Joined: Fri Jun 18, 2010 12:25 am
Location: Netherlands

Re: how to get lb_Gallery >> Gallery-Demo2

Post by twc » Sun Dec 18, 2016 2:50 pm

cmb wrote:
frase wrote:But, the source-code is incorrect.
Indeed, but I believe most of the HTML on the WWW is, see e.g. https://validator.w3.org/nu/?doc=https% ... ogle.de%2F.
oky..to bad....dont have many time for fix websites again...

Post Reply