midez
03-03-2005, 08:31 AM
when someone is clicking a link for a specific page i want that page to open but with my frame around it, a little bit like:
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: CodeLifter.com (support@codelifter.com) -->
<!-- Web Site: http://www.codelifter.com -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
if (parent.location.href == self.location.href) {
// change the url below to the url of the
// frameset page...
window.location.href = 'index.html';
}
// End -->
</script>
but i still want the framesets focus to be on the page i wanted to open, not like in this case, open the frameset with the startpage.
Did someone understand what i'm looking for? Hope so!
Mike //
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: CodeLifter.com (support@codelifter.com) -->
<!-- Web Site: http://www.codelifter.com -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
if (parent.location.href == self.location.href) {
// change the url below to the url of the
// frameset page...
window.location.href = 'index.html';
}
// End -->
</script>
but i still want the framesets focus to be on the page i wanted to open, not like in this case, open the frameset with the startpage.
Did someone understand what i'm looking for? Hope so!
Mike //