• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

page == ugly

 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I've developed an application where most of the pages include a navbar at the top of the page.
This is all fine, until the body of the page includes worksheets, some of which extend past the 100% mark of the top navbar. In those scenarios, scrolling the body of the page to look at the rest of the worksheet, reveals whitespace at the end of the navbar... *yech*.
How should I handle this? Is it customary to just drop the navbar into a frame? Another option is to set the width of the overlying table to a pixel width rather than a number, but this seems to be an ill solution (a constant offers no flexibility for even larger pages... smaller pages will have a stupid scrollbar at the bottom).
Is there a way to resolve this? Perhaps using javascript to ask the table to stretch/redraw?
TIA
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i would probly use frames for this. it would allow the worksheets to be any width. when done right frames can be almost unoticeable.
of course there might be other options. im interested to see what others have to say.
[ October 09, 2002: Message edited by: Randall Twede ]
 
Matt Horton
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your time Randall...
I should pose some additional questions for you or others (hopefully others chime in )...
I find the width attribute to be designed in a peculiar manner... why would the browser not evaluate 100% to be the maximum extent of the page IF something truly extends past the screensize (which it could otherwise default to). Am I just missing something incredibly obvious (probably... but humor me).
Also, I have seen some seamless frames that were done in an attractive way (overriding my intuition that they're otherwise perverse). However, at some point I'd like to implement some pulldowns, ala www.sap.com or www.lucent.com, etc. To maximize screen estate, I envision that my pulldowns would have to drop into the other frame... is that at all possible?
Thanks again-
 
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by matt horton:
To maximize screen estate, I envision that my pulldowns would have to drop into the other frame... is that at all possible?


I have a setup right now that does that, sort of. My navigation and universal functions are in a main page and the content is in an iframe. The navigation menu seems to have no difficulty positioning itself on top of the iframe. But the whole solution is IE-only. However, I suspect your browser compatability issues, if you have them, will come from the drop-down navigation itself, not frames, iframes, or includes.
Good luck,
g.
 
Matt Horton
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Garann, I should mention that I like the idea of 'one browser only' solutions... .
I'll try out the frame solution after I get an idea how to make nifty pulldowns (I've perused the code off of various websites... but it has to be easier than THAT... and I'm not quite sure of all of the legal ramifications/obligations for implementing the logic).
 
Garann Means
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by matt horton:
I should mention that I like the idea of 'one browser only' solutions


In that case, I will offer my code. I don't know if it's what you're looking for, but it's been working pretty good on my intranet.

I've cleaned it up a little bit, but in doing so I may have introduced errors. But with some find and replace (i.e., onmouse_over and onmouse_out), it should work. This was the leanest solution I could come up with though, as I said, I doubt it's very portable. The main difference between this and other methods I've seen is that it uses a lot of CSS positioning, rather than asking JavaScript to draw menus at specific coordinates.
Anyway, maybe you'll find it useful.
g.
[ October 11, 2002: Message edited by: Garann Rose Means ]
 
Matt Horton
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Garann, but I believe I misspoke. As much as I like the idea of a one-browser solution, I won't be able to implement one.
 
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic