views:

191

answers:

0

Hi,

How do I skin shadowbox and make sure popup size is fixed size?

The css part is ok since it's just overriding ids and classes.
However, I'm not sure what the markup.js is supposed to look.

So here are my questions:
1. I created shadowbox-custom-skin/markup.js and added the hook like add_filter('shadowbox-markup', 'shadowbox_custom_markup');
Now I can't find an example of how the markup.js is supposed to look.
(I'm trying to put the "sb-nav" div before the content and the "sb-title" div below the content and also add some new parameters)

  1. When I fixed the size of the popup using this method rel="shadowbox;width=480px;height=240px", now handleOversize "resize" no longer works. Meaning, it will resize content, but it's squeezed.
    How do I make sure the popup is the same size, but oversized content isn't squeezed and small content is just centered?

Thank you,
Tee