hi have coded on the source side of the asp page..this code surpose to make pictures swope from 3 table data</td> it working on the html file but not on the asp source side...i could add the </html>,</head> tags on it..
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="iMusic.aspx.vb" Inherits="iKlikit.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<style type="text/css">
.style1
{
width: 100%;
}
.style2
{
width: 885px;
}
.style3
{
width: 218px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div>
<script language="javascript">
function rotate()
{
var s = document.images[2].src;
for (k = 2; k > 0; k--)
{
document.images[k].src = document.images[k - 1].src;
}
document.images[0].src = s;
}
function start() {
var v = setInterval("rotate()", 2000)
}
</script>
<body onload="start()">
the picture array i did it on the body....the pictures do apear bt not swoping