Elxis CMS Forum
Support => General => Topic started by: ROUBOS on January 13, 2010, 01:42:09
-
I have a Rolling Image Menu and Easy Gallery bot working on the same page. Conflict issues. I disable the use of mootools for Easy Gallery and it still does not display images correctly.
Anyone managed to fix such conflict issues ?
-
Simple image gallery plugin seems to be working better than Easy Gallery with the Rolling image menu.... images load normal, the rolling images menu does not slide the pictures
There is a joomla plugin for controlling moorools but of course will not work with Elxis.
:(
-
try to do this
maybe you have the same problem that easy gallery has with image rotator under IE6 and IE7.
open the file mambots/content/easygalley/slimbox.js
replace the last line:
window.addEvent('domready', Lightbox.init.bind(Lightbox));
with these two lines:
var load_method = (window.ie ? 'load' : 'domready');
window.addEvent(load_method, Lightbox.init.bind(Lightbox));
-------------------------------------------------------------------------
if also works badly, open your template go to the end of the page and before of tag </body> add these two lines (or try one of these)
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/content/easygallery/mootools-1.11-compressed.js"></script>
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/content/easygallery/slimbox.js"></script>
Load Mootools?: Load Slimbox?: in easygallery config must be set no!
--------------------------------------------------------------------------
good luck
-
thank you so much
that fixed it :D
-
i pasted the code you gave us
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/content/easygallery/mootools-1.11-compressed.js"></script>
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/content/easygallery/slimbox.js"></script>
but above it i already have this one
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'></script>
<script type='text/javascript'>
$(function(){$.fn.scrollToTop=function(){$(this).show().removeAttr("href");if($(window).scrollTop()!="0"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="0"){$(scrollDiv).fadeIn("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:0},400)})}});
$(function() {
$("#toTop").scrollToTop();
});
</script>
which is code for a scroll to top icon i have
,now these scripts together seem to have problems. now easy gallery popup light box works fine but scroll to top doesnt.
any ideas ?
...you can check this yourself at
www.chrispikridas.gr
-
Remove scroill to top. There are very easy solutions to scroll to any anchor link without jquery. Do not use jquery for anything!
Use this script for example:
http://hotels.isopensource2.com/templates/philoxenia/includes/scrollpage.js (http://hotels.isopensource2.com/templates/philoxenia/includes/scrollpage.js)
it does nt need jquery or anything else and it is extremely lightweight.
-
thanx a lot !!!
really clever code, and i didnt find anything similar as long as i searched through google. only jquery was there
it did the work .