Hi all,

Is there any way I can detect if there is a scroll bar on the right of my web page.

I use a javascript drop down menu and position it precisely with certain pixel count. It's a photo gallery.

However, if the picture has an extra size, the menu looks ugly with a scroll bar on the right. I've tried every method found on Google search but it's not working.

Do you have any idea suggestion.

My keywords search are; window height, window width, scroll bar detection, and many, many more I can remember it all.

Thanks

Edit: I've used iframe shim as placeholder