Forum Moderators: open
I have a neat scroll menu thing going on - basically it's thumbnail images that scroll across the top of a page. The file is "About.html", and the .SWF file is of the same name, and embedded in the html page. Below the embedded section, on the same page, is an iFrame window named "bottom".
In the page header, I have a small javascript:
function showiframe (winurl, winname){
window = window.open.iframe(winurl, winname);
}
In the flash file, when you click on the first thumbnail, ideally, it would open "1.html" in the iFrame. The script I have for the button is as such:
button.onRelease = function(){
getURL("javascript:showiframe('./1.html', 'bottom')
}
For the record, the .SWF file is located in a sub-folder - which is the reason for the "./1.html", as "1.html" is in the folder above the flash file.
Anyway, this isn't working. Anyone have any ideas of how I can make this function properly? It seems like such a simple thing to do, but it's just not working. Murphy's Law and all, you know.
Thanks in advance!