473,809 Members | 2,951 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

URGETN: Pages not loading for ie 5.0

I'm running an eCommerce site using vb.net 1.1 and frames. From the header
navigation frame I use the following client side JavaScript to navigate
pages in the frame below named 'main' which works good:

case "lblContact Us":
parent.main.doc ument.location. href="ContactUs .aspx"
break;

however from the left frame I have menus that populate the main frame with
the ProductListing. aspx page which takes a parameter like this:

parent.main.doc ument.location. href="ProductLi sting.aspx?Menu ID=" + value;

and when I do this there's an error in the main frame which says something
about JavaScript. I haven't seen this myself, but this is the limited
description I have from a user.

Earlier I was getting complaints from users saying that they couldn't
navigate to any page and at that time all of my navigation used code like
this:

parent.main.fra meElement.src=" ProductListing. aspx?MenuID=" + value;

which works great in ie 6 but does nothing in older versions of ie and
Netscape.

How can I call a page in a different frame and pass in a parameter name and
value for older browsers?

Thanks.
--
mo*******@nospa m.com
Nov 18 '05 #1
2 1512
Thanks Steven,
This information helps. Sorry for the late reply as I'm totally overwhelmed
right now. It turns out that about 20% of the browsers hitting the site are
4x Netscape which means I have to do a major re-write and fast. You
provided some good links below which I'll be using. Although they say
asp.net doesn't care what browser hits the site, that's not total true. For
example, Netscape 4x doesn't recognize style sheets, fonts in pixel sizes,
absolute positioning, and more. And I've kept nearly all of my style
formats in style sheets and classes.Uuuug. Anyway, thanks for the help!

--
mo*******@nospa m.com
"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:3M******** ******@cpmsftng xa10.phx.gbl...
Hi Moondaddy,

From your description, you've encountered some problems with browser
capability on frame based web pages, yes?

Your code indicate that you use javascript such as
"window.parent. framename.locat ion.href"
or "window.parent. framename.docum ent.location.hr ef"
to set a frame's url from another frame.

As for this problem, I think the "window.parent. framename.locat ion.href"
should be ok, also, you can try
"window.parent. frames[index].location.href" , use index to identify the
certain frame. I've made a test on my side via IE5 and it worked well. I've attached my test pages in this message(three pages, one frame html page and two aspx pages).

Also, I've found some references on using the Frameset (the document model in netscape)
#FRAMES OF REFERENCES
http://developer.netscape.com/viewso...an_frames.html

#JavaScript Programmer's Reference - Netscape Navigator 2
http://www.irt.org/xref/nn_2.htm

And here are some other reference on Managing Browser Compatibility in
MSDN:(both ASP or asp.net)

#Chapter 4: Managing Browser Compatibility
http://msdn.microsoft.com/library/en...managingbrowse rcompatibility. asp?frame=true
http://msdn.microsoft.com/library/en...bleframesetexa mple.asp?frame= true

#Detecting Browser Capabilities(ch ecking script engine in browser)
http://msdn.microsoft.com/library/en...ectingBrowserC apabilities.asp ?frame=true
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #2

Thanks for your followup, Moondaddy,

Also, if you meet any new problems or need any assistance, please always
feel free to post here.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2905
by: Bob Mariotti | last post by:
Guru's; I have a site where a new cgi script (perl) collects a LOT of information from a server before formatting it and displaying a dynamic page to the client. The time delay can be from 3 to 20 seconds. I have been trying to display an interim page with an animated gif and a please wait type of message which would be replaced by the actual resulting page.
2
306
by: moondaddy | last post by:
I'm running an eCommerce site using vb.net 1.1 and frames. From the header navigation frame I use the following client side JavaScript to navigate pages in the frame below named 'main' which works good: case "lblContactUs": parent.main.document.location.href="ContactUs.aspx" break; however from the left frame I have menus that populate the main frame with the ProductListing.aspx page which takes a parameter like this:
4
2242
by: KJS | last post by:
Help, I'm not sure what exactly is happening but I can say this, classic asp pages are not loading on my local dev box. They use to work! Since then I have installed .NET 1.1 Studio (that is working, and so is ASPX pages), installed .NET 2.0 Studio (this never worked, it broke everything, ended up reinstalling 1.1 Studio, and now I am back to ASPX pages ver 1.1 serving up nicely). However!!! Now I can not run classic asp pages.
3
1754
by: Aaron | last post by:
I'm working on a program the goes out to a website and pulls down some data using cURL. The page I'm pulling from has a loading screen before the data I want is displayed. The code I have so far is grabing this loading page instead of the fullly loaded page. Is there anything I can do? Below is the code I have so far. $ch= curl_init(); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_POST, 1);...
3
2048
by: Phil | last post by:
Jerry posed some good ideas, a while back, on website a security issue that comes up often. Gary Jones was asking how to keep users from directly accessing php pages, out of sequence. Jerry posed a directory management solution. No one seems to have mentioned an alternative. Maybe there is a reason? We took a different approach, noting that the only way we wanted a user to enter some phps would be through a predefined series of steps...
0
2789
by: vinayakk | last post by:
Hello webies, I have a problem with loading html pages in frameset. I am using location.href to load html pages one by one upon the user request and these pages in turn load flash files. When one html page is replaced by another it takes some time to load but in the mean while a white screen appears and the whole thing appears mess. Can this white screen be avoided by any chance or can the frameset background be set to some background image...
1
2360
by: daonho | last post by:
Hi Everyone, I have encountered this problem that I am not able to figure out. Please drop me some lines if you have any idea how to solve this issue. I have a global.asax file in my web site. It works fine as I wanted when loading aspx file; however, I have some static page in the same directory such as html and htm page. These page also load correctly and the global.asax file does fire when executing my .net development environment....
42
8970
by: Santander | last post by:
how to decode HTML pages encoded like this: http://www.long2consulting.com/seeinaction2008/Simplicity_Beach_table/index.htm Is there script that will do this automatically and generate normal fully readable HTML? Santander
7
11760
by: saurabhsingh | last post by:
Can anyone plz suggest any Idea that How to implement "loading message" in a site with master pages. I am having Default page which is master page enabled and it contains many Gridviews with database connection. This page is taking so much of time to load therefore I want to show loading message for this page only. Thanks in advance..
4
1262
kiseitai2
by: kiseitai2 | last post by:
Hi everyone, I'm sure the above title is highly vague. Hence, I'm going to start by saying that I'm using Visual Web Developer 2008 Express Edition and that I tested my pages in my computer without any problems before uploading to my web site. Also, the pages uploaded where the ones to be used as my custom error pages. However, for some strange reason the page loads but without importing the css styles, which some of the elements...
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10633
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10114
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7651
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3860
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.