On Sat, Jul 11, 2009 at 8:01 PM, Mariano Martinez
Peck<marianopeck(a)gmail.com> wrote:
On Sat, Jul 11, 2009 at 2:25 PM, Brian Brown <rbb(a)techgame.net> wrote:
For development you can just set up Kom to serve a local directory - I
don't remember off the top of my head, but you should be able to look at the
class comment for Kom and I think it has some examples. You will find some
if you google for it as well. If you are still having issues after that,
drop me a note and I'll dig it up.
Brian: I didn't know that was possible. But it doesn't matter. I didn't know
installing and configure lighttp were as simpler as 5 minutes :)
Nicolas: I make it work!!!!! Almost perfect! It serves and shows the
images.
Awesome, glad to hear this!
The little problem I have now is that the lightbox and
all that nice
javascript that you have in your webpage isn't in mine. They have no
javascript at all. No lightbox. I have my personal library for my Pier
website and I ovveride updateRoot to the code you said in your webpage:
updateRoot: aHtmlRoot
super updateRoot: aHtmlRoot.
aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/prototype.js'.
aHtmlRoot javascript url:
'http://www.roard.com/lightbox2/js/scriptaculous.js?load=effects,builder'.
aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/lightbox.js'.
aHtmlRoot stylesheet url: 'http://www.roard.com/lightbox2/css/lightbox.css'
Well if you did that, it should work. Check the html of the page
showing the gallery, it should have those added javascript and
stylesheet links. Note though that you probably should host the
lightbox2 files yourself rather than hotlinking on my server :) (I did
a couple of slight modifications in the files, mostly wrt the url of
the images used by lightbox2).
If the page does have those links, then I'm not sure why things aren't
working -- maybe a conflict with some other js lib ?
--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams