473,394 Members | 1,765 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,394 software developers and data experts.

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 "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:

parent.main.document.location.href="ProductListing .aspx?MenuID=" + 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.frameElement.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*******@nospam.com
Nov 18 '05 #1
2 1497
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*******@nospam.com
"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:3M**************@cpmsftngxa10.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.location.href"
or "window.parent.framename.document.location.hre f"
to set a frame's url from another frame.

As for this problem, I think the "window.parent.framename.location.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(checking 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
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...
2
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...
4
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...
3
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...
3
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...
0
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...
1
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...
42
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...
7
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...
4
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
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...

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.