help in change BG

1 view
Skip to first unread message

Nader dasuki

unread,
Jul 2, 2009, 8:23:23 PM7/2/09
to Professi...@googlegroups.com
hi dears,
i would like to change page background image each 5 second , how can i make it plz ..

--
Eng. Nader Dasuqi
Project Manager
+9665339217533

Bobby Easland

unread,
Jul 2, 2009, 8:49:30 PM7/2/09
to Professi...@googlegroups.com
javascript

Nader dasuki

unread,
Jul 2, 2009, 9:17:57 PM7/2/09
to Professi...@googlegroups.com
can give code ,plz

Felipe Nascimento de Moura

unread,
Jul 2, 2009, 9:21:44 PM7/2/09
to Professi...@googlegroups.com

Javascript, dude :)

something like this:

<script>
var imgs= Array();
imgs[1]= 'image1.gif';
imgs[2]= 'image2.gif';
imgs[3]= 'image3.gif';
imgs[4]= 'image4.gif';
var curImage= 1;

function eachFiveMinutes()
{
    curImage= (curImage==4)?1: (curImage+1);
    document.body.style.backgroundImage= 'url('+imgs[curImage]+')';
}

setInterval("eachFiveMinutes()", 5000);
</script>


but, man ...try to learn it ... javascript is a too powerful language ... I love it, actualy, so ... it's not cool simply get ready codes and not to study them or learn with them, ok...

cheers.
--
Felipe N. de Moura
Desenvolvimento Web

http://thewebmind.org
fel...@thewebmind.org
---------------------------------
Fazendo da web um lugar melhor pra se viver.
Making the web a better place to live

sameer zinzuwadia

unread,
Jul 3, 2009, 12:58:12 AM7/3/09
to Professi...@googlegroups.com

Dear all,

i am fresher,so know some php-mysql-javascript and ajex also,
can anybody tell me abut how create streaming video like utube,
i did not have any idea,plz help to from basic if possible
 
have dream day
Sameer

Navaneeth T

unread,
Jul 3, 2009, 11:50:36 AM7/3/09
to Professi...@googlegroups.com

i am also a new baby in web design
but know some basic PHP and HTML but no CSS and java script
if is there any good documentation about these two inform me

--
Navanneth T
INFOMATIC SYSTEMS
Mob::09947834438
Computer Sales and Service  GNU\Linux Support Provider   Networking   and for all digital consumables


Larry

unread,
Jul 3, 2009, 5:58:55 PM7/3/09
to Professional PHP Developers
There are quite some good tutorials online, just do a google search,
but if you really have no clue where to start I would suggest
w3schools
w3schools: http://www.w3schools.com/

As for javascript, aswell w3schools, but I suggest you go and take a
look at a framework like jquery, as soon as you get the idea of how
javascript works and what you can and cannot do.
jQuery: http://jquery.com/
Reply all
Reply to author
Forward
0 new messages