Editing Fancybox .js

General discussions about WebYep
Post Reply
Rank 2
Rank 2
Posts: 57
Joined: Mon Apr 23, 2007 4:49 pm

Editing Fancybox .js

Post by DesignNorth » Fri May 27, 2011 5:07 pm

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?

Objective Development
Objective Development
Posts: 170
Joined: Tue Nov 30, 2010 1:25 pm

Re: Editing Fancybox .js

Post by marcus » Mon May 30, 2011 11:30 am

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'

Post Reply