Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JS: Simple slide show image
#1
yg mastah silahkan lewat, ini hanya trit cupu dari newbie yg kagak bisa apa - apa Mentok

preview

index.html
PHP Code:
<html> <head> <title> Simple Image Slide Show </title> <script type="text/javascript"> <!-- var image1=new Image() image1.src="1.jpg" var image2=new Image() image2.src="2.jpg" var image3=new Image() image3.src="3.jpg" //--> </script> </head> <body bgcolor="#000008"> <center> <img src="1.gif" name="slide"> <script> <!-- //variable that will increment through the images var step=1 function slideit(){ //if browser does not support the image object, exit. if (!document.images) return document.images.slide.src=eval("image"+step+".src") if (step<3) step++ else step=1 //call function "slideit()" every 2.5 seconds setTimeout("slideit()",2500) } slideit() //--> </script> </center> </body> </html>
(ket) gambarnya di :
Quote:var image1=new Image()
image1.src="1.jpg"
var image2=new Image()
image2.src="2.jpg"
var image3=new Image()
image3.src="3.jpg"

jangan di ketawain ya Takut
[Image: copmer_zpsd41f9bf2.png]
Reply


Messages In This Thread
JS: Simple slide show image - by Ndra - 04-08-2013, 04:32 AM
RE: JS: Simple slide show image - by B4t4kz - 04-08-2013, 01:55 PM
RE: JS: Simple slide show image - by ranger - 04-08-2013, 02:57 PM
RE: JS: Simple slide show image - by rifaldi238 - 04-08-2013, 06:47 PM
RE: JS: Simple slide show image - by Andikacyber - 04-09-2013, 01:33 AM
RE: JS: Simple slide show image - by Ndra - 04-09-2013, 01:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Ask] Masuk gan, php upload Image otomatis redirect roisbwi 5 112 08-10-2014, 05:15 AM
Last Post: positive
  Aplikasi Web Image Editor Sederhana herubrondong 0 46 10-21-2013, 03:52 AM
Last Post: herubrondong
  simple scipt PHP acses HN via localhost If_ 5 165 01-28-2013, 07:33 PM
Last Post: febrian
  [PHP]simple admin page protection sh4dhckr 10 248 01-02-2013, 08:03 AM
Last Post: Jheny
  [php]very simple dictionary attack RieqyNS13 4 110 01-02-2013, 07:58 AM
Last Post: Jheny
  [PHP]Simple views counter (No DB used) Me- 1 45 11-29-2011, 10:58 PM
Last Post: justinisal
  [Share] Simple Make WAP Site Up_ 12 291 08-19-2011, 10:27 PM
Last Post: aandoni
  [e-web] simple cms Dika_xb 13 243 01-31-2011, 01:55 PM
Last Post: NatyaOrigamiâ„¢
Online-offline_16 Backdoor Simple (joomla) index.php Up_ 14 323 06-06-2010, 12:42 PM
Last Post: Jahat
  Random Image PHP N4ck0 30 508 03-07-2010, 06:33 PM
Last Post: Arusar

Forum Jump:


Users browsing this thread: 1 Guest(s)