Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2010
    Location
    London,UK
    Posts
    124

    Default Floating back to top

    Is it possible to have a floating "Back to Top" button in XWD6 , and if so how?

    So as you scroll down a long web page it floats at the bottom !




    wincing, anticipating Steve's "NO" response hahahaha
    If I had any more brains I'd be a half wit !

  2. #2

    Default Re: Floating back to top

    No

  3. #3
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Floating back to top


    Well, I guess I have no more copyright to that answer.

    Back to the original question.
    Yes, you can easily create such button. Simply place # in the link field.
    Alternatively you can have a named object at the top of the page and link to it.
    Hope it helps.
    John.

  4. #4

    Default Re: Floating back to top

    John I think the time Lord wants something like this rather than a fixed anchor

  5. #5
    Join Date
    Mar 2010
    Location
    London,UK
    Posts
    124

    Default Re: Floating back to top

    LOL sledger...Please no official titles.

    Thats the puppy I want, thank you Mr Sledger

    Cheers covoxer I can use that too

    Take the rest of the day off guys, tell them I said it was ok.
    If I had any more brains I'd be a half wit !

  6. #6
    Join Date
    Mar 2010
    Location
    London,UK
    Posts
    124

    Default Re: Floating back to top

    hang on, before you go.
    I just tried the javascript and the box stayed static on the page.
    I used a placeholder box with html replaced, any ideas where I screwed up ?

    thanks
    If I had any more brains I'd be a half wit !

  7. #7

    Default Re: Floating back to top

    The DD example doesn't when added in WD.
    This CCS method works in a WD placeholder in all browsers except IE (links are dead in IE)

  8. #8
    Join Date
    Mar 2010
    Location
    London,UK
    Posts
    124

    Default Re: Floating back to top

    its a shame it does not work in all browsers.
    Thanks
    If I had any more brains I'd be a half wit !

  9. #9

    Default Re: Floating back to top

    Well it does now

    Just add the code to the page 'tracker code area.

    <!-- FLOATER-->
    <style>
    div.floating-menu {position:fixed;bottom:10px;left:6px;background:#f ff4c8;border:1px solid #ffcc00;width:100px;}
    div.floating-menu a, div.floating-menu h3 {display:block;margin:0 0.5em;}
    </style>
    <div class="floating-menu">
    <a href="#top"><b><center>Goto Top</center></b></a>
    </div>
    Attached Files Attached Files

  10. #10
    Join Date
    Mar 2010
    Location
    London,UK
    Posts
    124

    Default Re: Floating back to top

    Sledger....thankyou... that does work...and exactly what I have been looking for

    ok ...global warming fixed before Lunch?
    If I had any more brains I'd be a half wit !

 

 

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
  •