I am turning the PSD design to responsive template for online store. Here is link. I came across to the problem. There is a confuguration menu(config panel) on the left sife for choosing and filtering the desired good.When clicking on config panel toggle or on any items of config panel , config panel opens or closes. You can see the action visiting the link. But on mobile version, config panel is hiddedn by default. Only clicking the appropriate button reveals it. I embodied this by adding '.show' class to parent config panel. After that, a trigger event opens the full configuration panel THe problem is, It does does not disappear when I press again on the toggle button of config panel. On tablet and desktop sizes this toggle button(x icon) hides the main part of configuration panel. But in mobile version it must act as close button which fully closes the configuration panel. I just need the way which realizes the removing added before '.show' class only on mobile version.Is it possible to make this functionality, in general? Thanks for any help! script that opens config panel from mobile version.
changing the functionality of the toggle button in mobile view
128 Views Asked by parnas At
1
There are 1 best solutions below
Related Questions in JQUERY
- In Datatables, start value resets to 0, when column sorting
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- window.location.href redirects but is causing problems on the webpage
- Using JQuery Date Slider
- Storing selected language in localStorage
- How to stop other divs from still showing when i click a different button?
- Check multiple values with jQuery
- Bootstrap component does not want to render in Datatables function
- put white spaces when entering an amount moneytype symfony
- Trouble accessing custom header in AJAX response using jQuery in Fiware Keyrock
- I just cant make it work, HTML, JS and Firebase error
- Didn't declared variable still not getting any error in JavaScript
- Move element horizontally while scrolling vertically in pure JavaScript
- allow multi carousel in same page
- Embedded TikTok posts / thumbnail styling issue
Related Questions in JQUERY-MOBILE
- Jquery mobile nav bar items not properly placed
- jQuery Mobile Autocomplete freeze all the page
- How can i fix the error i get when i run cordova build android on windows cmd
- want to make a swipe menu common for all page of my html,
- JQueryMobile not keeping default style for dynamically appended html
- class added to div prints extra pages confusion
- Discord time stamp bug
- Show different element if the the class has the class active
- jQuery-Mobile fancy popup box works with jQuery 2.1.3 but breaks with jQuery 2.2.4
- ASP.NET MVC 5 : model not binding to HttpPostedFileBase from Razor form w/jQuery Mobile
- Filtering an unordered list with jQuery Mobile 1.5
- i want to show footer navbar on different situation in JQUERY MOBILE
- Getting the information of a mobile device by connecting to it
- Checkbox styles not applying when loading data asynchronously
- How do I get the content to display in the other menu options?
Related Questions in TRIGGERS
- Delete trigger run for each deleted row when delete multi row on edit tab
- Have a script work multiple times with the same class
- Trigger when viewing a certain sheet in google apps script
- trouble to trigger Jenkins job
- Postgresql Auto Update Column
- PowerAutomate Flow not behaving as intended for SharePoint List Modifications; Issue may be Trigger formulas
- Safely using TRUNCATE with active AFTER INSERT triggers in PostgreSQL?
- While-loop in Python script not working when a record is added in MySQL table from triggers
- Installable Trigger not being installed in published Google Forms Editor Add-On
- Error: pq: at or near "update_assignee_columns_trigger": syntax error: unimplemented: this syntax
- Why does the trigger execution log for a sendEmail function of my google script project says it's completed, and yet no actual emails are being sent?
- SQL Server trigger is blocking data to the table
- Logic app blob trigger retry policy not working for 503 error
- Data Factory triggers two releases on Azure DevOps after Pull Request
- Trying to run a procedure inside After insert trigger , even though procedure run for 10 mins last row updated time is same as 1st row
Related Questions in REMOVECLASS
- Adding and removing classes on mutiple divs
- setTimeout() doesn't work with jQuery(this)
- jQuery, manipulate dynamically created element in callback of a click on it
- Toggle class using javascript between two
- How to add and remove class when user clicks and hover a link
- Attempt to removeClass in jquery fails
- jQuery .click function not work after reload
- Remove a class when two divs overlap
- Uncaught TypeError: element.removeClass is not a function In Jquery
- jQuery click function not working (addClass / removeClass)
- removeClass is not working if href exist in anchor
- changing the functionality of the toggle button in mobile view
- Using link to remove list items from page using HTML5 and Javascript
- jQuery removeClass and addClass not working
- Having trouble removing from BST
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I think your
$('.config-toggle').on('click')is just missing a$('.wrapper').find('.config').removeClass('show');BTW, great design!!!