Results 1 to 8 of 8

Thread: Lock/fix background still in place
      
   

  1. #1
    Join Date
    Jul 2010
    Location
    Alicante, Spain
    Posts
    60

    Question Lock/fix background still in place

    Hi everyone

    I would like to know how to leave the background still.... while all of the rest of the information scrolls up or down...

    I have seen it but don't know how to...

    www.alfaaudivisual.com

    Thanks a lot in advance.
    Linceman

  2. #2
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    3,026

    Default re: Lock/fix background still in place

    Open an Inline Frame over the background in BV and place all your info inside the IFrame.
    www.siapamoyanganda.com/
    Malaysian Family Tree Website From the
    State of Johor.

    HAPPY ARE THOSE WHO DREAM DREAMS AND ARE READY TO PAY THE PRICE TO MAKE THEM COME TRUE.

  3. #3
    Join Date
    Jul 2010
    Location
    Alicante, Spain
    Posts
    60

    Question Re: background still

    Thank you very much for the reply...

    This is how it would look then?? I would have to have 2 scroll bars.
    1 for the page and another for the inline frame?

    http://www.alfaaudiovisual.com/index_inline.html

    Thx
    linceman

  4. #4
    Join Date
    Jul 2010
    Location
    Alicante, Spain
    Posts
    60

    Question re: Lock/fix background still in place

    For instance at https://twitter.com/

    The only have one scroll bar...

    The inside info scrolls down while the background remains stilll....

    Thx very much...

    Linceman

  5. #5
    emma-dawson Guest

    Default re: Lock/fix background still in place

    Quote Originally Posted by zuriatman View Post
    Open an Inline Frame over the background in BV and place all your info inside the IFrame.
    Hi,
    Seems very useful post to me. Do you know is there any tutorial for this?
    If you do , could you please post?
    Thank you

  6. #6
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    3,026

    Default re: Lock/fix background still in place

    Quote Originally Posted by emma-dawson View Post
    Hi,
    Seems very useful post to me. Do you know is there any tutorial for this?
    If you do , could you please post?
    Thank you

    Inline frame tutorial...............
    www.siapamoyanganda.com/
    Malaysian Family Tree Website From the
    State of Johor.

    HAPPY ARE THOSE WHO DREAM DREAMS AND ARE READY TO PAY THE PRICE TO MAKE THEM COME TRUE.

  7. #7
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    1,750

    Default re: Lock/fix background still in place

    I believe this is what you are after

    I use this code, when the background is one big image (Example)

    <style type="text/css">
    body
    {
    background-image:url('http://www.yoursite.com/images/yourbackgroundimage.jpg');
    background-repeat:no-repeat;
    background-attachment:fixed
    }
    </style>

    or this if I need the background image to repeat itself (Example)

    <style type="text/css">
    body
    {
    background-image:url('http://www.yourwebsite.com/images/yourbackgroundimage.jpg');
    background-repeat:repeat;
    background-attachment:fixed
    }
    </style>

    Whatever you deicde you paste this code in the page html in the 'Between Head' tab.

    Obviously change the url in red to the correct one once you've uploaded the background image to your images folder.

    All the best
    Happy Building

    DarrenC

  8. #8
    Join Date
    Jul 2010
    Location
    Alicante, Spain
    Posts
    60

    Thumbs up re: Lock/fix background still in place

    Yes sir... Darren... I works great... html is life after digits.... thx a lot...
    linceman
    www.alfaaudiovisual.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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