Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Still cannot fix compatibility issues Easy Gallery & Rolling Image Menu [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Still cannot fix compatibility issues Easy Gallery & Rolling Image Menu [SOLVED] (Read 8341 times)
ROUBOS
Hero Member
Posts: 699
Still cannot fix compatibility issues Easy Gallery & Rolling Image Menu [SOLVED]
«
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 ?
«
Last Edit: January 13, 2010, 17:08:02 by ROUBOS
»
Logged
ROUBOS
Hero Member
Posts: 699
Re: Still cannot fix compatibility issues Easy Gallery and Rolling Image Menu
«
Reply #1 on:
January 13, 2010, 02:36:13 »
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.
«
Last Edit: January 13, 2010, 02:52:07 by ROUBOS
»
Logged
speck
Elxis Community
Sr. Member
Posts: 348
Re: Still cannot fix compatibility issues Easy Gallery and Rolling Image Menu
«
Reply #2 on:
January 13, 2010, 13:23:52 »
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
Logged
ROUBOS
Hero Member
Posts: 699
Re: Still cannot fix compatibility issues Easy Gallery & Rolling Image Menu [SOLVED]
«
Reply #3 on:
January 13, 2010, 17:08:27 »
thank you so much
that fixed it
Logged
antwnioua
Newbie
Posts: 27
Re: Still cannot fix compatibility issues Easy Gallery & Rolling Image Menu [SOLVED]
«
Reply #4 on:
May 11, 2010, 23:44:16 »
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
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Still cannot fix compatibility issues Easy Gallery & Rolling Image Menu [SOLVED]
«
Reply #5 on:
May 12, 2010, 18:59:55 »
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
it does nt need jquery or anything else and it is extremely lightweight.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
antwnioua
Newbie
Posts: 27
Re: Still cannot fix compatibility issues Easy Gallery & Rolling Image Menu [SOLVED]
«
Reply #6 on:
May 13, 2010, 20:49:20 »
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 .
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Still cannot fix compatibility issues Easy Gallery & Rolling Image Menu [SOLVED]