הרשם שאלות ותשובות רשימת חברים לוח שנה הודעות מהיום

חזור   הוסטס - פורום אחסון האתרים הגדול בישראל > עיצוב גראפי, תכנות על כל שפותיו וקידום ושיווק אתרים > פורום תיכנות

   
|!|

 
 
כלים לאשכול תצורת הצגה
Prev הודעה קודמת   הודעה הבאה Next
ישן 05-12-05, 14:11   # 3
יהודה
משתמש חדש
 
מיני פרופיל
תאריך הצטרפות: Nov 2005
הודעות: 35

יהודה לא מחובר  

אני צריך פונקציה במקום אימג' בשביל שאני אוכל להריץ תמונות במקום תמונות.
הנה הקוד שעשיתי:
<html dir="rtl">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
<title>אנימציה</title>
<script>
var picindex=0;
var x;

one= new Image();
one.src = "http://img470.imageshack.us/img470/8022/fda3pvuelicompcopy2ue.gif"
two= new Image();
two.src = "http://img190.imageshack.us/img190/4421/champion182yt.jpg"
three= new Image ();
three.src= "http://img235.imageshack.us/img235/2157/liverpoolbackground6oi.jpg"

pic = new Array();

pic[0]=one.src;
pic[1]=two.src;
pic[2]=three.src;

function animation()
{
document. images ['clasic'].src= pic[picindex];
picindex=picindex+1;
if( picindex>2) picindex=0;
}
function intanimation()
{
x=setInterval ('animation();', 1000);
}
</script>
</head>

<body onload="intanimation();">
<img name="clasic" src="fda3pvuelicompcopy2ue.gif" width="142" height="180">
</body>
</html>
זה הקוט
  Reply With Quote
 

חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים)
 


חוקי פירסום
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is מופעל
סמיילים הם מופעל
[IMG] קוד מופעל
קוד HTML מכובה

קפיצה לפורום


כל הזמנים הם GMT +2. הזמן כעת הוא 13:27.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ