Rainer,
page_attachments has a tag: <r:attachments:each> that you can use to
iterate through all of the attachments on the page.
Sean
rainer griess wrote:
Hey Sean,
thanks for you (fast and helpful as usual) answer. This is sort of
what I am looking for. I think with Jared's post (jcarousel) I can get
my hands dirty.
I think I can handle the gerneral JS integration. But I have no clue
how to get all of my images attached to a page into an JS array. I
think I have to hack the page_attachements extension. But how? I would
not dig into extension programming if it is avoidable. What do you think?
Best wishes,
rainer
On 10.03.2008, at 14:53, Sean Cribbs wrote:
rainer,
It doesn't use "Ajax" per se, but are you looking for something like
this?
http://www.redken.com/inspire/style-gallery/
Sean
rainer griess wrote:
Hey Jared,
no. That is not what I am looking for. Sorry for being unclear. I
try to explain it in more detail. This is what I want:
----------------------------- <-- <div id="images">
| |
| |
| image |
| |
| |
------------------------------
[1] [2] [3]
If a user clicks on 1, 2 or 3 the actual image should scroll out of
the div and the next one gets visible. Something like a filmstrip.
The <div> is the whole the image shines through. My filmstrip has 3
images in this examples, but this depends on the images attached to
the page.
Hm, was this clear?
Bug thanks,
rainer
On 10.03.2008, at 14:34, Jared wrote:
Are you looking for something like a lightbox?
http://www.stickmanlabs.com/lightwindow/
rainer griess <[EMAIL PROTECTED]> wrote: Hi all,
I would really appreaciate it to get some first clues for how to get
some simple Ajax interaction into my running radiant app. This is what
I am trying:
I have a page with X small images attached to it in radiantcms.
The first of the images should be displayed immediately when a user
loads the page.
Beneath the image I want to place X buttons.
The user should be able click on each of these buttons to see the
according image above it, loaded with Ajax and a nice looking
transition.
I have first experiences with Ajax, but not that much. But the first
question I am asking myself is, how to get all images attached to a
page into a JavaScript variable.
Can you please help me a bit?
Thanks,
rainer
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant