Home Page Group Menu - Collapse First Menu Bar

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
User avatar
ronwill
Veteran Member
Posts: 228
Joined: 2015-08-08 10:12
Location: Cheltenham UK +Weatherford USA

Home Page Group Menu - Collapse First Menu Bar

Post by ronwill » 2017-12-06 03:06

Is it possible that when loading the main menu page that the first/top group menu bar starts in the closed state not open as in does in default?
For most cases the normal method works fine for me, but I have a background image that I want displayed without having all the buttons showing over it on page opening.
Thanks,

Ron
Ron - Gloucestershire, UK: AppGini Pro V 23.15 Rev 1484 - LOVING IT!
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + Messages
Bizzworxx: AppGiniHelper + Inline Detail View
Alejandro Landini: To-Do List + MPI + TV Field Editor
Other: Udemy Course

peebee
AppGini Super Hero
AppGini Super Hero
Posts: 352
Joined: 2013-03-21 04:37

Re: Home Page Group Menu - Collapse First Menu Bar

Post by peebee » 2017-12-06 04:00

You can remove or comment out this line in home.php and all groups on the home page will load in the closed position

Code: Select all

$j('.collapser:visible').eq(0).click();
or you could edit it to be:

Code: Select all

$j('.collapser:invisible').eq(0).click();

User avatar
ronwill
Veteran Member
Posts: 228
Joined: 2015-08-08 10:12
Location: Cheltenham UK +Weatherford USA

Re: Home Page Group Menu - Collapse First Menu Bar

Post by ronwill » 2017-12-06 05:37

Excellent, Thanks peebee just what I needed to know
Cheers,
Ron
Ron - Gloucestershire, UK: AppGini Pro V 23.15 Rev 1484 - LOVING IT!
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + Messages
Bizzworxx: AppGiniHelper + Inline Detail View
Alejandro Landini: To-Do List + MPI + TV Field Editor
Other: Udemy Course

User avatar
ronwill
Veteran Member
Posts: 228
Joined: 2015-08-08 10:12
Location: Cheltenham UK +Weatherford USA

Re: Home Page Group Menu - Collapse First Menu Bar

Post by ronwill » 2020-06-11 03:58

Is it possible to make collapser:visible for lg / md screen and collapser:invisible for xs / sm screens?
Cheers
Ron - Gloucestershire, UK: AppGini Pro V 23.15 Rev 1484 - LOVING IT!
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + Messages
Bizzworxx: AppGiniHelper + Inline Detail View
Alejandro Landini: To-Do List + MPI + TV Field Editor
Other: Udemy Course

Post Reply