Welcome to TalkGraphics.com
Results 1 to 9 of 9
  1. #1

    Default Animated scroll to anchor

    Hello

    Is there any way to create a smooth scroll effect to any anchored object?

    I woould like to create an effect like the one used here http://www.dannyblackman.com/
    click on the Previous and next buttons... thats what i need.

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

    Default Re: Animated scroll to anchor

    I think Danny wrote a Flash script to do that. It is a very creative site and I hope someone gives Danny a job. He is very talented.

    In Web Designer 7 or Designer Pro 7 you can use Transition Effects to have a page or layer scroll in to or out of the page. If you have one of these two products, do a Help > Index search for Transitions.

    You can also create a "Presentation" site that uses Transitions See this example here http://www.xaraxone.com/webxealot/wo.../presentation/ Every time you click a an arrow button the next effect (transition) happens. This could be new layers or pages sliding in instead of lines of text.

  3. #3

    Default Re: Animated scroll to anchor

    but i cannot replicate the exact effect as the link i posted http://www.dannyblackman.com/.

    Is there any way i can use jquery with Xara Web Designer 7 premium?

    Also, could you please post the link of what Danny wrote?

    thank you

  4. #4

    Default Re: Animated scroll to anchor

    This is done with mootools.js and mooscroll.js plus a javascript script relative to each named div on the page.
    If you view the source and scroll to the foot of the source age you will see this.
    It should be possible in Xara if you follow the lead from that source.

  5. #5

    Default Re: Animated scroll to anchor

    could you please show me how?

  6. #6

    Default Re: Animated scroll to anchor

    You will have to get copies of the mootools and mooscroll js first and reference these in a head placeholder.

    Each button must have a unique name applied which gives the DIV it's 'ID'
    The the script which activate this must have an entry for each of the divs;
    eg:

    The DandSD Nav section has the 'Next' button div named work2.
    So the script code for this button is:

    // DandAD Nav
    $('next_btn1').addEvent('click', function(){
    skroll.toElement('work2');
    });
    If you're not sure about named objects, how to embed scripts using placheolders or how to reference external *.js see the Xara help file for more.

    Good luck

  7. #7

    Default Re: Animated scroll to anchor

    thank you for your answer. I'll give it a try and let you kwno my progress.

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

    Default Re: Animated scroll to anchor

    Head placeholder as in the Replace with HTML code (head) area.

    Great resource as always, SS.

  9. #9

    Default Re: Animated scroll to anchor

    I've already tried this:
    1. Calling mootools on the <head> via Web Page Propierties > Page > HTML code insertion <head>.
    <script type="text/javascript" src="js/mootools.js"></script>
    <script type="text/javascript" src="js/mooscroll.js"></script>

    2. I know that the the script which activate this must have an entry for each of the divs;
    3. So the script is
    // DandAD Nav
    $('next_btn1').addEvent('click', function(){
    skroll.toElement('work2');
    });

    4. put names to the button and to any other object so it acts like anchor.
    5. where i am totally lost is that i tried to put this script to a button in the link URL, to a placeholder, another HTML insertion code and i just couln't make this work.

 

 

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
  •