fls12
New Member
Posts: 74
|
Post by fls12 on Jan 26, 2004 9:11:19 GMT -5
Hiya guys, I have come across a java code that will make your background picture stay while u scroll down. But, too bad, i couldnt find the code anymore in searching. Anyone can get me a link or the code ? Tks Take a look at this site : - www.electrondesign.com/index.htmlRegards,
|
|
|
Post by AbsoluteGenius on Jan 26, 2004 9:39:11 GMT -5
2 ways to do this
add this in the head section
<STYLE type=text/css> BODY {background : #000 url('http://path to image here') fixed;} </style>
or place it in a style sheet on your site to look like this
body { background : #000 url('http://path to image here') fixed; }
|
|
|
Post by Dangermouse on Jan 26, 2004 14:02:07 GMT -5
You dont put quotes in the url, some browsers get confused.
|
|
Tewl
xTeam
C# & VB Developer
Posts: 495
|
Post by Tewl on Jan 26, 2004 18:24:56 GMT -5
do me a small favor PLEASE do not confuse javascript with java they are two totally different things
|
|
|
Post by Dangermouse on Jan 29, 2004 11:23:30 GMT -5
Well the title of this forum is a bit ambigious...it should be
Java + VBScript or
JavaScript + VBScript
|
|
|
Post by Loon on Jan 29, 2004 11:38:06 GMT -5
Are we having this debate again? lol ;D
|
|
|
Post by Loon on Jan 29, 2004 11:40:39 GMT -5
How about we just combine the two? there's only 7 threads in here anyway.
|
|
|
Post by Dangermouse on Jan 29, 2004 14:01:18 GMT -5
Yes we are and good idea ;D
|
|
fls12
New Member
Posts: 74
|
Post by fls12 on Feb 3, 2004 8:24:35 GMT -5
Hiya AbsoluteGenius , That work great !! It is working perfectly GREAT and Good.... Thank you for the advise Regards,
|
|
|
Post by Cybah (Omega) on Feb 3, 2004 10:50:06 GMT -5
or you could use simple html -> <body background="background.jpg" bgproperties="fixed">
|
|