side bar open/closed broken

Closed
Advanced Security - PHP Register/Login System Advanced Security - PHP Register/Login System May 28, 2018
Login to reply
Milos Stojanovic Support Agent
6 months ago

Hey,

I'm sorry but I guess that you have confused the AS with some other application... There is no such HTML code in Advanced Security application.  If you have added it by yourself then it is not something that I can help you with.

Regards,

Milos

jeckziel cortes
6 months ago
<!-- SIDE MENU -->

<div id="mobile-menu" class="side-menu left closed">
<!-- SVG PLUS -->
<svg class="svg-plus">
<use xlink:href="#svg-plus"></use>
</svg>
<!-- /SVG PLUS -->

<!-- SIDE MENU HEADER -->
<div class="side-menu-header">
<figure class="logo small">
<img src="images/logo.png" alt="logo">
</figure>
</div>
<!-- /SIDE MENU HEADER -->

<!-- SIDE MENU TITLE -->
<p class="side-menu-title">Main Links</p>
<!-- /SIDE MENU TITLE -->

<!-- DROPDOWN -->
<ul class="dropdown dark hover-effect interactive">
<!-- DROPDOWN ITEM -->
<li class="dropdown-item">
<a href="index.html">Home</a>
</li>
<!-- /DROPDOWN ITEM -->

This is a piece of code from the index page. The line

<div id="mobile-menu" class="side-menu left closed">

is for the side menu. When the close button is clicked its class changes to

class="side-menu left open"

May sound dumb but how does it work? Thanks.

Milos Stojanovic Support Agent
6 months ago

Hey,

I'm not sure that I understand your question exactly. Can you please explain it a bit more?

Advanced Security script does not have such code and its sidebar is not collapsible...

jeckziel cortes
6 months ago

hi, I am having a little of a hard time understanding the side-bar JavaScript to close via the SVG. Whenever I change the code it breaks.

<div id="mobile-menu" class="side-menu left closed">

How does it function since I need to close the sidebar via the X button but it does not closes. Thanks in advance.