Alliedassault           
FAQ Calendar
Go Back   Alliedassault > Lounge > Offtopic
Reload this Page Background Javascript question..
Offtopic Any topics not related to the games we cover. Doesn't mean this is a Spam-fest. Profanity is allowed, enter at your own risk.

Reply
 
Thread Tools Display Modes
Background Javascript question..
Old
  (#1)
Zap. USMC is Offline
Senior Member
 
Posts: 1,953
Join Date: Jan 2002
Location: Okinawa
  Send a message via AIM to Zap. USMC  
Default Background Javascript question.. - 05-08-2004, 08:19 PM

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.
  
Reply With Quote
Old
  (#2)
BadScript is Offline
Senior Member
 
Posts: 2,651
Join Date: Jan 2002
   
Default 05-09-2004, 09:06 AM

Hmmmm... eek:

You mean... this?

http://www.designerwiz.com/generator/st ... erator.htm
  
Reply With Quote
Old
  (#3)
Tystnad is Offline
1st Lieutenant
 
Posts: 4,139
Join Date: Jun 2003
Location: MW Sweden
  Send a message via AIM to Tystnad Send a message via MSN to Tystnad  
Default 05-09-2004, 09: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]



  
Reply With Quote
Old
  (#4)
elstatec is Offline
Colonel
 
elstatec's Avatar
 
Posts: 9,369
Join Date: Jun 2003
Location: United States of England
   
Default 05-09-2004, 11: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]


  
Reply With Quote
Old
  (#5)
KTOG is Offline
Captain
 
KTOG's Avatar
 
Posts: 5,824
Join Date: Mar 2002
Location: Robertplantsville
   
Default 05-09-2004, 12:50 PM

I'm so pissed that they only taught HTML 4.0 in school, now i'm stuck in the past
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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