So I have a javascript library setup on http://www.topholidayrecipes.com/crockpot-chicken-recipes.html and this page uses fancy box (located in the recipe box named "iframe" ). The problem is that everytime the scroll function is used inside and outside the fancybox...the play and pause buttons from the javascript slideshow are overlapping the fancybox and its content. How would I go on to solve this problem. Thank you for helping.
I am using the slimScroll plugin for jQuery by Piotr Rochala Which is a great plugin for nice scrollbars on most browsers but I am stuck because I am using it for a chat box and whenever the user appends new text to the boxit does scroll using the .scrollTop() method however the plugin's scrollbar doesnt scroll with it and when the user wants to look though the chat history it will start scrolling from near the top. I have made a quick demo of my situation http://jsfiddle.net/DY9CT/2/ Does anyone know how to solve this problem?
Look at your z-indexes:
ReplyDelete.dg-image-gallery-next-autoplay-containe is 20000
.fancybox-opened is 1003
Make fancybox's z-index bigger than the play buttons.
PS. you could use overflow:auto instead of overflow:scroll to get rid of the horizontal scrollbars in some of your elements.