I am about to create a image slideshow in XPages, all images will refer at the lotus notes database. I don't know how am I going to start on this.
问题:
回答1:
I think you require an image carousel. If that is what you are looking for then here are some options -
- On OpenNTF there is a project called Home Page Template which has an image carousel
- Another OpenNTF project called XPages for Presentation. This is not a carousel per se but may give you some ideas.
- dojox.image.SlideShow - This demo page shows it in action
You can also Google "image carousel" to get a lot of third party JavaScript libraries and use them.
回答2:
Take a look at these - many jQuery plugins offering differing options for slideshows
http://speckyboy.com/2010/11/14/20-jquery-image-and-multimedia-gallery-plugins
you can add the jQuery plugin to your database (http://notesin9.com/index.php/2012/09/13/notesin9-074-getting-started-with-jquery-plugins-in-xpages/) and go from there
回答3:
Your question is just too open ended to be answered here I think. It's certainly doable but sounds like a pretty big and specific undertaking for community support. There are some examples on OpenNTF. that home page app and I think Buildr MIGHT have something in it. Not sure. If the NSF files don't open then either contact the project managers or maybe try upgrading your notes client - assuming it's not just an encrypted database.
IdeaJam.net used to have an image carousel on their home page. Not sure if they still do but if so then maybe looking at the source of that page will help you. Regarding pulling the images from notes databases I've done something similar to that recently and found Stephan Wissels blog post: http://www.wissel.net/blog/d6plinks/SHWL-86QKNM extremely helpful. There is also an OpenNTF project called "myPic" by Jeremy Hodge that does a lot with images as well.
Suggest you research though many of the links, start small... and you'll eventually get your solution.