Hi-

I'm somewhat new to Javascript -- I'm more of a back end programmer -- and I've been asked to tackle something that I'm not quite sure how to do. Basically, I need some code that prevents the contents of an iframe from loading outside their source. Namely, the page has its main text content in an iframe so it can be scrolled through while keeping fixed size layouts. That iframe points to a file, content.html, that I want to keep the user from loading directly in the browser. I'd like it so, if they do go to content.html directly, it will just boot them back to the main index.

Is this possible? Thank you.