Page 1 of 2
It seems there are m
Posted: 01 Jun 2008, 16:14
by Markstag
It seems there are many templates that make use of the mootools that will conflict with the use of the modal popup box and the standard popup window.
I'm getting 2 error's in my firebug console:
this.setHTML is not a function
http://www.websitename.nl/media/system/js/mootools.js
Line 40
this.doc.getElementById is not a function
http://www.websitename.nl/templates/tem ... lytebox.js
Line 90
Maybe there is an way you can add more of these javascript options so there is always at least 1 that wil work.
A couple suggestions: thickbox,slimbox,lightbox and greybox and maybe lytebox
and maybe people like the fact these all give different effects.
I do understand the advantage of the mootools but if it is not working in some cases there is no advantage at al.
Thanks a lot.
...
Posted: 01 Jun 2008, 16:36
by Markstag
I do everything what
Posted: 01 Jun 2008, 21:08
by Jan
I do everything what I know, now there are 5 methods how to display detail window (modal, popup, piclens, switch(swap), overlib)...
Why I use modal box? Because modal box is a standard view method in Joomla!1.5, so it means, no external javascrpt will be loaded...
not working in some cases If I will do the function because of this, no Phoca Gallery will be created:
I will not do changes because of:
- the template doesn't work with standard Joomla! 1.5 framework
- some other extensions rewrite or override the standard Joomla! 1.5 framework's function (e.g. two component has own dtree menu, so one of them is not showhing correctly
But as I wrote (I like the variability) and new methods of displaying are still added (the last was overlib), so if some of them: 'thickbox,slimbox,lightbox and greybox and maybe lytebox' methods do work with iframe, I can take a look at it...
Jan
Great!
Posted: 01 Jun 2008, 23:01
by Markstag
Great!
Re: Mootools or other .js
Posted: 14 Jun 2008, 14:16
by Markstag
[quote="cuquet"]Another proposal, why not highslide js ? [url]
http://vikjavev.no/highslide/[/url]. I'm working on joomla 1.5.3 modules [url]
http://forum.joomla.org/viewtopic.php?f=473&t=297895[/url]. It's mootols independant, but ...[/quote]
Yes good idea! phoca should include at least 5 ways of showing the images.
Re: Mootools or other .js
Posted: 14 Jun 2008, 15:56
by Jan
There are 5 now
https://www.phoca.cz/phocagallery/demo/
EDIT: The problem is, there is a commercional license for using it in commercional sites
and Joomla! is under GPL, so there will be a problem
I take a look at it, Jan
Re: Mootools or other .js
Posted: 14 Jun 2008, 18:36
by Markstag
Re: Mootools or other .js
Posted: 14 Jun 2008, 23:26
by Jan
Thank you, the problem by these 3 methods is that they are the same as modal box. I cannot see the difference
(If you set the same colors for modal box in Paramters component, you get the same boxes
There is only one effect missing in Phoca Gallery, the gradual expansion of box. But modal box knows this expansion. (it is not used in Phoca Gallery, because Phoca Gallery needs the modal box as an iframe because its functions not as an image) If the modal box is used as the image, then the gradual expansion works ...
Jan
Re: Mootools or other .js
Posted: 14 Jun 2008, 23:39
by Markstag
Wel its not the mootools styling i dislike but the current .js conflicts with my template so that's why i suggest some others so this wont happen again.
Re: Mootools or other .js
Posted: 14 Jun 2008, 23:48
by Jan
now I understand, the problem is, the modal box is a part of joomla framework, so this should do the minimum problems ...