User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,195 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,943 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1265 | Replies: 2
Reply
Join Date: Feb 2007
Posts: 3
Reputation: Hibiscus is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Hibiscus Hibiscus is offline Offline
Newbie Poster

Help Frames

  #1  
May 7th, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2007
Posts: 4
Reputation: bgagan911 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
bgagan911 bgagan911 is offline Offline
Newbie Poster

Solution Re: Frames

  #2  
May 7th, 2007
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.

Originally Posted by Hibiscus View Post
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
Reply With Quote  
Join Date: Feb 2007
Posts: 3
Reputation: Hibiscus is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Hibiscus Hibiscus is offline Offline
Newbie Poster

Re: Frames

  #3  
May 8th, 2007
thnx a lot
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 3:47 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC