• Great plugin – love it! I am trying to link to an external URL but control the dimensions of the shadowbox so it doesn’t show the full page. How can I do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matt Martz

    (@sivel)

    You are going to have to specify the rel attribute on the anchor tag.

    something like:

    <a href="http://example.org" rel="shadowbox;player=iframe;width=640;height=480;">Some Url</a>

    Thread Starter TopNet

    (@topnet)

    Awesome, thanks for the quick reply! That did it 🙂

    Thread Starter TopNet

    (@topnet)

    Ok, so now I’ve specified the size, can I also specify the position? It is showing the page in the lightbox but it is positioned at the top left, I need it centered horizontally.

    Thanks so much Matt,

    Shawn

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Shadowbox JS] How do I control the dimensions?’ is closed to new replies.