Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Convert
Wordpress to Elxis
with
Elxis importer
!
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Rolling Images menu not working with the Simple image gallery on the same page
« previous
next »
Print
Pages: [
1
]
Author
Topic: Rolling Images menu not working with the Simple image gallery on the same page (Read 5215 times)
ROUBOS
Hero Member
Posts: 699
Rolling Images menu not working with the Simple image gallery on the same page
«
on:
December 22, 2009, 06:44:23 »
Hi,
I have installed both the Rolling Images menu and the Simple image gallery bot, and they both work fine. Apart from when they are both displayed on the same page. then the Rolling Images menu does not work.
Any thoughts?
Logged
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: Rolling Images menu not working with the Simple image gallery on the same page
«
Reply #1 on:
December 22, 2009, 16:15:50 »
javascript conflict
Logged
I've got a snap in my finger...
Got rhythm in my walk...
ROUBOS
Hero Member
Posts: 699
Re: Rolling Images menu not working with the Simple image gallery on the same page
«
Reply #2 on:
December 23, 2009, 03:15:05 »
oh ok
so cannot fix it?
Logged
speck
Elxis Community
Sr. Member
Posts: 348
Re: Rolling Images menu not working with the Simple image gallery on the same page
«
Reply #3 on:
December 23, 2009, 10:38:09 »
I never used Simple Image Gallery, but if the problem is the same of Easy Gallery (image window not opened when click on the image) you must do this: (
open the index.php of your template, at the bottom of the page before the tag </body>
insert the lines that called the mootools and slimbox like these: (to be sure, get a look to see which javascript files use simple image gallery)
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/content/plugin_jw_sig/mootools.js"></script>
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/content/plugin_jw_sig/slimbox.js"></script>
example
bla bla bla.............
bla bla bla.............
bla bla bla.............
</div>
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/content/plugin_jw_sig/mootools.js"></script>
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/mambots/content/plugin_jw_sig/slimbox.js"></script>
</body>
</html>
------------------------------------------------------------------------------------------------------------------------------------------------------
if in the control panel of the bot you have the possibility to enable or disable the two javascripts as in easy gallery, you must set no (not use mootools and slimbox), if in the control panel they aren't, open the bot file and comment the two lines that called the two javascripts.
----------------------------------------------------
if you test your site under IE6 and IE7 and one of the browsers gives you an error (this error happen usually using image rotator with extensions that use lightbox or slimbox) you must edit also the
slimbox.js of the bots.
open slimbox.js
got to the end of file and comment this line under, but i don't know if is the same of easy gallery
//
window.addEvent('domready', Lightbox.init.bind(Lightbox));
and insert these two lines:
var load_method = (window.ie ? 'load' : 'domready');
window.addEvent(load_method, Lightbox.init.bind(Lightbox));
good luck
«
Last Edit: December 23, 2009, 11:00:25 by speck
»
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Rolling Images menu not working with the Simple image gallery on the same page