Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 491
  • Last Modified:

Coldfusion.Navigate scrolling page to cfdiv?

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??

0
judsonmusic
Asked:
judsonmusic
1 Solution
 
duncancummingCommented:
You could try inserting this in or after your cfdiv:
<script type="text/javascript">
scroll(0,0)"
</script>
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now