0

Hi friends,

i have a html page containing three frames..Each frame having source .aspx pages. one frame contains menus, on click of the menuitem how to redirect it to another frame? i'm very new to Javascript.. i will definitely appreciate your help.

Thanks

2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by Hibiscus
0

Here you go buddy, I don't know much about it too.. but I searched DynamicDrive and I found a way to let it happen, I had implemented this on a website - www.compsoftworld.com

Put this in the Body Section

<script>
function loadIframe(iframeName, url) {
  if ( window.frames[iframeName] ) {
    window.frames[iframeName].location = url;   
    return false;
  }
  else return true;
}
</script>

The Code for the LINK

<a href="../yourpage.aspx" onclick="return loadIframe('ifrm', this.href)" >Contact Us </a>

Just make new links using this.. this will help.

Hi friends,

i have a html page containing three frames..Each frame having source .aspx pages. one frame contains menus, on click of the menuitem how to redirect it to another frame? i'm very new to Javascript.. i will definitely appreciate your help.

Thanks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.