How is add text slideshow to image slideshow?

hello, i have a small image slideshow i want add a text slideshow to image slideshow. how is it?
Thank you

my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>


<script type="text/javascript" src=""></script>

<script type="text/javascript">
    $('.fadein img:gt(0)').hide();
      $('.fadein :first-child').fadeOut()

<style type="text/css">
.fadein { position:relative; width:500px; height:332px; }
.fadein img { position:absolute; left:0; top:0; }


<div id="content">
<div class="fadein">
    <img src="01.jpg" alt="Slideshow Image 1">
    <img src="02.jpg" alt="Slideshow Image 2">
    <img src="03.jpg" alt="Slideshow Image 2">
    <img src="04.jpg" alt="Slideshow Image 2">
    <img src="05.jpg" alt="Slideshow Image 2">