Welcome to TalkGraphics.com
Results 1 to 10 of 10
  1. #1
    Join Date
    Oct 2010
    Location
    South Africa
    Posts
    877

    Default Pages moving left and right when nav bar clicked

    Can anyone help me with this.
    When clicking on the various pages on the nav bar, the loading page moves slightly left or right on the screen which is annoying.
    I've attached the .web file - any help would be appreciated.
    Many thanks,
    Mike

    2A on EricaREV.web

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,503

    Default Re: Pages moving left and right when nav bar clicked

    If you use the All Pages Same Size option Page Options > Page Size > All pages in website the same size this won't happen.

    When pages are deeper than the screen scroll bars appear. If the page fits within the browser, there are no scroll bars. So scroll bars, no scroll bars will make the page jump back and forth.

    Nice looking site by the way Mike.

  3. #3
    Join Date
    Oct 2010
    Location
    South Africa
    Posts
    877

    Default Re: Pages moving left and right when nav bar clicked

    Thanks Gary - I must be getting (am) old! - don't know how I didn't see that!

  4. #4
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,503

    Default Re: Pages moving left and right when nav bar clicked

    You're not alone. It has bedeviled me for a long time then someone from Xara pointed out the scrollbars thing.

    One would hope that Xara could program a compensation for this so one can have different length pages without the page shift.

  5. #5
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Pages moving left and right when nav bar clicked

    Steve has made a tweak for this annoying effect Gary. You can view it in the Xara Users Forum:
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  6. #6
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,503

    Default Re: Pages moving left and right when nav bar clicked

    Brilliant! Thanks for that Egg.

    I wonder if the script needs to appear on the short pages or if it could just be placed in the Website > Head section and would therefore apply to all pages.

  7. #7
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Pages moving left and right when nav bar clicked

    Hi Gary. I tried it in the website head section and it works a treat. If the page is short it just creates a blank scroll bar gutter with no furniture and if the page is long it supplies the scroll bar furniture.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  8. #8
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,503

    Default Re: Pages moving left and right when nav bar clicked

    I am so seldom correct.

  9. #9
    Join Date
    Oct 2010
    Location
    South Africa
    Posts
    877

    Default Re: Pages moving left and right when nav bar clicked

    Many thanks Egg and Gary!

  10. #10

    Default Re: Pages moving left and right when nav bar clicked

    What's the difference between adding the > All pgs same size vs. Steve's tweak?
    If you add > All pgs same size, does it also effect the length, or just the width of the pages?
    Most of my pages are not the same length, so if this is the case, it will cause issues.
    Thanks.

 

 

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
  •