frameready() jquery plugin help
I'm trying to use this jquery plugin:
http://ideamill.synaptrixgroup.com/?p=6#comments
to pass a javascript effect to an iframe.
If you look at the following link you can understnad what I am trying to do. I'm trying to make it so that when I hit the LOAD button, the iframe
smooth scrolls to an anchor within the iframe.
http://ideamill.synaptrixgroup.com/demos/frameready/ajaxloaddemo.cfm
Specifically, I trying to pass this function through the frameready
-
window.addEvent('domready',function() { new SmoothScroll({ duration: 1800 }); });
you can find an example here:
http://davidwalsh.name/dw-content/smooth-scroll.php
I have all the js scripts and frameworks I need, but I can't seem to get the syntax of the $.frameReady function correct.
If anyone can get a parent link to smooth scroll an iframe to an anchor,
they will be my hero!