Log In · Register

 
 
Closed TopicStart new topic
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 !!!
 
Nugget
post Jun 20 2005, 08:20 AM
Post #2


Kris is getting bonified.
*******

Group: Member
Posts: 3,172
Joined: Nov 2004
Member No: 67,366



Um, can you show us your Xanga so we can see it then you describing it?
 
kwokjack
post Jun 20 2005, 09:41 AM
Post #3


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
 
talcumpowder
post Jun 20 2005, 07:35 PM
Post #4


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



..... Modified from this.
I'm not entirely sure this is what you want, or that it will work.
 

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