Вопрос

I may get in trouble for asking this, but I need to know if it is even possible.

I am tasked with creating a very modern looking image carousel for our company's internal and external facing sites. I am pretty sure I could do this in just jQuery and the like, can't be too hard, except here is the rub:

I need to make this:

  • A custom web part that can be used and placed on any page easily
  • Able to reference a list where the images and text will be placed
  • Have modern scrolling controls (left right) for the images

So, I am unsure if I can even do this in SP2007. I've not written a custom web part previously, but I do know C# fairly well. And I do believe I have the ability to create the carousel in jQuery/JS fairly easily.

I would ask for an approach on this if anyone has some insight.

Thank you!

Это было полезно?

Решение

You can use Visual Studio and add a new web part to it. Next you need to enable couple of webpart properties

  1. List Name
  2. Picture URL Field

Once this is done.. Inside the webpart you should read the respective Image URL's and add those to a hidden html input element.

Now you can use jQuery to read the image URL from the hidden element and fire up the carousel plugin of your choice.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top