Re: Floating Panel/Div's and Doctype



Frames are a hassle. The toolbar needs easy access to and interact with the
elements on the page. I experimenting with all sorts of combinations using
scrollable div regions but could never get the placement quite right so that
TopPanel took up the top n-pixels and BodyPanel took up the entire rest of
the page without spilling past the viewable region and triggering the
browser's own scrollbars. I know this is a classic problem and there are all
sorts of JavaScripts to adjust div positions on window.onresize and
window.scroll. It's a big mess.

I've seen the Coalesys PanelSet control....but I'm not paying hundreds of
dollars for something that I feel should be easily accomplished in ASP.NET
proper (well, the sizable-splitter in PanelSet is cool... maybe that's worth
it.... but I don't need a splitter, I just need dockable-esque panels).

--
-C. Moya
www.cmoya.com
"DWS" <DWS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:19CE4D8B-27C0-49B2-B419-633F951CECC7@xxxxxxxxxxxxxxxx
Classic was a percentage top value.
Use a frame they render so much nicer.


"CMM" wrote:

Has any one gotten a "stay-in-view" floating div to work in ASP.NET 2.0?
For those that don't know, the classic way is this (for IE anyway):
(window.onscroll...)
document.all.Toolbar.style.pixelTop = document.body.scrollTop;
But, this doesn't seem to work in any way with ASP.NET 2.0. The problem
seems to lay in ASP.NET 2.0's default doctype...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

I'd like to keep using this doctype because it helps with rendering
tables
consistently across browsers.... anyone know of a way to get
"onscroll...pixelTop = document.body.scrollTop" to work?




--
-C. Moya
www.cmoya.com





.



Relevant Pages

  • Re: frames and border
    ... the myriad of scrollbars is unfair. ... > site - in which case frames are not appropriate. ... >> frames but am constantly struck by the almost totally absurd ...
    (alt.html)
  • Re: framed
    ... CRM apps are a good example of this. ... possible using frames. ... the browser's built-in scrollbars (which creates a highly confusing ... all the anomolies with scrollable divs and abs placement quirks. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Dont you just hate it when.................
    ... It's a Peco one, and fits even a 9F. ... Peppercorn IIRC on some old frames. ... stoker or oil fired.There were both sorts. ...
    (uk.rec.sheds)
  • scrollbars and frames
    ... to work for scrollbars on frames. ... Public Function WindowProc(ByVal hw As Long, ... Public Sub Unhook() ...
    (microsoft.public.vb.general.discussion)
  • Re: Cant Scroll on a FrameSet Type Website
    ... Check the framset pages for the frames that don't give scrollbars for this: ... But when viewing on my computer, I can view> w/ my browser in a smaller window and the scroll bars should appear. ... > "Steve Easton" wrote in message ...
    (microsoft.public.frontpage.client)

Quantcast