السـلام عليكم ورحمة الله وبركاته
هل من الممكن المساعده
أنا طالب في الجامعة و الآن نحن في وشك إنهاء المشروع الخاص بنا ولكن المشكله أننا في البانر وضعنا هذا السكربت اللي هو عباره عن يجعل لك الصور تتغير في زمن معين
كود PHP:
<script type="text/javascript"> <!--var photo1 = new Image;photo1.src = "images/photo1.jpg";var photo2 = new Image;photo2.src = "images/photo2.jpg";var photo3 = new Image;photo3.src = "images/photo3.jpg";var photo4 = new Image;photo4.src = "images/photo4.jpg";var photo5 = new Image;photo5.src = "images/photo5.jpg";var photo6 = new Image;photo6.src = "images/photo6.jpg";var photo7 = new Image;photo7.src = "images/photo7.jpg";var photo8 = new Image;photo8.src = "images/photo8.jpg";var photo9 = new Image;photo9.src = "images/photo9.jpg";var photo10 = new Image;photo10.src = "images/photo10.jpg";function photo_switch(photo_id) {var new_name = "photo" + photo_id;var new_src = "images/" + new_name + ".jpg";var next = photo_id + 1;if (next > 10) {next = 1;}document.images['body_header_photo'].src = new_src;cmd = 'photo_switch(' + next + ')';setTimeout(cmd, 3000);}function start_timer() {cmd = 'photo_switch(1)';setTimeout(cmd, 1000);}--></script>
الآن نحن نريد عند ظهور الصورة رقم واحد عند الضغط عليها تنقلنا إلى صفحة آخرى
ولكن عند إضافة العلاقة التالي تتوقف الصور عن الحركة هل من حل ؟؟؟
<a href="http://www.w3schools.com/html_tutorial.htm#tips">
إذا كان هناك أي مساعده أكون شاكراً مقدراً لكم ؟؟