PDA

View Full Version : Resolved Fade In Slide Show covers menu options



mcolton
03-03-2017, 05:58 PM
1) Script Title: Ultimate Fade In Slide Show

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: The code is working but the picture covers some of the menu options. Menu used is ddsmoothmenu

Code located at
http://lotatennis.com/newindex4.htm

There are options under "All About LOTA" that cannot be seen.
Thanks for any help

Got it to work putting z-index:-1 for the image frame

jscheuer1
03-03-2017, 08:23 PM
You've actually disabled two features of the slideshow on that page. One can no longer toggle the descriptions, and the slideshow no longer pauses on mouse over. If there were links in the slideshow, they would be inoperative. It's better to raise the z-index of the menu. In the ddsmoothmenu.js file, you can set the z-index value (after the lengthy update notices we see):


///////////////////////// Global Configuration Options: /////////////////////////

mobilemediaquery: "screen and (max-width: 700px)", // CSS media query string that when matched activates mobile menu (while hiding default)
//Specify full URL to down and right arrow images (23 is padding-right for top level LIs with drop downs, 6 is for vertical top level items with fly outs):
arrowimages: {down:['downarrowclass', 'down.gif', 23], right:['rightarrowclass', 'right.gif', 6], left:['leftarrowclass', 'left.gif']},
transition: {overtime:300, outtime:300}, //duration of slide in/ out animation, in milliseconds
mobiletransition: 200, // duration of slide animation in mobile menu, in milliseconds
shadow: false, //enable shadow? (offsets now set in ddsmoothmenu.css stylesheet)
showhidedelay: {showdelay: 100, hidedelay: 200}, //set delay in milliseconds before sub menus appear and disappear, respectively
zindexvalue: 1000, //set z-index value for menus
closeonnonmenuclick: true, //when clicking outside of any "toggle" method menu, should all "toggle" menus close?
closeonmouseout: false, //when leaving a "toggle" menu, should all "toggle" menus close? Will not work on touchscreen

Simply changing that value to 1001 should take care of it without having to partially disable the slideshow.