Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Nov 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Two backgrounds on one page

    http://members.rogers.com/inikiforovski/verdnex/ -> General

    This is my site in its experimental form. I have made it using iframes and DHTML. The background is fixed in one place and does not move, but now i've decided to add another background - the circles but they move when i scroll down the page.

    I would really appreciate if somebody could advise me how to have the two backgrounds on one page, so that the circles are not repeated but only appear once and so they dont move - just like my first background.

    Thanx in Advanced
    Keyboardmaster

  • #2
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    i'd love to help you, but i have no clue what you're talking about. backgrounds, in my mind, are mutually exclusive. you have one, or you have another one, but not two together. i thought maybe i'd figure it out by following your link, and looking for circles, but i didn't see anything even remotely round.

    in short, i'm confused. can you explain this more clearly?
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #3
    PlatinumProject
    Guest
    --do you want your back ground fixed
    --wat circle
    --do you have an iframe there fo the up and down

    --wat do u mean you wan two backgrounds to do this you could use a table and insert another image as the cells bg
    --like joh6nn sed explian your self

  • #4
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think I know what you are trying to do...

    How about making a DIV, with a background that is transparent except for some circles, and then scrolling the DIV with some Javascript?

    That's what I would do

    ::] krycek [::
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."

  • #5
    New Coder
    Join Date
    Nov 2002
    Location
    US
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Two backgrounds on one page

    Originally posted by keyboardmaster
    http://members.rogers.com/inikiforovski/verdnex/ -> General

    This is my site in its experimental form. I have made it using iframes and DHTML. The background is fixed in one place and does not move, but now i've decided to add another background - the circles but they move when i scroll down the page.

    I would really appreciate if somebody could advise me how to have the two backgrounds on one page, so that the circles are not repeated but only appear once and so they dont move - just like my first background.

    Thanx in Advanced
    Keyboardmaster
    What I think he talking about is having a background stay in one place and when someone scrolls down it just moves the words and pictures but not the background.

  • #6
    eak
    eak is offline
    Regular Coder eak's Avatar
    Join Date
    Jun 2002
    Location
    Nashville, TN
    Posts
    354
    Thanks
    0
    Thanked 26 Times in 26 Posts
    in the latest browsers that support the dom, you can do this to get 2 seperate bg images.

    html{
    background-image:url('yourBG.jpg');
    background-attachment:fixed;
    }

    body{
    background-image:url('yourBG2.jpg');
    background-attachment:fixed;
    }
    eak | "Doing a good deed is like wetting your pants; every one can see the results, but only you can feel the warmth."


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •