diff --git a/imatges/background/background0.jpg b/imatges/background/background0.jpg new file mode 100644 index 0000000..fc44162 Binary files /dev/null and b/imatges/background/background0.jpg differ diff --git a/imatges/background/background1.jpg b/imatges/background/background1.jpg new file mode 100644 index 0000000..375d6a0 Binary files /dev/null and b/imatges/background/background1.jpg differ diff --git a/imatges/background/background2.jpg b/imatges/background/background2.jpg new file mode 100644 index 0000000..ba1d7d1 Binary files /dev/null and b/imatges/background/background2.jpg differ diff --git a/imatges/background/background3.jpg b/imatges/background/background3.jpg new file mode 100644 index 0000000..6d1caf7 Binary files /dev/null and b/imatges/background/background3.jpg differ diff --git a/imatges/background/background4.jpg b/imatges/background/background4.jpg new file mode 100644 index 0000000..bee72c7 Binary files /dev/null and b/imatges/background/background4.jpg differ diff --git a/imatges/background/background5.jpg b/imatges/background/background5.jpg new file mode 100644 index 0000000..674ee09 Binary files /dev/null and b/imatges/background/background5.jpg differ diff --git a/imatges/background/background6.jpg b/imatges/background/background6.jpg new file mode 100644 index 0000000..602b0e3 Binary files /dev/null and b/imatges/background/background6.jpg differ diff --git a/imatges/background/background7.jpg b/imatges/background/background7.jpg new file mode 100644 index 0000000..841de89 Binary files /dev/null and b/imatges/background/background7.jpg differ diff --git a/imatges/background/background8.jpg b/imatges/background/background8.jpg new file mode 100644 index 0000000..326f7aa Binary files /dev/null and b/imatges/background/background8.jpg differ diff --git a/imatges/background/background9.jpg b/imatges/background/background9.jpg new file mode 100644 index 0000000..b024751 Binary files /dev/null and b/imatges/background/background9.jpg differ diff --git a/index.html b/index.html index 5da8c9c..916797d 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@
- +
CAT CAST diff --git a/index.js b/index.js index 608c9d7..3f5cd3d 100644 --- a/index.js +++ b/index.js @@ -15,6 +15,15 @@ function OnLoadDefault(){ function OnLoadIndex(){ OnLoadDefault(); + var numImg=0; + setInterval(function(){ + document.getElementById("backgroundImage").src="imatges/background/background"+numImg+".jpg"; + numImg++; + if(numImg>9) + { + numImg=0; + } + }, 5000); } function OnLoadNosaltres(){ OnLoadDefault(); diff --git a/own.css b/own.css index 5f7e3cd..c7503c9 100644 --- a/own.css +++ b/own.css @@ -35,6 +35,7 @@ a:active { position: fixed; left: 0px; top: 0px; + } } @@ -46,6 +47,7 @@ a:active { position: fixed; left: 0px; top: 0px; + } } .own-langIndex{