5

I have created a slider using bxSlider and it works perfectly, but in case to show all text that comes from Announcements List, I want to display only 100 characters and show read more link which it should redirect you to current item in Announcement list. Here is my slider: I.E

bx slider

And here is my Announcements list: enter image description here

I also tried to make this working Read more link in webpart but I could not achieve my goal.

I was wondering if someone could help me.

2

@Atish solved my problem and his code was like this:

     <div>
     <a class="moveIt" href="/sites/contoso/Lists/Announcements/DispForm.aspx?ID=<%# DataBinder.Eval(Container.DataItem, "ID") %>">Read more</a>
     </div>

And it is working perfectly

thanks @Atish

  • so this worked dynamically? did you put in a JSLink? can you provide more info... – user2004758 Jan 17 '17 at 21:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.