Log In · Register

 
How can i have a background that is......., Query
kwokjack
post Jun 20 2005, 06:49 AM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Jun 2005
Member No: 156,344



How can i have a background picture that is :

1) Random

2) Repeated in all directions, and

3) Fixed in the window browser ??????

The code i have got enables the first two but not the third !!!!
I have got another, but it does the 1,3 but not the second !!!

can anyone help ????
thank you !!!
 
 
Start new topic
Replies
kwokjack
post Jun 20 2005, 09:41 AM
Post #2


Newbie
*

Group: Member
Posts: 2
Joined: Jun 2005
Member No: 156,344



Sure
my xanga site is
http://www.xanga.com/home.aspx?user=kwokjack

as u scroll up or down, the background picture follows
the script is
<script language=javascript>
<!--
var pic=new Array(4)
pic[0]="http://i23.photobucket.com/albums/b367/kwokjack/1119074391.jpg"
pic[1]="http://i23.photobucket.com/albums/b367/kwokjack/1119074373.jpg"
pic[2]="http://i23.photobucket.com/albums/b367/kwokjack/1119074348.jpg"
pic[3]="http://i23.photobucket.com/albums/b367/kwokjack/1118933952.jpg"

var newdate=new Date()
var getpic=newdate.getSeconds()%pic.length
document.write('<body background='+pic[getpic]+'>')
//-->
</script>

I found another script that makes the picture fixed to the internet browser and appeared randomly whenever u refresh it

what i would like is to have all 3 things embedded in my diary

thank you

p.s. i come from hk, my english is not that good, plz let me know if you don't understand what i mean
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: