473,408 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Refresh or redirect ??

Hi there,

I did a search an ran into multiple articles, but non of them regarding my problem so I will give it a try to find the answer here :)

I have an site, in ASP. When an user clicks on an link in the menu, this is a category, then a new page opens. This is an frame page. In this page a have an menu again with sub category's. Here's where my problem lies. When a user clicks the subcategory (is an link) then I want to have two pages in the frame page change at the same time. One page I want to display the choosen category, and on the other I want to show the articles from that category. I can change one of them, but both doesn't work.

Does anyone have an idea to solve this puzzle?

Thanks in advance...:)
Sep 4 '07 #1
1 1173
jhardman
3,406 Expert 2GB
Hi Fly,

Welcome to the scripts developer network. The easiest way to do this, in my opinion, is for the link to just change one framed page (this part is easy, and I assume you know how to do that already). This changed page however should use a javascript function to change the other frame like this:
[html]<body onload="javascript: window.open('/detailPage.asp?data=5', 'detailFrame');">[/html] Notice that this is virtually the same code as opening a pop up, and if this frame "detailFrame" doesn't already exist, browsers with pop up blockers will stop this. As long as the frame is already up, you shouldn't have a problem. does this make sense?

Jared
Sep 5 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: John | last post by:
I get the feeling this is a pretty classic problem, but I'm a bit of an uber newber. Apologies! Products page, user enters a quantity and clicks one of my "Add to Cart" buttons, which bubbles up...
8
by: Judy Ward | last post by:
I have an index.aspx with frames. The top frame has a navigation bar with a "Login" hyperlink. If the user has already logged in I want this link to change to "Logout". I am using forms-based...
2
by: Dr. Paul Caesar - CoullByte (UK) Limited | last post by:
Hi, I have created a Logout ASP.NET application using Forms Authentication. When a user logs out they get a confirmation page confirming logout and a button to click to return to the homepage....
1
by: achoo | last post by:
Is it possible to extend a Web service proxy so that it understands an HTTP refresh page? Explanation: * The Web service proxy was autogenerated by Visual Studio .NET 2003 from the Web...
2
by: Ned Balzer | last post by:
Hi, Apologies if this is a newbie question, I haven't found the answer in any faqs. I have an asp.net 2.0 page that sets session variables and then redirects to another page. For the page...
1
by: Richard Clark | last post by:
I have a page with a MultiView control. The page finishes by running a report (via a page redirect). Because there is often a delay with ReportsServer, I want to display a "final" view of "Report...
19
by: Justin | last post by:
Harlow... i need some help on these... im actually trying to do a page using php... the function is to receive certain parameters from a 3rd party provider... and i need to redirect my page to...
1
by: helraizer1 | last post by:
Hey. I am making a site as part of a project/presentation. Others used Powerpoint but I decided to make a website with various pages within it. On one of the pages 'Humanities', there are...
7
by: seanmatthewwalsh | last post by:
Hi I have a page (default.aspx) that pulls it's HTML from a database. I then have a "content management" page (editpage.aspx) that allows the user to edit the HTML in the database. When the...
1
by: shahidrasul | last post by:
i want to download a file which user select from gridview, downloading is completing without problem but after download i want to refresh my page because i do some changes in db . but when...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.