On Sat, Jul 11, 2009 at 8:27 PM, Nicolas Roard <nicolas.roard(a)gmail.com>wrote;wrote:
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'#39;.
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'#39;.
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).
Yes. the javascript and stylesheet are being shown in my html.
I attach the html and a screenshot when I click an image.
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 ?
I don't know. The libraries I have in my app are (in order)
WAStandardFiles
PRBlueprintLibrary
PRJavaScriptSupport
DestinoMochilaLibrary (mine)
yours?
Thanks for the help!
Mariano
--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki