Page 1 of 1

Editing Fancybox .js

Posted: Fri May 27, 2011 5:07 pm
by DesignNorth
Wanting to use fancybox with the title inside the picture...

Inside the fancybox file there is

Code: Select all

titlePosition : 'float', // 'float', 'outside', 'inside' or 'over'


If I change this to...

Code: Select all

titlePosition : 'inside', // 'float', 'outside', 'inside' or 'over'


It makes no difference. I assume WebYep is changing the parameters (or setting default ones).

How to I change the settings?

Re: Editing Fancybox .js

Posted: Mon May 30, 2011 11:30 am
by marcus
DesignNorth wrote:How to I change the settings?

Create a file named fancybox_params.js in your /webyep-system/program/opt folder and put your configuration options there.

Here is an example of what it could look like:

Code: Select all

'transitionIn':  'elastic',
'transitionOut': 'elastic',
'speedIn':       600,
'speedOut':      200,
'overlayShow':   true,
'cyclic':        true,
'titlePosition': 'inside'