M
moondaddy
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.
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.