Welcome to WebmasterWorld Guest from 54.167.40.25

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)

Junior Member

5+ Year Member

joined:Aug 7, 2008
posts: 93
votes: 0


Hello,

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.

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

Senior Member from US 

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

joined:Oct 17, 2005
posts:4966
votes: 10


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 Sept 29, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 7, 2008
posts: 93
votes: 0


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.

Thanks
Ali