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

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

thnx a lot

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.