[SOLVED] Galery image vanish on rollover...

More
9 years 2 months ago #57349 by ggppdk
Also

your other alternative is to enable (inside the image-gallery field)

fancybox gallery JS
instead of
jmultibox that you have now enabled


-- 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
9 years 2 months ago #57350 by Chabi01
In fact, the issue is on all image field ! Every time i have a info bubble (don't know the exact translation in english)...
And with different test, if i deactivate Jquery Easy, this is working better (nothing disappear, that's a good news !) but i found a error on the image gallery (not a mini gallery, an image with multiple value and gallery).
The console send me this :
Horodatage : 21/09/2015 18:15:58
Erreur : TypeError: window.addEvent(...) is not a function
Fichier source : sportactive.net/en/Cycling-holidays-and-.../geneva-to-nice.html
Ligne : 421
The code shown is this :
Code:
window.addEvent('domready', function(){ jQuery('a.mb').jmultibox({ initialWidth: 250, //(number) the width of the box when it first opens while loading the item. Default: 250 initialHeight: 250, //(number) the width of the box when it first opens while loading the item. Default: 250 container: document.body, //(element) the element that the box will take it coordinates from. Default: document.body contentColor: '#000', //(string) the color of the content area inside the box. Default: #000 showNumbers: true, //(boolean) show the number of the item e.g. 2/10. Default: true showControls: true, //(boolean) show the navigation controls. Default: true descClassName: 'multiBoxDesc', //(string) the classname of the divs that contain the description for the item. Default: false descMinWidth: 400, //(number) the min width of the description text, useful when the item is small. Default: 400 descMaxWidth: 600, //(number) the max width of the description text, so it can wrap to multiple lines instead of being on a long single line. Useful when the item is large. Default: 600 movieWidth: 576, //(number) the default width of the box that contains content of a movie type. Default: 576 movieHeight: 324, //(number) the default height of the box that contains content of a movie type. Default: 324 offset: {x: 0, y: 0}, //(object) containing x & y coords that adjust the positioning of the box. Default: {x:0, y:0} fixedTop: false, //(number) gives the box a fixed top position relative to the container. Default: false path: '', //(string) location of the resources files, e.g. flv player, etc. Default: '' openFromLink: true, //(boolean) opens the box relative to the link location. Default: true opac:0.7, //(decimal) overlay opacity Default: 0.7 useOverlay:false, //(boolean) use a semi-transparent background. Default: false overlaybg:'01.png', //(string) overlay image in 'overlays' folder. Default: '01.png' onOpen:function(){}, //(object) a function to call when the box opens. Default: function(){} onClose:function(){}, //(object) a function to call when the box closes. Default: function(){} easing:'swing', //(string) effect of jQuery Default: 'swing' useratio:false, //(boolean) windows size follows ratio. (iframe or Youtube) Default: false ratio:'90' //(number) window ratio Default: '90' });

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

More
9 years 2 months ago #57352 by ggppdk
Hello

yes this is the old code the new file
plugins/flexicontent_fields/image/image.php

replaces this line:
window.addEvent('domready', function(){

with:
jQuery(document).ready(function(){


-- 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
9 years 2 months ago #57355 by Chabi01
Thanks for the tip "Fancybox". I have no more error raising in the console on the production site for now.
I'm going to check all the pages after but for now, it seems to be working...

So, the issue is coming the Jquery Easy Plugin first and some script for animation right ?
Strange : why Jquery Easy put this mess on this site ?? I didn't use specific rules for this site but i have a lot of script loaded on pages...
Anyway, thanks for the help Georges.

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

More
9 years 2 months ago #57356 by Chabi01
Replaced for the JQuery call : better :)
Thanks Georges.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.814 seconds
Save
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