Jump to content

Wylbur

Members
  • Content Count

    25
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Wylbur

  • Rank
    Newbie
  1. Wylbur

    Angular2?

    Hi, I suppose that you know that Angular version 2 is out? Is a new section being created for it? If so, when would it be ready to go online? Have you looked at "Aurelia"? http://aurelia.io/ Are there any plans to add a section for that? Inquiring minds want to know.
  2. Hi Dsones OK - now I see. From what I can determine, it looks as if height and min-height will override each other, using whichever is the largest. In furtherance of my experiment, I switched to span, with display : block. It doesn't look like there is any difference from div. Please correct me if I am wrong. I've also switched to 'em' for size specifications. From all of this, I don't see the point of the example that I referenced within my original post, and what it is intended to demonstrate: http://www.w3schools..._dim_max-height This is the state of my
  3. Hi Dsones, THANKS for the response! I took out the inner div. The outer (only) div still does not resize vertically when I shorten the window/browser. The only thing that will increase the height of the div is to increase the value of min-height, as changing max-height doesn't seem to have any effect. Am I correct in stating that max-height doesn't do anything to div? What effect (purpose) does max-height have?
  4. Hi D Sones Thanks for the response. I've been experimenting with this, and I cannot get the height to behave in the same way as the width when I reduce the size of the window/browser. (The modified code is inserted below. I now have two "div" tags, with one nested inside the other.) To be more explicit: When I reduce the width of the window/browser, the boxes for the "div" tags narrow as well, to the point that the min-width is reached (which is expected). When I reduce the height of the window/browser, the height of the boxes do not change at all. How would I get the same
  5. Hi All; The height element does not seem to be working as expected for the following example: http://www.w3schools.com/css/tryit.asp?filename=trycss_dim_max-height When I resize the window/browser, the div element does not change in height. I made a few changes to the code, adding a "border" to show the box better: <!DOCTYPE html> <html> <head> <style> div { max-height: 600px; min-height: 200px; background-color: powderblue; border : solid; } </style> </head> <body> <h2>Set the max-height and min-height of an
  6. Wylbur

    Back Button Blues

    Basically, if I could determine when the back and forward buttons were clicked (with Javascript) I'd probably have what I need to resolve my issue. It would be nice if there were "onbackbutton" and "onforwardbutton" event handlers, but I've yet to find anything that would fill those roles. I'm hoping that someone might give me a clue on something that I've overlooked. I see that there's a "window.onpopstate" event, but it doesn't seem to be doing anything for me as of yet. I'm going to keep playing with it.
  7. Wylbur

    Back Button Blues

    A button click event handler. (This is generated by a server-side button control.)
  8. Wylbur

    Back Button Blues

    Hi Dave; I've seen those. The first one applies to server-side functionality. The problem is that, when the back button is pressed, it does not trigger a postback event, so whatever server-side code there is won't be executed. The second one looked good at first, but it only applies to AJAX/Updatepanel/asynchronous postbacks. It threw an exception when I tried it on a just plain synchronous postback. THANKS for the response!
  9. Wylbur

    Back Button Blues

    Hi;I'm developing a web app in ASP.NET that loads controlsdynamically on a page (depending upon user responses).Handling the back button has been giving me fits.Apparently, there is no handler for that.(If I'm wrong about that, then PLEASE correct me.)What I want to do is to trigger a postback on the back button.(This must be done. There are no alternatives.)I'm trying to detect the "back button state" to accomplish this.The first thing I tried was to keep a running count ofrequest/response cycles and comparing it to window.history.length.If the two are different, then it might be assumed that
×
×
  • Create New...