Coldfusion.Navigate scrolling page to cfdiv?

Posted on 2008-11-07
Last Modified: 2012-05-05
I have a cfdiv on a page that I am using coldfusion.navigate with. It workd fine but the rpoblem is that on the bodyonload, when it loads the cfdiv, the page automatically scrolls down to the area where the cfdiv, I forgot how to prevent this.

Do I use return? Or is there a javascript that I can use to scroll the page to the top when it loads the cfdiv??

Question by:judsonmusic
    1 Comment
    LVL 16

    Accepted Solution

    You could try inserting this in or after your cfdiv:
    <script type="text/javascript">

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
    Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now