Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2012
    Posts
    24

    Default pin background to the left

    Is there a way to pin a background to the upper left corner, like the static tweak does without making the image static?

  2. #2
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: pin background to the left

    The question puzzles me a bit. What are you trying to do? Please expand the question a bit more!

  3. #3
    Join Date
    Nov 2012
    Posts
    24

    Default Re: pin background to the left

    Ok, here is a pic of the page with the static tweak added for the background image. It is full screen and the logo and mouse-over buttons are aligned correctly.
    https://dl.dropbox.com/u/86954037/pic2.png

    but if I go and make the screen smaller the background stays static (witch it should because of the tweak) but the logo, mouse-overs, and footer move.
    https://dl.dropbox.com/u/86954037/pic3.png

    This pic (without the static tweak) shows the background aligned to the upper left corner of the page design area.
    https://dl.dropbox.com/u/86954037/pic4.png

    Basically I want the background all the way to the left of the window (not the design area) but I need it to move and adjust as the screen size changes and keep and graphic, mouse-overs, or other material relative to the alignment of the background. The static tweak would work for this except with the drop down area of the background pic is what is making the difference but I need that drop down area.

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,967

    Default Re: pin background to the left

    irishdoc, from your screenshots, I think I am seeing your that your page is centered within your pasteboard image, which is Xara's default.

    If you were to extend the left side of your page to embody an inch of your pasteboard design and align the new design to the left with a Widget (see below) then your rightmost pasteboard image would be fixed for any viewport width. I can't think of another approach as your pasteboard image is asymmetrical.

    Elsewhere on the Forum is the background to a Widget, Page Left, that one of the Moderators might know exactly where.
    The HTML code (head) is:
    <script type="text/javascript">
    function my_lres(e){
    if(my_loldres)my_loldres(e);xr_xr.style.marginLeft ="0px";xr_xr.style.left="0px";xr_dx=0;document.bod y.style.backgroundPosition="0px 0px";};
    var my_loldres=0;
    window.onload=my_llod;
    function my_llod(){
    my_loldres=window.onresize;window.onresize=my_lres ;my_lres();};
    my_lres();
    </script>


    Acorn

  5. #5
    Join Date
    Nov 2012
    Posts
    24

    Default Re: pin background to the left

    While that works for stopping the page content from moving. I still need to move the background outside of the page area (to the left), so my background image doesn't appear tiled. Is there a way to do this. Using the Do Not Tile Background tweak only removes the background image to the left of page content instead of moving it to the area that was previously tiled.

  6. #6
    Join Date
    Sep 2000
    Location
    Bracknell, UK
    Posts
    8,659

    Default Re: pin background to the left

    http://board.xara-users.info/viewtopic.php?f=8&t=651

    Designers usually avoid images of the type you are using because they will tile.

 

 

Bookmarks

Posting Permissions

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