Hello,
<iframe name="I1" width="822" height="386"
frameborder="0" scrolling="auto" align="center"
src="
http://www.midkiffhub.com/gallery">
Your browser does not support inline frames or is
currently configured not to display inline
frames.</iframe></p>
Actually - (ähm) I forgot something:
Add
onload=javascript:autoScroll()
into the <body>-tag when putting the code into the
document within the iframe. The code can be written
everywhere in the document - but in the document that is
opened within the iframe.
If it still doesn't work:
Try to change
document.scrollBy(x,y);
into
I1.document.scrollBy(x,y);
or
parent.I1.document.scrollBy(x,y);
Now the code to be in the document where the iframe is
defined.
Else, I don't know if the iframe should react to a link or
be shown when the site was opened. There would be two
different methods to handle it:
1)
If the site in the iframe should shown when the "main
page" is opened:
Add
a) <body onload=javascript:autoScroll()> [as above]
if the code is within this document.
b) <body onload=javascript

arent.I1.autoscroll()>
if the code is in the document shown in the frame.
2)
If the iframe should react to a clicked link:
The link:
<a href=javascript:change()>Link</a>
The script modification: Add
I1.document.href="url";
before the other two lines. (url = the page that should be
shown).
If none of this is working, you could send my an URL or an
email (change "spam" into "prog" to get my real Email
adress) that I can try it myself and I could send you the
result.
Yours sincerely
maak