Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

JEM3.0.7: Bootstrap accordion, keep open sliders remembered? 3 years 8 months ago #26282

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4523
  • Thank you received: 493
using locally
- Joomla 3.9.10
- JEM 3.0.7 (version not supported)
++ additional changes
- PHP 7.x

In the used version of JEM bootstrap accordion is used. It works fine except one thing and that's that the open sliders are not remembered. Basicly open tabs are rembered in Joomla, but sliders are a different story. Am currently testing a bit to see if it can be done.

if someone knows a way then i'd like to hear it.
(won't respond to PM)
==================================================================
running: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3
Last edit: by Bluefox.
The topic has been locked.

JEM3.x: Bootstrap accordion, keep open sliders remembered? 3 years 8 months ago #26288

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4523
  • Thank you received: 493
Did manage to resolve the issue with remembering the open sliders by using a bit of javascript/jquery. Not sure if it's very usefull but in my case it does :). The script is making use of localStorage and it tracks the open/closed sliders. When open it's stored, but when closed the slider-ID is removed from localStorage.

Ah well if someone knows a better solution: you're welcome to post.

// attached a screenshot of what i meant with the bootstrap-sliders
(won't respond to PM)
==================================================================
running: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3
Attachments:
The topic has been locked.

JEM3.x: Bootstrap accordion, keep open sliders remembered? 3 years 8 months ago #26289

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4523
  • Thank you received: 493
as i do like to see what's in the localStorage i've also added a function to the houskeeping-view. where all entrees are visible and with a remove button.
(won't respond to PM)
==================================================================
running: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.397 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......