Mootools or other .js

Phoca Gallery - image gallery extension
Markstag
Phoca Member
Phoca Member
Posts: 35
Joined: 22 May 2008, 15:04

It seems there are m

Post 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.
Markstag
Phoca Member
Phoca Member
Posts: 35
Joined: 22 May 2008, 15:04

...

Post by Markstag »

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

I do everything what

Post 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
If you find Phoca extensions useful, please support the project
Markstag
Phoca Member
Phoca Member
Posts: 35
Joined: 22 May 2008, 15:04

Great!

Post by Markstag »

Great!
Markstag
Phoca Member
Phoca Member
Posts: 35
Joined: 22 May 2008, 15:04

Re: Mootools or other .js

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Mootools or other .js

Post by Jan »

There are 5 now :D
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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Mootools or other .js

Post 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
If you find Phoca extensions useful, please support the project
Markstag
Phoca Member
Phoca Member
Posts: 35
Joined: 22 May 2008, 15:04

Re: Mootools or other .js

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Mootools or other .js

Post by Jan »

:idea: now I understand, the problem is, the modal box is a part of joomla framework, so this should do the minimum problems ...
If you find Phoca extensions useful, please support the project
Post Reply