Fancybox Tweak

More
11 years 5 months ago #43499 by igcorreia
Fancybox Tweak was created by igcorreia
Where can I find this code:
Code:
jQuery(document).ready(function(){ jQuery('.fancybox').fancybox(); });

I need to change it :)

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #43502 by ggppdk
Replied by ggppdk on topic Fancybox Tweak
Hello

it is easy to find,
with text edit do a folder recursive search for:
jQuery('.fancybox')

for *.js
of for *.php

-- it is inside
components/com_flexicontent/classes/flexicontent.helper.php
... inside the loadFramework() function

change it? to add extra cases?
jQuery('.fancybox,.fancybox2')
maybe you can do this without altering this file


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #43504 by igcorreia
Replied by igcorreia on topic Fancybox Tweak
This is what I did:
Code:
jQuery('.fancybox').fancybox({ nextEffect : 'fade', prevEffect : 'fade', padding : 0, helpers : { title : { type: 'over' }, thumbs : { width : 75, height : 50, source : function( item ) { return item.href.replace('_b.jpg', '_s.jpg'); } } } });

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #43513 by ggppdk
Replied by ggppdk on topic Fancybox Tweak
Hello

yes this is planned ... to add Gallery specific params e.g. in image field,

-- the parameter loading of an external parameter XML files is already implemented !!

... but we need to read docs of each JS gallery to find which customization parameters are interesting,
... or also custom param to contain the params that developer will enter after reading the docs of the JS gallery


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.301 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save