preloading, js libraries

More
9 years 6 months ago #25951 by mdma
Hello,

I use the module in a bs3-modal with nonumber moduleseverywhere.

1.)Is there some way of preloading the images, before the bs3-modal gets opened ?
2.)what are the images th?
can i create them manually, disable image adjustment, for faster processing?
I use eurosis jquery(cdn loading of libraries)/ t3-framework js compression(have to remove mootools.js from it
3.)is the module functionality dependent to mootools? to which functionality is it related in detail?why is it needed?
...pixedelic slideshow isnt, i think.

additionally I disabled loading jQuery,jQmobile,easing in backend of the module
4.)Also the caption.js,modal (squeezebox?) i dont use this functionality in module, but get loaded. maybe some php-improvement here possible?

thank you
greetings

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #25953 by ced1870
Replied by ced1870 on topic preloading, js libraries
Hi
1/ not by default in the module, as the module will only be loaded into the modal. if it uses an iframe I don't think that you can preload the images in the parent window

2/ the "th" are the thumbnails, you can go in the advanced module options to disable the auto creation if you want to create them yourselft

3/ only the modal.js is still dependent on mootools

4.)Also the caption.js,modal (squeezebox?) i dont use this functionality in module, but get loaded. maybe some php-improvement here possible?

yes this is because I load JHtml::_('behavior.modal') in the module
You can remove it, I have to check if this is needed before loading it

Joomlack Webmaster and Developer
The following user(s) said Thank You: mdma

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago - 9 years 6 months ago #25955 by mdma
Replied by mdma on topic preloading, js libraries
1.)maybe this is too complicated for me (but i will recherche& trial& error)
its no iframe, its a div

2.)so mootools is only needed for modal and maybe captions fading
the module itself doesnt need it...
Last edit: 9 years 6 months ago by mdma.

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #25958 by ced1870
Replied by ced1870 on topic preloading, js libraries
if you remove the JHtml::_('behavior.modal') call, then mootools is no more used

Joomlack Webmaster and Developer
The following user(s) said Thank You: mdma

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago - 9 years 6 months ago #25959 by mdma
Replied by mdma on topic preloading, js libraries
ok
for mootools that works fine.
i also use the plugin:

extensions.joomla.org/extension/mootools-enabler-disabler


to get rid of automatic img.caption+hastooltip script
which causing undefined maybe.
Last edit: 9 years 6 months ago by mdma. Reason: making new thread

Please Log in or Create an account to join the conversation.

Time to create page: 0.533 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1216 guests and no members online