Author Topic: Hiding the flyout menu (Navigation)..........  (Read 661 times)

0 Members and 1 Guest are viewing this topic.

Offline DW7240

  • Senior Contributor
  • ****
  • Posts: 225
    • The Vicarage Weather Feed
Hiding the flyout menu (Navigation)..........
« on: July 26, 2015, 01:30:09 PM »
What do I need to add to the flyout menu xml file to make it hide when displaying, for example, pictures on the screen.  To see what I mean, please visit my site and go to the weather photo albums page which is near the bottom of the menu left hand side of screen, clicking on any photo will enlarge the picture, a nice feature but the flyout menu appears on top of the image, while the rest of the website hides behind the picture.

Any help would be appreciated as usual.

Thanks.

Nick. Dw7240.com
« Last Edit: July 26, 2015, 01:46:02 PM by DW7240 »


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Hiding the flyout menu (Navigation)..........
« Reply #1 on: July 26, 2015, 08:18:55 PM »
Yes, in the ddphpalbum.css change
Code: [Select]
#thumbBox{ /*Outermost DIV for thumbnail viewer*/
position: absolute;
left: 0;
top: 0;
width: auto;
padding: 8px;
padding-bottom: 0;
background: #313131;
visibility: hidden;
z-index: 10;
to
Code: [Select]
#thumbBox{ /*Outermost DIV for thumbnail viewer*/
position: absolute;
left: 0;
top: 0;
width: auto;
padding: 8px;
padding-bottom: 0;
background: #313131;
visibility: hidden;
z-index: 600;
and the popup full display will be placed over the menu (which uses z-index: 500 in it's css).
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline DW7240

  • Senior Contributor
  • ****
  • Posts: 225
    • The Vicarage Weather Feed
Re: Hiding the flyout menu (Navigation)..........
« Reply #2 on: July 26, 2015, 09:15:35 PM »
Hi Ken,

Thank you for the reply, done as you suggested, the picture now appears above my site page, unless a viewer realizes this and moves the page down, they won't see the pic - Any other suggestions ?  I may have to keep to original css and just put up with the menu down the left side of the pic, or make the larger image smaller and avoid the menu, but that rather goes against the idea of a full screen view (well almost full screen)  Maybe a full screen image is the answer - if so, what part of the script controls this ?

Thanks again Ken,

Nick. DW7240.com


Offline DW7240

  • Senior Contributor
  • ****
  • Posts: 225
    • The Vicarage Weather Feed
Re: Hiding the flyout menu (Navigation)..........
« Reply #3 on: July 26, 2015, 09:18:42 PM »
OK it now works, wow.......

Why it didn't work before is beyond me !

Thanks so much Ken !!! :-P

Nick. DW7240.com


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Hiding the flyout menu (Navigation)..........
« Reply #4 on: July 26, 2015, 10:11:42 PM »
The CSS was likely cached by the browser... doing a shift-reload would cause it to be reloaded and parsed. :)

You're welcome!
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP