Hi I'm searching for a script to shift (scroll) the contents of an iFrame 50 pixels towards the right upon loading.
In a nutshell the iFrame will be loading a 200x50px picture, the iFrame is only 150px wide with it's scrollbars disabled and I would like the pic to be showing it's right side (scrolled 50px to the right upon load).
Here's how far I got (I know it's not much)
<iframe src=" align="right" frameborder="0" marginwidth="1" marginheight="0" scrolling="No" width="150" height="50" ></iframe>
I thought align="right" would do the trick but didn't work
If anybody knows of a good tut or a code snippet that could help, I would greatly appreciate anything.
Thanks in advance.
Diego.-
In a nutshell the iFrame will be loading a 200x50px picture, the iFrame is only 150px wide with it's scrollbars disabled and I would like the pic to be showing it's right side (scrolled 50px to the right upon load).
Here's how far I got (I know it's not much)
<iframe src=" align="right" frameborder="0" marginwidth="1" marginheight="0" scrolling="No" width="150" height="50" ></iframe>
I thought align="right" would do the trick but didn't work
If anybody knows of a good tut or a code snippet that could help, I would greatly appreciate anything.
Thanks in advance.
Diego.-