![]() |
|
Thread Tools |
#1
|
||||
|
||||
Keep div hidden on different page
I currently have this code:
What I would like to do is for it to remember the users selection. Essentially if the user is on the home page and chooses to hide the menu, it will stay hidden while they are on a different page. The following members like this post: the one
|
#2
|
||||
|
||||
what you need is an Oreo =)
take a look at this, seems you understand what you're doing. So im going to point you in the right direction Double Stuffed Oreo's Chocolate Chip Cookies
__________________
If you need custom work done please use Dirt RIF CustUmz Owner of vBTeam vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11. No members have liked this post.
|
#3
|
||||
|
||||
Originally Posted by Dr.CustUmz
I have no clue what I'm doing with jQuery. I found this code online lol.
![]()
No members have liked this post.
|
#4
|
||||
|
||||
Here is something what you're looking for, I use this on my forum as an alternative to the confusing templates that is used within vB3. You can alter this to suit your needs
The following members like this post: Dr.CustUmz
|
#5
|
||||
|
||||
Originally Posted by greigeh
It still appears when going to a new page even if it was hidden on the previous one.
![]()
No members have liked this post.
|
#6
|
||||
|
||||
did you modify it to fit your classes? take the time to read the links i shared, get an understanding of what you're trying to accomplish, you should have no issue adapting grieg's code.
http://stackoverflow.com/questions/1...ie-with-jquery if your looking more for a "will you do it for me" and not actually wanting to learn anything, share your template
__________________
If you need custom work done please use Dirt RIF CustUmz Owner of vBTeam vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11. No members have liked this post.
|
#7
|
||||
|
||||
Originally Posted by Dr.CustUmz
Well I just solved the issue. I forgot to include jquery.cookie.js file. I probably should have double checked to see if that was included. Honest mistake really. Thanks for the help!
![]()
The following members like this post: greigeh, Dr.CustUmz
|
#8
|
|||
|
|||
Sorry I should really have mentioned you needed that file! Glad you got it to work though.
![]() No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 14:47.