Welcome to TalkGraphics.com
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Oct 2011
    Location
    Vancouver, WA
    Posts
    102

    Default Re: NAVBARS SHRINK ON SCROLL

    Quote Originally Posted by Acorn View Post
    The original Tazz Thread is https://www.talkgraphics.com/showthr...size-on-Scroll.

    There is nothing native to Xara that does this gracefully.

    Here is a JavaScript approach: JS - Shrinking NavBar Logo.xar

    The logo has a Name of 'tg-logo'.
    The JS code and the CSS use this value.
    Rename the log, change the code.

    The maths is set for when the page scrolls to the bottom the logo is shrunk to 30%.
    You need to adjust this calculation if you want it to be fully shrunk by a specified height reached.

    Acorn
    Well, it looks like that will be my only real option. It should be able to be worked with.

  2. #2
    Join Date
    Oct 2011
    Location
    Vancouver, WA
    Posts
    102

    Default Re: NAVBARS SHRINK ON SCROLL

    Thank you

 

 

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
  •