I have a news list document type and news item document type. I want to display the news items on the page in a ticker fashion so that the news items are rotated. You can see an example here : www.titletracking.com where the testimonials are rotated on the left.
How can I accomplish this using an XSLT macro and javascript?
rotating list using xslt macro and javascript?
I have a news list document type and news item document type. I want to display the news items on the page in a ticker fashion so that the news items are rotated. You can see an example here : www.titletracking.com where the testimonials are rotated on the left.
How can I accomplish this using an XSLT macro and javascript?
Pratik
check out jquery cycle... i use it all the time!
http://www.malsup.com/jquery/cycle/
works great for text and images.
I have tried to use this but keep on getting an object reference error in the javascript.
Where is a good place to start looking for a solution to this?
Should have said that the error is:
Object doesn,t support this propery or method.
jquery.cycle.all.min.js
Line:249
Char:2
Code:0
I hope this helps.
Firebug is saying it is this line: $cont.innerHeight is not a function
Found solution - just needed to use the latest jquery.
I hope this helps someone else, and sorry if I wasted your time.
Hi
How can we read umbraco page field text from Cycle code.
Please help
Thanks
Hi praveen,
I think you should make your xslt output all of the data you want to cycle through, and put a wrapper around each section that will be cycled.
i.e put a div around each block, and a div around that with id ="slider"
Then you use jQuery to cycle:-
$(document).ready(function () {
$(function () {
$('#slider').cycle({
fx: 'fade',
speed: 1550,
timeout: 8000,
});
});
});
Is that what you're asking?
is working on a reply...