Lock/fix background still in place

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • linceman
    Master Sergeant

    • Jul 2010
    • 60

    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
  • zuriatman
    Moderator

    • Sep 2006
    • 3025

    #2
    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.

    Comment

    • linceman
      Master Sergeant

      • Jul 2010
      • 60

      #3
      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?



      Thx
      linceman

      Comment

      • linceman
        Master Sergeant

        • Jul 2010
        • 60

        #4
        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

        Comment

        • emma-dawson

          #5
          re: Lock/fix background still in place

          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

          Comment

          • zuriatman
            Moderator

            • Sep 2006
            • 3025

            #6
            re: Lock/fix background still in place

            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.

            Comment

            • DarrenC
              Brigadier General

              • Jul 2008
              • 1750

              #7
              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

              Comment

              • linceman
                Master Sergeant

                • Jul 2010
                • 60

                #8
                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

                Comment

                Working...
                X