Search…

X3 Photo Gallery Support Forums

Search…
 
winph
Experienced
Topic Author
Posts: 236
Joined: 19 Jul 2008, 05:07

Hide Submenu

30 Apr 2015, 02:16

Hi,

I hide submenu using "menu: hide" but when i mouseover the menu an it still trying to popup invisible item.

win
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Hide Submenu

30 Apr 2015, 08:41

winph wrote:I hide submenu using "menu: hide" but when i mouseover the menu an it still trying to popup invisible item.
Please, when posting questions like this, can you include a link to your gallery? How am I supposed to understand what "trying to popup invisible item" means?
 
winph
Experienced
Topic Author
Posts: 236
Joined: 19 Jul 2008, 05:07

Re: Hide Submenu

02 May 2015, 00:21

sorry... my demo site is sherwintan.com/x3

i dont know what happen but menu under journal is now working without submenu. before i can see submenu but without the menu. (same color as submenu about 5-8px dropping below journal)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Hide Submenu

02 May 2015, 01:37

Hiding all the pages in a menu might not allow the parent menu item to know if it should display a menu or not, and there may be some artifacts from a menu. Instead, try to add hideChildren inside the journal page, which will hide ALL child pages from this menu item.
Code
menu: hideChildren