0

I wonder why this minus (-) on one place is able to hide the content while the others unable to hide the content, like nothing happen. It has the same codes. You can check the button simulation in : http://fresway.com/ on the right top corner of the articles.

apages.blade.php

@extends('home')

...

<a class="plus-minus-toggeler"><span class="glyphicon glyphicon-minus"></span></a>
            <div class="backend-box _grey backend-box-email">

articles.blade.php

@extends('home')

...

<a class="plus-minus-toggeler"><span class="glyphicon glyphicon-minus"></span></a>
            <div class="backend-box _grey backend-box-email">

This is part of the home blade in laravel.

home.blade.php

 if (type == "article") {
        $('.placeholder-second').hide();
        $('.placeholder-first').hide();
        $(".backend-box").hide();
        $(".content-gallery ").hide();
        $("#artikel_placeholder").show();
        $(".placeholder-third").hide();
        $(".plus-minus-toggeler:not(.dont-hide)").hide();
    }

Any clue how to make the minus button works in apages.blade.php works? Like what js codes do I need to add?

3
Contributors
5
Replies
33
Views
1 Month
Discussion Span
Last Post by davy_yg
0

@hericles - I PM the new password. Since someone changed my first password and makes me cannot login.

0

Since someone changed my first password and makes me cannot login.

Yeah, you could wait for that :))))

Oh... and it was not me!

0

I wonder why it doesn't work. I already add this script to hide the backend-box whenever the - (minus) sign being clicked.

 $('plus-minus-toggeler').on( "click", function( event ) {
    $('backend-box').hide();
});
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.