Hi, thanks for your help everyone althought i did not understand it, lol. I noticed this topic had quite a few views so i thought i would post how i did what i was attempting.
1) In the page of links that i had i used this code:
album.html is the page containg the iframe
song1.txt is the content i wanted in the iframe
2) In the page with the iframe (for me album.html) you put this code in
the head tags:
var newURL = unescape(location.search.substring(1));
3) Enter one of these onload codes on the page with the iframe (only one, i.e if you already have a body onload you can use the iframe onload instead):
<iframe onload="parent.ZZZZZZZZZZ.location.href=newURL;" name="ZZZZZZZZZZ"></iframe>
<body onload="if (newURL != '') parent.ZZZZZZZZZZ.location.href = newURL ">
NOTE: 'ZZZZZZZZZZ' is the iframe name
ALSO note if this doesnt work offline you may want to upload it and see if it works, althought it worked for me offline.
All of this information was found at:
http://www.programmingtalk.com/showthre ... ge=2&pp=10
(Posted by: KingSky)
Thanks very much everyone!