Page 5 of 6

Re: New: Template „fhs-left-right“

Posted: Mon Jan 22, 2018 2:23 pm
by lck
frase wrote:
Sun Jan 21, 2018 3:42 pm
A new version is available for XH 1.7.x
Very nice, thanks!

Re: New: Template „fhs-left-right“

Posted: Tue Mar 06, 2018 6:34 pm
by tanavots
Hi!

How to get print view work with this version?
If you look print view http://fhseidel.de/fhs-left-right/?&print, only top of the page is displayed (Chrome).

Best

Re: New: Template „fhs-left-right“

Posted: Tue Mar 06, 2018 6:47 pm
by lck
tanavots wrote:
Tue Mar 06, 2018 6:34 pm
How to get print view work with this version?
Solution see viewtopic.php?f=16&t=13241&p=65681&sid= ... eae#p65641.

Re: New: Template „fhs-left-right“

Posted: Wed Mar 07, 2018 8:21 am
by frase
tanavots wrote:
Tue Mar 06, 2018 6:34 pm
How to get print view work with this version?
Add in stylesheet.css this lines:

Code: Select all

body.print {
    background: #fff;
    color: #333;
    hyphens: auto;
    overflow: auto;
}
@media print {
    html {
        width: auto;
        height: auto;
        overflow: auto;
	}
}

Re: New: Template „fhs-left-right“

Posted: Mon Sep 03, 2018 10:16 am
by bca
Hi
Just been trying out this template.
How do I change it so that the left menu overlays the main content rather than pushing it.
According the the slidebars.js instructions I should just be able to change "id-1 left push" to "id-1 left reveal"

Cannot get it to work though. Is there a secret?

B

Re: New: Template „fhs-left-right“

Posted: Mon Sep 03, 2018 10:21 am
by bca
Ha Ha. :lol:
Just as I pushed send I realised i was changing it to reveal rather than overlay.

Works now.

B

Re: New: Template „fhs-left-right“

Posted: Fri Oct 12, 2018 10:55 am
by bca
Hi
I've been trying this new template for a site with a few changes here and there.

It fails on HTML validation with "Attribute canvas not allowed on element div."

I have found out that by changing

Code: Select all

<div canvas="container" class="canvasContainer">
to
<div data-canvas="container" class="canvasContainer">
It all validates correctly.
The same with

Code: Select all

<div off-canvas="id-2 right overlay"
to
<div data-off-canvas="id-2 right overlay"
Along with relevant changes in the css.

B

Re: New: Template „fhs-left-right“

Posted: Fri Oct 12, 2018 11:24 am
by frase
bca wrote:
Fri Oct 12, 2018 10:55 am
...
It fails on HTML validation with "Attribute canvas not allowed on element div."

I have found out that by changing

Code: Select all

<div canvas="container" class="canvasContainer">
to
<div data-canvas="container" class="canvasContainer">
It all validates correctly.
...
Ich bin mir nicht ganz sicher.
Ich glaube, dass der Validator versucht das canvas-Attribut als <canvas>-Element zu interpretieren - und deshalb einen Fehler meldet.
Prinzipiell sind solche Attribute aber erlaubt - dumm nur, dass es mittlerweile eben das HTML-Element <canvas> gleichen Namens gibt.
Ich denke, es wird in keinem Fall irgendwelche Probleme geben.
Wenn du das mit dem data-Attribut (was eben auch nur eine Namensänderung darstellt) gelöst hast, dann ist das gut. Ich fürchte allerdings, dass dann nicht nur das CSS angepasst werden muss, sondern auch das Script (nicht getestet).

BTW: https://www.adchsm.com/slidebars/

Re: New: Template „fhs-left-right“

Posted: Fri Oct 12, 2018 11:36 am
by frase
Noch ein Nachtrag:
Das Firefox-Plugin Html Validator gibt hier nur eine Warnung aus - keinen Fehler.

canvas2.png

Re: New: Template „fhs-left-right“

Posted: Fri Oct 12, 2018 11:58 am
by bca
Yes I adjusted the script aswell.

It's a bit tidier now :lol:

Although there are 18 css errors to look at. Mainly with the scrollbars bit :shock:

Maybe i'll leave those for now.

B