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

  • sbecker2
  • Newbie
  • Newbie
  • sbecker2
  • Posts: 6

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

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.
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

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"
  • sbecker2
  • Newbie
  • Newbie
  • sbecker2
  • Posts: 6

Post 3+ Months Ago

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
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

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.
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

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

;)
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

ATNO/TW: jinx! :lol:
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

*lol jinx ( I should say!!!)
  • sbecker2
  • Newbie
  • Newbie
  • sbecker2
  • Posts: 6

Post 3+ Months Ago

:oops:

'splains that
  • sbecker2
  • Newbie
  • Newbie
  • sbecker2
  • Posts: 6

Post 3+ Months Ago

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
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

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.
  • sbecker2
  • Newbie
  • Newbie
  • sbecker2
  • Posts: 6

Post 3+ Months Ago

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
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

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.
  • sbecker2
  • Newbie
  • Newbie
  • sbecker2
  • Posts: 6

Post 3+ Months Ago

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 162 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.