Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

ShadowBox - set popup position with each link opens

shadowbox setting position of popup



5:53 pm on Sep 29, 2010 (gmt 0)

5+ Year Member


I first posted this on ShadowBox's support forum, but no reply till yet. Really need to have this sorted.

I need to set the top and left positions of the shadowbox window, is there a way to do that?

What I am doing is, I have a top menu in my webpage, and each menu item calls different shadowbox windows in which it has defined pages.

by default, it loads the popup in the center of window, I need it to open under each menu item which is clicked. I thought there could be a way to set its left and top position like we can do width and height.

Please help.



6:38 pm on Sep 29, 2010 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Assuming you are referring to shadowbox-js.com, I took a quick look in the code and it does not appear that there is any way to support different top/left positions without modifying the shadowbox.js file itself. You might try contacting the author to find out if it is supported. I will stickymail you the contact information that I found.


7:31 pm on Sep 29, 2010 (gmt 0)

5+ Year Member

Hello Fotiman,

Thanks for trying to help. I never had good luck with contacting the authors directly as they always direct us to their community support forums. and prefer not to respond directly.

So I didn't try wasting his or my time contacting him directly.

Hope someone can help here.


Featured Threads

Hot Threads This Week

Hot Threads This Month