• offcanvas

    From Tintino@1:103/705 to Echicken on Sun Jan 8 20:27:46 2017
    Hi,

    Is it possible to turn off sidemenu on a specific side???
    How to do that?

    Thanks for all help.

    /Tintino


    ---
    * Synchronet * Pepzi - Pepzi.se 500/100 Mbits
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From echicken@1:103/705 to Tintino on Sun Jan 8 16:56:18 2017
    Re: offcanvas
    By: Tintino to Echicken on Sun Jan 08 2017 20:27:46

    Is it possible to turn off sidemenu on a specific side???

    I'm still thinking about ways to allow the page layout to be customized. Right now there isn't a *good* way to put the sidebar on the left or to remove it.

    I can make it possible to disable the sidebar altogether, or place it on the left or right based on settings. If there are other layout options that you'd like to see, let me know and I'll see if I can incorporate them.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Tintino@1:103/705 to Echicken on Sun Jan 8 23:29:50 2017
    2017-01-08 16:56, echicken wrote to Tintino:

    Is it possible to turn off sidemenu on a specific side???

    I'm still thinking about ways to allow the page layout to be customized. Right now there isn't a *good* way to put the sidebar on the left or to remove it.

    I can make it possible to disable the sidebar altogether, or place it on the left or right based on settings. If there are other layout options that you'd like to see, let me know and I'll see if I can incorporate
    them.

    If you look on my site Pepzi.se and under "Kameror", you can look what I mean. I am not good to programming, but I trying :) Maybe i can fix it anyway.

    /Tintino



    ---
    * Synchronet * Pepzi - Pepzi.se 500/100 Mbits
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From echicken@1:103/705 to Tintino on Sun Jan 8 19:04:52 2017
    Re: Re: offcanvas
    By: Tintino to Echicken on Sun Jan 08 2017 23:29:50

    If you look on my site Pepzi.se and under "Kameror", you can look what I mean. I am not good to programming, but I trying :) Maybe i can fix it

    Okay, I see it now. I'll put a bit of work into this tonight and see what I can come up with.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From echicken@1:103/705 to Tintino on Mon Jan 9 18:11:20 2017
    Re: Re: offcanvas
    By: Tintino to Echicken on Sun Jan 08 2017 23:29:50

    If you look on my site Pepzi.se and under "Kameror", you can look what I mean. I am not good to programming, but I trying :) Maybe i can fix it anyway.

    It looks like you may have solved or worked around this problem yourself now, but FYI I made some changes today that may help.

    I've amended the "control line" format used in SSJS, XJS, and HTML files so that it can provide a number of options (which could be expanded in the future). Current options are HIDDEN and NO_SIDEBAR.

    In your webcam.html file, for example, your first comment line probably looks like this:

    <!--Pepzi: Kameror-->

    You should now be able to do this to disable the sidebar for that page:

    <!--NO_SIDEBAR:Pepzi: Kameror-->

    If you wanted to hide the page from the menu and who's online list, you could do:

    <!--HIDDEN|NO_SIDEBAR:Pepzi: Kameror-->

    Some other things were changed as well; I added some layout settings and made it possible to have multiple dropdown menus and sub-menus if you want. See today's messages in the Synchronet Programming sub for details.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Tintino@1:103/705 to Echicken on Tue Jan 10 12:37:20 2017
    2017-01-09 18:11, echicken wrote to Tintino:

    If you look on my site Pepzi.se and under "Kameror", you can look
    what I mean. I am not good to programming, but I trying :) Maybe i
    can fix it anyway.

    It looks like you may have solved or worked around this problem yourself now, but FYI I made some changes today that may help.

    Yes, i found a way to fix it temporary.

    I've amended the "control line" format used in SSJS, XJS, and HTML files
    so that it can provide a number of options (which could be expanded in the future). Current options are HIDDEN and NO_SIDEBAR.

    In your webcam.html file, for example, your first comment line probably looks like this:

    <!--Pepzi: Kameror-->

    You should now be able to do this to disable the sidebar for that page:

    <!--NO_SIDEBAR:Pepzi: Kameror-->

    If you wanted to hide the page from the menu and who's online list, you could
    do:

    <!--HIDDEN|NO_SIDEBAR:Pepzi: Kameror-->

    Thats great. Thank you very much. I need it to future pages. I just
    translate my old website to ecweb.

    Some other things were changed as well; I added some layout settings and made it possible to have multiple dropdown menus and sub-menus if you
    want. See today's messages in the Synchronet Programming sub for details.

    Thanks for that. I just tried to add a new dropdown, but now I change all
    to the new options. :)

    In js-date-format.js I have change all to swedish, but it show
    weekdays in english anyway, in userlist and more...
    Does userlist not using that file?

    echicken

    /Tintino


    ---
    * Synchronet * Pepzi - Pepzi.se 500/100 Mbits
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From echicken@1:103/705 to Tintino on Tue Jan 10 08:09:10 2017
    Re: Re: offcanvas
    By: Tintino to Echicken on Tue Jan 10 2017 12:37:21

    In js-date-format.js I have change all to swedish, but it show
    weekdays in english anyway, in userlist and more...
    Does userlist not using that file?

    Not at the moment. I forgot about js-date-format.js, which was part of a contribution by somebody else. I'll pay some attention to this when I start working on more localization and customization.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - vert.synchro.net (1:103/705)