Đã hoàn thành

160938 random DIV images /javascript

See example below... need to do something like this javascript where every few seconds the setTimeout overwrites the div with a new image from a directory

-must be random selection of about 7 images, but not repeating the same one just shown.

May need a bit of guidance inserting into Frontpage.




<script type="text/javascript">

function reloadIt() {


[url removed, login to view]("<div id=\"test\"><img src=homepage_graphics/0.jpg></div>");

//the function will run every 3000 miliseconds, or 3 seconds



function writeDiv() {

[url removed, login to view]("<div id=\"test\"><img src=homepage_graphics/1.jpg></div>");



<body onload="reloadIt();">





<div id="test">





Kĩ năng: Bất kì công việc gì, CSS, HTML, Javascript

Xem nhiều hơn: test a javascript, run javascript, div 1 a, 2000 seconds, random, div, html javascript example, random image css, text javascript, javascript write css, div image, random img, div css html, javascript write, html image javascript, css javascript image, html script onload, html div example, random random, type images, random image script, div jpg, javascript example, images document, html jpg script

Về Bên Thuê:
( 1 Nhận xét )

ID dự án: #1907127

Được trao cho:


Check PMB.

$5 USD trong 0 ngày
(0 Đánh Giá)