frames problem with NS7.1 - javascript menu not working.

  • sbecker2
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 08, 2004
  • Posts: 6
  • Status: Offline

Post March 8th, 2004, 1:33 pm

Hi: I am experiencing difficulty with NS 7.1 related (I think) to the use of frames. My default.htm loads the frames like so:
Code: [ Select ]
frameset framespacing="0" border="0" frameborder="0" rows="109,*">
<frame name="banner" scrolling="no" noresize target="main" src="heading.html" marginwidth="0" marginheight="0">
<frameset cols="170,620,*">
<frame name="contents" target="main" src="left-menu.html" marginwidth="5" marginheight="0" scrolling="auto">
<frame name="main" src="main.html" marginwidth="15" marginheight="15" scrolling="auto" noresize target="main">
<frame name="contents2" src="blank.html" scrolling="no" target="_self">
<\frameset>
  1. frameset framespacing="0" border="0" frameborder="0" rows="109,*">
  2. <frame name="banner" scrolling="no" noresize target="main" src="heading.html" marginwidth="0" marginheight="0">
  3. <frameset cols="170,620,*">
  4. <frame name="contents" target="main" src="left-menu.html" marginwidth="5" marginheight="0" scrolling="auto">
  5. <frame name="main" src="main.html" marginwidth="15" marginheight="15" scrolling="auto" noresize target="main">
  6. <frame name="contents2" src="blank.html" scrolling="no" target="_self">
  7. <\frameset>

The code works fine in IE6, but in NS only "main.html" and "heading .html" load.

"lleftmenu.html" doesn't load at all!

I am probably doing something very stupid. I would appreciate it if
someone could point it out to me.

The site URL is

http://www.projectfamily.isbr.iastate.edu/

Thanks for any help you can offer!
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 8th, 2004, 1:33 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post March 8th, 2004, 2:18 pm

You have frameset specified twice:
Code: [ Select ]
frameset framespacing="0" border="0" frameborder="0" rows="109,*">
<frame name="banner" scrolling="no" noresize target="main" src="heading.html" marginwidth="0" marginheight="0">
<frameset cols="170,620,*">
  1. frameset framespacing="0" border="0" frameborder="0" rows="109,*">
  2. <frame name="banner" scrolling="no" noresize target="main" src="heading.html" marginwidth="0" marginheight="0">
  3. <frameset cols="170,620,*">


but only closed once at the end. This will screw up Netscape.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Joined: Dec 29, 2003
  • Posts: 5169
  • Loc: SC-USA
  • Status: Offline

Post March 8th, 2004, 2:25 pm

The page is loading in that frame, it's just not displaying correctly.

I haven't investigated too much yet, but I would guess now that there is a problem with the javascript/css for the expanding menu in "left-menu.html"
- dM
  • sbecker2
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 08, 2004
  • Posts: 6
  • Status: Offline

Post March 8th, 2004, 2:44 pm

Yes, thanks for the insight. It does appear to be loading, otherwise that frame would be blank, right? But for some reason, a "view source" returns the code for "default.htm" in NS, whereas in IE6 it gives the code for left-menu.html," which would suggest it wasn't loading. Strange?

I'll keep poking at it.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post March 8th, 2004, 2:48 pm

In NS you have to right click in the frame you want to look at and click view frame source (not view source).

Also if you copied and pasted your code in the original post above your closing frameset tag has a backslash instead of a forward slash.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Joined: Dec 29, 2003
  • Posts: 5169
  • Loc: SC-USA
  • Status: Offline

Post March 8th, 2004, 2:48 pm

in NS, when you right click in that frame goto "this frame", in the context menu, then "frame source".

;)
- dM
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Joined: Dec 29, 2003
  • Posts: 5169
  • Loc: SC-USA
  • Status: Offline

Post March 8th, 2004, 2:49 pm

ATNO/TW: jinx! :lol:
- dM
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post March 8th, 2004, 2:52 pm

*lol jinx ( I should say!!!)
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • sbecker2
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 08, 2004
  • Posts: 6
  • Status: Offline

Post March 8th, 2004, 2:55 pm

:oops:

'splains that
  • sbecker2
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 08, 2004
  • Posts: 6
  • Status: Offline

Post March 9th, 2004, 1:17 pm

Hi:

I still can't get the menu to display in NS. I used the validate function in Dreamweaver, and addressed all its complaints re "left-menu.html," but still no menu.

I would appreciate any suggestons.

http://www.projectfamily.isbr.iastate.edu/
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post March 9th, 2004, 1:32 pm

In the menu frame, I think your .menu class for style is what is causing your problem. Here's the style sheet for the .menu class:

Code: [ Select ]
<style>
.menu {
    position:absolute;
    visibility:hidden
}
</style>
  1. <style>
  2. .menu {
  3.     position:absolute;
  4.     visibility:hidden
  5. }
  6. </style>


Looks to me like you told NS to hide the entire menu, and that's what it appears to be doing. In which case, IE is overlooking it, contrary to what it should be doing. Theoretically, it shouldn't display in IE, either.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • sbecker2
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 08, 2004
  • Posts: 6
  • Status: Offline

Post March 9th, 2004, 1:58 pm

Yeah, I know what you mean. But when I change the "visibility" attribute to "visible" I get several copies of the menu, and the rollovers (ok, clickons, for the time being) are all displayed. So I figured that the "visibility" attribute was used to hide the second gif in the rollover.

To be honest, my predecessor wrote this stuff using Frontpage, and now I am trying to de-Bill it. I am in over my head.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post March 9th, 2004, 2:10 pm

Well, in that case, the only thing left is the Javascript itself. If he wrote it in frontpage I can almost guarantee you it does NOT take into account the Netscape specific code. I'm going move this to programming and change the subject slightly to see if you can get some help with the javascript. I'm sure that's where the problem is.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • sbecker2
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 08, 2004
  • Posts: 6
  • Status: Offline

Post March 17th, 2004, 11:10 am

Thanks for trying!

I think I'll just rewrite the dang thing using code I understand.

:?

Have a good one.


SB

Post Information

  • Total Posts in this topic: 14 posts
  • Users browsing this forum: No registered users and 188 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.