How to make page scroll automatically on click, plz help ASAP

Hi!
I need to know how to make a page scroll up or down automatically when i click on an image.
Too see example click here: http://www.morphix.si/
I am very new to Dreamweaver and coding, so please be gentle. But I need help A.S.A.P if it's possible! =)
Thanks!

Hit F1 (help) and search for Named Anchors.
The example page is one, very tall page with several named anchors on it.  When you click a button it takes you to the designated anchor on the page.
<a href="#top">Link to Top</a>
<a href="#bottom">Link to Bottom</a>
The gliding effect is done with jQuery.
http://www.position-absolute.com/articles/better-html-anchor-a-jquery-script-to-slide-the- scrollbar/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com

Similar Messages

  • How to make page continue after all click boxes have been clicked (CP6)

    Hi,
    I have a standard non quiz hotspot page in my course. I want this page to continue to show a final animation once the learner has clicked all click boxes on screen.
    At the moment, I have set up Advanced Actions to make the click boxes show the relevant information successfully. I have also set up an array which tells the page to continue once all the click boxes have been clicked, however the page does not continue until the user clicks on the page again AFTER clicking all the click boxes.
    Why is this happening?
    Thanks

    Lilybiri, I had problem with advanced actions and you helped me a great deal with your skills and your template for reusing.
    I will try to explain the best I can, If there are 3 buttons on a slide, and when each one is clicked: they assign some variable from 0 to 1, conditional action says if all assigned variables are 1 then do action for that slide, slide action can be: show 4th button (initially invisible) for example. That 4th button will be visible only if you proceed to some other slide by clicking one of those first 3 buttons (via jump to slide), and when you navigate back to that initial slide 4th button will be visible. This was the only way for me to show 4th button which is initially invisible on a slide with conditional actions. Standard actions works just fine: you click something and assigned action is performed. But, again for conditional actions slide needs to be reloaded.  For me it works only this way otherwise nothing happens on a slide when I have situation like this (with conditional actions). This is why I have replied in this way since I have recognized my problem. Am I wrong? And yes, event is triggered on slide Enter.

  • After clicking on an open tab, how to make the focus automatically go to the body of page?

    After clicking on an open tab, how to make the focus automatically go to the body of page?
    Right now, clicking in an open tab and using arrow keys now moves through the open tabs. I liked the old versions where right after clicking in a tab you could directly go to navigate the page with the arrow keys.
    Is there a something I can change in about:config to change this behavior?
    Thanks in advanced.

    Firefox should still set the focus the the browser area if you click a tab.<br />
    Only with very old browser versions you could set the focus to a tab by clicking a tab.
    This behavior is likely caused by an extension.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to make SMOOTH scrolling with Jtable in Swing automatically ?

    Hi All,
    I'm coding for a price board program, with all records I designed a table for them. So now I want to scroll automatically for all records on that table for customers viewing them. The problem that I can make it scroll smoothly ! Currently I use this block code :
    Thread scollTable;
    int scrollCount = 38;
    public void scrollTable(final int records) {
    if (scollTable == null) {
    scollTable = new Thread() {
    @Override
    public void run() {
    try {
    while (true) {
    if (scrollCount == 38) {
    jTable1.setRowSelectionInterval(scrollCount, scrollCount);
    scrollRowToVisible(scrollCount, jTable1);
    Thread.sleep(4000);
    jTable1.setRowSelectionInterval(scrollCount, scrollCount);
    scrollRowToVisible(scrollCount, jTable1);
    Thread.sleep(1000);
    scrollCount++;
    if (scrollCount == records) {
    scrollCount = 0;
    Thread.sleep(4000);
    jTable1.setRowSelectionInterval(scrollCount, scrollCount);
    scrollRowToVisible(scrollCount, jTable1);
    scrollCount = 38;
    continue;
    } catch(Exception ex) {
    if (!scollTable.isAlive()) {
    //scollTable.setPriority(7);
    scollTable.start();
    public void scrollRowToVisible(int row, JTable table) {
    Rectangle cellRect = table.getCellRect(row, 0, true);
    Rectangle visibleRect = table.getVisibleRect();
    cellRect.x = visibleRect.x;
    cellRect.width = visibleRect.width;
    table.scrollRectToVisible(cellRect);
    The problem I think the progam can not run smoothly with scroll :
    scrollRowToVisible(scrollCount, jTable1);
    Thread.sleep(1000);
    scrollCount++;
    Any helps,
    Thanks.
    Edited by: onlysang2004 on Aug 4, 2009 2:22 AM

    Could you please tell me more detail ? I studied about Swing recently ! I found a link for that javax.swing.Timer : http://forums.sun.com/thread.jspa?threadID=5366085&messageID=10603235#10603235 but how can I use ? In my price board screem doesn't have ActionListener object or button to listen to submit. Can I create an ActionListener object ? Please help me more, how to run smooth scrolling automatically !
    public class ViewElectricHaSTC extends JFrame {
    Thread scollTable;
    public ViewElectricHaSTC(Options options) throws Exception {
    scrollTable(options.getRecord());
    int scrollCount = 38;
    public void scrollTable(final int records) {
    if (scollTable == null) {
    scollTable = new Thread() {
    @Override
    public void run() {
    try {
    while (true) {
    if (scrollCount == 38) {
    //jTable1 created with initComponents method
    jTable1.setRowSelectionInterval(scrollCount, scrollCount);
    scrollRowToVisible(scrollCount, jTable1);
    Thread.sleep(4000);
    jTable1.setRowSelectionInterval(scrollCount, scrollCount);
    scrollRowToVisible(scrollCount, jTable1);
    Thread.sleep(1000);
    scrollCount++;
    if (scrollCount == records) {
    scrollCount = 0;
    Thread.sleep(4000);
    jTable1.setRowSelectionInterval(scrollCount, scrollCount);
    scrollRowToVisible(scrollCount, jTable1);
    scrollCount = 38;
    continue;
    } catch(Exception ex) {
    if (!scollTable.isAlive()) {
    //scollTable.setPriority(7);
    scollTable.start();
    public void scrollRowToVisible(int row, JTable table) {
    Rectangle cellRect = table.getCellRect(row, 0, true);
    Rectangle visibleRect = table.getVisibleRect();
    cellRect.x = visibleRect.x;
    cellRect.width = visibleRect.width;
    table.scrollRectToVisible(cellRect);
    Edited by: onlysang2004 on Aug 4, 2009 7:23 PM

  • Flash cs3: how to make moving/scrolling photo menu left and right?

    http://media.moma.org/subsites/2008/miro/flashsite/index.html
    - click continue, then relative size link
    How can I do this with lash cs3: how to make moving/scrolling
    photo menu left and right?
    When you move left and right and paintings move. and when you
    click on a painting, you see the the title and it links to another
    page on the site.

    scene_mc start at x = -550... x wide is 2164 px
    now I have this and its working...
    navL_mc.addEventListener(MouseEvent.MOUSE_OVER, navL_Over);
    navL_mc.addEventListener(MouseEvent.MOUSE_OUT, navL_Out);
    function navL_Over(e:MouseEvent){
              if(scena_mc.x == 0){
                                  scena_mc.x == 0;
              else if(scena_mc.x <= -10){
                                  scena_mc.x += 10;
                                  navL_mc.addEventListener(Event.ENTER_FRAME, runL);
    function runL(e:Event):void{
              if(scena_mc.x == 0){
                                  scena_mc.x == 0;
              else if(scena_mc.x <= -10){
                                  scena_mc.x += 10;
    function navL_Out(e:MouseEvent){
              navL_mc.removeEventListener(Event.ENTER_FRAME, runL);
    navR_mc.addEventListener(MouseEvent.MOUSE_OVER, navR_Over);
    navR_mc.addEventListener(MouseEvent.MOUSE_OUT, navR_Out);
    function navR_Over(e:MouseEvent){
              if(scena_mc.x == -1164){
                                  scena_mc.x == -1164;
              else if(scena_mc.x >= -1154){
                                  scena_mc.x -= 10;
                                  navR_mc.addEventListener(Event.ENTER_FRAME, runR);
    function runR(e:Event):void{
              if(scena_mc.x == -1164){
                                  scena_mc.x == -1164;
              else if(scena_mc.x >= -1154){
                                  scena_mc.x -= 10;
    function navR_Out(e:MouseEvent){
              navR_mc.removeEventListener(Event.ENTER_FRAME, runR);

  • How to make Firefox open automatically a new, empty tab in each start, but keep last sessions?

    How to make Firefox open automatically a new, empty tab in each start? (keep last sessions as well) It will be good, because Firefox wont load the previous sessions last watched tab after start straight away, but keep my previous sessions tab as well in the browser.

    Hello,
    You can change your home page settings to open a blank tab:
    * Tools (or [[Image: New Fx Menu]]) > Options > General
    * Beside "Startup", change to "Show a blank tab"
    * See the article [[Startup, home page and download settings]] for more information
    To retrieve your previous browsing session, first make sure that you are not running in [[Private Browsing - Browse the web without saving information about the sites you visit|Private Browsing mode]]. When you start Firefox, to recover your previous session, you can go to:
    * History (or [[Image: New Fx Menu]] > History) > Restore Previous Session
    * Please see [[Restore previous session - Configure when Firefox shows your most recent tabs and windows]] for more information

  • In windows 7, how to make firefox start automatically when I turn on the computer

    In Windows 7, how to make Firefox start automatically when I turn on the computer. Note, I am asking how to do this with Windows 7, not xp, not vista.

    You need to place a shortcut to open Firefox in the Start > Programs > Startup folder.<br />
    That is basically the same in all Windows versions.

  • How to make a scroll bar!!!

    i need to know how to make a scroll bar in flash cs3! can
    anyone help me with this??

    http://learnola.com/2008/10/27/flash-tutorial-create-a-custom-scrollbar-with-actionscript/

  • How to make a scroll animation constantly fixed after scrolling? I want the animation to Start when I scroll down, but I don't want the animated thing to disappear when I scroll up again.

    How to make a scroll animation constantly fixed after scrolling? I want the animation to Start when I scroll down, but I don't want the animated thing to disappear when I scroll up again.
    I know how to start the animation by scrolling down, but I simply want it to stay there after it. Could you help me please, guys?

    Hi Tom,
    There is no native feature in Muse to achieve this.
    Regards,
    Aish

  • How to make Finder open automatically...?

    How to make Finder open automatically when I insert external drive?

    Make sure the Finder preferences are set to display hard drives:
    OT

  • My iphone is acting crazy plz help asap my phone is giving reading me everything i lay my hand on and is not letting me scroll down or select anything i must have accidentally switched some voice thing on plz help me close it:(

    my iphone is acting crazy plz help asap my phone is giving reading me everything i lay my hand on and is not letting me scroll down or select anything i must have accidentally switched some voice thing on plz help me close it:(

    First off, try triple clicking the home button.
    To scroll use three fingers and I think you have to double tap to get into something.
    Go to Settings>General>Accessability>Voiceover and then turn that off.
    Hope that sorts it for you

  • I am trying to run page 192.168.0.170 for my IP Cameras but after login and password the page is not responding. Plz help!

    I am trying to run page 192.168.0.170 for viewing IP Cameras but after login and password the page is not responding. Plz help!

    I am trying to run page 192.168.0.170 for viewing IP Cameras but after login and password the page is not responding. Plz help!

  • I have 10 UiWebView to load different charts and maps on an iPad,using UIScrollView to scroll through each page, problem is on loading of each UiWebView my UiScrollView does not scroll smoothly to other pages horizontally,so how to make the scroll smooth?

    I have 8-10 UiWebView's  to load different charts and maps on an iPad, i am using UIScrollView to scroll through each page, problem is while loading of each UiWebView my UiScrollView does not scroll smoothly to other pages horizontally, my query is can i load UiWebView on background and how to make sure the scoll of pages is smooth, even though the loading of UiWebViews may take time.
    Note :i have tried disabled scrolling on webview, so when i scroll on the page  the scroll event will be of UiScrollView, so believe no conflict with UiWebView.
    also in ios 6 i read about suppressesIncrementalRendering = True but i want to support ios5, also as UiWebViews are said to be running on main thread by default, i suspect when loading of webViews and when user tries to scroll the page, the main thread is busy, but i want the scroll of the page to be smooth  even though the loading of UiWebViews may take time.

    You will probably get a faster and more accurate answer if
    you repost in the Developers Forum.

  • How to make the scroll bar in flex automate to focus on the new ui component added in the canvas?

    Hi all ,
    There is a canvas container where am adding charts in separate windows.
    So whenever a new chart is added the scroll bar needs to set the focus on the present chart window.
    For this i made the functionality for the canvas container to scroll whenever a new chart is added using the below code
    canvasContainer.verticalScrollPosition = canvasContainer.maxVerticalScrollPosition;
    But the calculations for the vertical position are not precise...
    Is there anything else I should do to make the scroll happen automatically as the chart windows get added in the container ??
    Any suggestions pls
    Regards,
    Ajantha

    Many many thanks to Frank,
    In the css,use the follwing style settings to hide the scroll bar
    af|carousel::spin-bar{    
    visibility: hidden;
    af|carousel::spin-h-previous-icon-style{
    visibility: hidden;
    af|carousel::spin-h-next-icon-style{
    visibility: hidden;
    af|carousel::spin-info{
    visibility: hidden;
    }

  • How to make JScrollPane scroll faster?

    Hi,
    I have tried to develop on a program to zoom in or zoom out the image�a graph which is plotted using the method draw from Graphics2D. In the program, I am given about 1000 points, which are supposed to be plotted one by one suing the draw method, which later form a graph.
    I have put the JPanel, where the output of the graph is displayed, into a JscrollPane to enable scrolling of large image. However, when I am trying to scroll the image, it happen to me that the scrolling is extremely slow. When I click at the scrolling bar to scroll down the image, it take some time before the image is scrolled down.
    My doubt will be is there any method to make the scrolling on the JscrollPane to become faster?does this involve double buffering?
    Thank you.

    This may not be the answer to your problem, but I thought I would throw it out there. One reason it might scroll slowly is because by default the JScrollPane only moves 1 pixel for every click of the scroll bar. You can adjust this by having your JPanel implement the Scrollable interface.
    Here is a code sample -
    // implement Scrollable interface
    public Dimension getPreferredScrollableViewportSize()
    return getPreferredSize();
    public int getScrollableBlockIncrement( Rectangle r, int orientation, int direction )
    return 10;
    public boolean getScrollableTracksViewportHeight()
    return false;
    public boolean getScrollableTracksViewportWidth()
    return false;
    public int getScrollableUnitIncrement( Rectangle r, int orientation, int direction )
    return 10;
    Whatever number you have your getScrollableUnitIncrement and getScrollableBlockIncrement methods return is how many pixels your component will scroll for each click of the scroll bar.
    Give this a try.

Maybe you are looking for

  • Playing through TV

    Can anyone point me to instructions on exactly how to set up my MacBook Pro to play (a DVD or slideshow, etc.) through an external monitor -- specifically my TV? I have the connection, which worked many months ago when I tried it once. But I'll be da

  • Reset power management unit (PMU) 12" PB Aliminium case

    The Apple instructions for resetting the PMU are: 1. If the computer is on, turn it off. 2. Reset the power manager by simultaneously pressing and then releasing Shift-Control-Option-Power on the keyboard. Do not press the fn (Function) key while usi

  • Execute query in mapping and map the result to next field in target

    Hi Guys, Doing file to jdbc Scenario. source: root:   row        sf1 target: root:     row        target1        target2 I have requirement as: I have to map sf1 to target1 ( I do not have any problema in it) target2 field must populate basing upon q

  • DVD RW - lack of

    After installing the beta Vista drivers i have lost my DVD-RW, only disabling all the creative products AT EACH REBOOT am i able to use this. It is very annoying especially when i am trying to restore the programs, documents and back up?after the ins

  • CEKKO and CEBAN for PO or PR release strategy??

    hi all Can any body explain me about the below details in PO and PR release startegy.?? In release streatgy, sytem check CEKKO and CEBAN for PO or PR release . while define characterstic, in Additional Data....there is table and field name..??? Than