Thread Starter
Endolil
(@zabdesign)
sorry for the ugly code above … I missed to type in the right backticks
I found a plugin for wordpress which supports the feature that I am looking for:
http://wordpress.org/extend/plugins/shadowbox-js/faq/
the keyword is ‘smart loading’
@ Alex Rabe
It would be really really cool if wordtube supports this too!
I think also NextGenGallery should support this.
Wäre super, wenn du dies bei deinen nächsten Updates berücksichtigen könntest. Es gibt ja schon jede Menge Plugins, die so ‘intelligent’ sind und daher sollte der Code recht fix zu implementieren sein. Es wäre sehr hiflreich, um Ladezeiten zu verringern.
Ich benutze ziemlich intensiv mootools und daher ist mir jQuery eigentlich ein Dorn im Auge, aber deine Plugins sind so cool, dass ich einfach nicht darauf verzichten möchte.
Vielleicht inspiriert dich diese Nachricht zu einer kleinen Verbesserung!
🙂
NGG works perfectly with Shadowbox already, although there’s no offical support. You don’t even have to define a “link code”, but if you want to define a “link code” however, you might want to use rel=”shadowbox[%GALLERY_NAME%]”. This link code contains evereything Shadowbox need, the “activator” and a “gallery indicator”.
Thread Starter
Endolil
(@zabdesign)
NGG works perfectly with Shadowbox already
Thanky you for the hint.
But there was especially one thing I am looking for:
the keyword is ‘smart loading’
In the end it means the the JS and CSS files of NGG are not loaded always and instead only loaded if really needed on the current page wordpress is loading.
Do you get what I mean?
I think this is not implemented in NGG yet.
Thread Starter
Endolil
(@zabdesign)
oh …
I just realized that the shadow box plugin allows smart loading and that I can tell NGG not to use any lightbox.
It means when I enable the shadow box to load for every link to an image and in the same time enable smart loading for shadow box, I have all I wanted!
🙂
a smart solution!
Thread Starter
Endolil
(@zabdesign)
Still I am looking for a way to load the wordtube realted JS-Scrips only when needed and not always.
Yes, Wordtube adds 2 seconds to every one of my page loads. It would be helpful if it did not load where it is not needed