Dynamic slideshow

Hi,

Is it possible to code a slideshow where the slides can change at a different intervals? Which can be set by me??

The slideshow will hold just text and links but will need to be dynamic in size.

i.e. there maybe 5 or 6 lines of text anything more can be viewed by a view more link and then i’ll need the box to stretch to fit rest of text.

how would i do this??

Thanks

What do you mean by different intervals?