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,533 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 2,919 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: 855 | Replies: 1
Reply
Join Date: Oct 2007
Posts: 6
Reputation: jiggy_g is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jiggy_g jiggy_g is offline Offline
Newbie Poster

Opening Two Frames (Top/Bottom)??

  #1  
Oct 9th, 2007
Hello List!

First time posting here, and I'm hoping someone can help me with a problem I'm having...

I am working w/ ASP and Javascript...

I need to show one link and open/change the windows when the link is clicked; currently, the bottom frame shows the link ok and when the link is clicked, opens up the drawing on top. BUT, what I want it to do is open up the drawing on top AND go to page '/Locations/test.asp' in the bottom frame.

My code now is:

  1. Response.Write "<td><a href=""../Drawings/DrawGetByLocID.asp?LocID=" & aInfo(0,i) & "&DrawTypeID=-99"" target=""TopWorkSpace"">" & aInfo(8,i) & "</a></td>"

Is NOT changing the bottom frame to '/Locations.test.asp', only top frame is working. How can I get this to change BOTH frames when I click this link in the table cell in the bottom as is?

I think I can accomplish this using javascript, but just not sure how...

Thanks in advance for your time and help!
-jiggyg
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2006
Location: in a dream
Posts: 127
Reputation: nschessnerd is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 6
nschessnerd's Avatar
nschessnerd nschessnerd is offline Offline
Junior Poster

Re: Opening Two Frames (Top/Bottom)??

  #2  
Oct 9th, 2007
use something like parent.framea.location=x; parent.frameb.location=y;
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 4:38 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC