Alliedassault

Alliedassault (alliedassault.us/index.php)
-   Offtopic (alliedassault.us/forumdisplay.php?f=13)
-   -   Background Javascript question.. (alliedassault.us/showthread.php?t=36398)

Zap. USMC 05-08-2004 07:19 PM

Background Javascript question..
 
Do any of you know the Javascript that allows you to have your background "be still". When you scroll down the page your background image stays still if you know what I mean.

Thanks.

BadScript 05-09-2004 08:06 AM

Hmmmm... eek:

You mean... this?

http://www.designerwiz.com/generator/st ... erator.htm

Tystnad 05-09-2004 08:21 AM

You dont need a javascript for this, it can eb done with simple HTML.
[code:8dc4f]<body background="backgroundimage.jpg" bgproperties="fixed">[/code:8dc4f]

elstatec 05-09-2004 10:15 AM

dont use that one, use this css style, allows you to control where the background image is and also lets you fix it, allows you to not repeat it if you want etc. any probs aim me. just insert into the head.

[quote:a020a]<style type="text/css">

<!--
body {
background-image: url(../sgs/back.jpg)!important;
background-repeat: no-repeat !important;
background-attachment: fixed !important;
background-position: 0% 0% !important;
background-color: #FFFFFF !important;
}
-->

</style>[/quote:a020a]

KTOG 05-09-2004 11:50 AM

I'm so pissed that they only taught HTML 4.0 in school, now i'm stuck in the past :(


All times are GMT -6. The time now is 07:57 PM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.