PDA

View Full Version : Display Conflict or Something


SomeDude3
02-12-2003, 10:03 PM
I Have A Demo Cascade Menu Located Here:
www.accesswave.net/~ia/menu/example.htm

This Works Fine In Both "Internet Explorer 6" And "Netscape 7.01."

However, When I Try To Connect To The Same Page From This Address:
www.cruzer.org/menu/example.htm (which actually points to the above address)

The Cascade Menu Will Display Itself In "Internet Explorer"
But Doesn't In "Netscape 7.01"

Any Ideas As To How I Can Get It Work In Both Browsers? :confused:

A1ien51
02-13-2003, 12:27 AM
did you look at the src's of the links??
Is there a reason for it??



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<HTML>
<HEAD>
<TITLE>cRuZeR.oRg - HTTP 403 (Forbidden)</TITLE>
<META name="keywords" content="cRuZeR.oRg - HTTP 403 (Forbidden)">

<META name="description" content="cRuZeR.oRg - HTTP 403 (Forbidden)">

</HEAD>
<frameset rows="100%,*" frameborder="0" framespacing="0" border="0">
<frame name="NameSecure" src="http://members.accesswave.ca/~ia//menu/example.htm" marginwidth="0"
marginheight="0" frameborder="0" noresize>
<noframes>
<a href="http://members.accesswave.ca/~ia//menu/example.htm">cruzer.org;http://members.accesswave.ca/~ia/;/menu/example.htm</a>
</noframes>
</frameset>
</HTML>

SomeDude3
02-13-2003, 01:14 AM
I'm Not Sure I Understand Your Question.

That's My Domain Name URL, www.cruzer.org/menu/example.htm
I Have The URL Domain Gripper Turn On, Which Holds The Web Page In A Frame While It Points To The Actual URL At:

http://members.accesswave.ca/~ia/menu/example.htm
:confused:

A1ien51
02-13-2003, 05:10 AM
the parts that are in bold and red are wrong I believe that is what I was trying to point out.

There are double slashes ( // ) and the one has a (/;/)

that would throw netscape off I believe

SomeDude3
02-13-2003, 11:07 AM
I Did Have A Front Slash "/ " Added To The End Of The URL And Have Since Removed It, But As For The " ; " That's Something The Domain Name Server Adds And I Have No Control Over That.

Even With My Changes, It Still Won't Function In "Netscape 7".
Man That's One Fussy Browser, "Explorer 6" Is Alot More Forgiving. Any other Suggestions?

brothercake
02-13-2003, 12:09 PM
This is the error you get when looking at it through the frameset

Error: [Exception... "'Permission denied to get property Window.http://www.accesswave.net/~ia/example.htm' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]


It happens because the script in your document (the page) is trying to initialise itself using properties in another document (the frameset), but the second document is in a difference domain; what you're seeing is a security warning, which is the correct response - it shouldn't work in any browser, but it does in IE because IE is riddled with security "bugs"

If you look at it in Opera 7 you'll see the same behaviour as Netscape 7 - the menu doesn't show up.

I think your options are

1 - lose the frameset, or
2 - use a different menu, which doesn't need to initialise anything outside its own document scope [such as mine (http://www.brothercake.com/dropdown/)]

SomeDude3
02-13-2003, 01:09 PM
Yeah, I Want To Keep The Frameset Because It Keeps My Domain Name In The Address Bar. I'll Try Using Your Menu.
Thanks For The Advice.

Cheers!