homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

ShadowBox - set popup position with each link opens
shadowbox setting position of popup

5+ Year Member

Msg#: 4208898 posted 5:53 pm on Sep 29, 2010 (gmt 0)


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.




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

Msg#: 4208898 posted 6:38 pm on Sep 29, 2010 (gmt 0)

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.


5+ Year Member

Msg#: 4208898 posted 7:31 pm on Sep 29, 2010 (gmt 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.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved