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
124 Views Asked by parnas At
1
There are 1 best solutions below
Related Questions in JQUERY
- How to sort these using Javascript or Jquery Most effectively
- Ajax jQuery firing multiple time display event for the same result
- .hover() seems to overwrite .click()
- Check for numeric value with optional commas javascript
- Extending Highmaps Side Effect
- Array appending after each onclick and loop in javascript
- how can i append part of a table based on how many tr it has?
- Play multiple audio files in a slider
- Remove added set of rows
- Access property of an object of type [Model] in JQuery
- AJAX PHP - Reload div after submit
- proengsoft/laravel-jsvalidation ReferenceError: jQuery is not defined
- when a checkbox is checked how to display a different hidden element using javascript
- Get jquery error Uncaught RangeError: Maximum call stack size exceeded
- Removing only the closest thead on table filtering
Related Questions in JQUERY-MOBILE
- Get selected columns for a columntoggle table
- jQuery mobile - generating html dynamically not working with iframe
- jQuery mobile Multiselect doesn't update selected attribute
- Exit windows app confirmation button not working
- jquery mobile swipe stops if i swipe right on the first page and and left on the last page
- Jquery Mobile: Horizontal Buttons, fill container
- Cordova camera plugin not working in Android mobile but working in emulator
- how to parse a xml file using jquery and phonegap?
- pass input value with jquery does not work
- Photoswipe Custom Button
- why the input box is not disable while checking the check box?
- Display Mobile Compatible when it's on mobile
- Xml audio list player not working on the mobile and autoplay is not working
- Dygraph not shown on collapsed jQuery mobile collapsible widget
- Jquery slideToggle and hover issues
Related Questions in TRIGGERS
- PL SQL After Delete Trigger Not Inserting Record
- change content button with trigger
- Insert into Change Log based on Trigger After Update
- Animation Trigger (Storyboard + Trigger) in C#
- delete trigger to delete row in another table in another database sql
- Add extra column in insert with instead of trigger
- Check if inserted row is the same as current
- SQL Trigger Error Code
- Trigger vs. Dependency Property precendence
- Mysql #1235 error code, when create 2 triggers with different purposes
- if x not in(select y from table) in oracle
- Edit DataGrid Cell on mouse over
- SQL Trigger Update Average
- SQL Trigger doesn't get fired
- Get deleted values from 3 tables and put in 1 table
Related Questions in REMOVECLASS
- Javascript mobile device width check and class remove
- jquery.RemoveClass - Removing class by not refering id
- jQuery how do use `addClass` on a list item
- changing the functionality of the toggle button in mobile view
- removeClass is not working if href exist in anchor
- jQuery click function not working (addClass / removeClass)
- Uncaught TypeError: element.removeClass is not a function In Jquery
- addClass and removeClass previous class on keydown Jquery
- addClass/removeClass are not working properly
- Jquery remove/add CSS class
- Fire script after search and strip css
- If input field is completed remove class jquery
- CSS & jQuery (Q1): Best light-weight method to switch from slide to slide on click
- javascript - removeClass to elements that has it
- jQuery - Remove class on scroll
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 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!!!