Advanced Search

Blog Comments

  1. Nile's Avatar
    Why not?
  2. jscheuer1's Avatar
    Quote Originally Posted by Nile
    Ok, thank you. (I wasn't planning on using it anyways. )
    Oh really now?

    In that case, why did you blog such drivel in the first place?
    Updated 11-09-2009 at 02:25 AM by jscheuer1 (add specificity)
  3. Nile's Avatar
    Ok, thank you. (I wasn't planning on using it anyways. )
  4. jscheuer1's Avatar
    The zoom style property is supported in IE (not real well where positioned, padded, or floated elements are involved), Safari, and Chrome. However, not in Opera or Firefox. By extension, I would assume (though untested) that would mean not Flock, Netsacape, nor any other Mozilla based browser, probably others.

    These sort of scripts (document resizing) shouldn't be used though, the browser itself performs this function. Also, when so many browsers do not support a script, this is another reason not to use it.

    Further, zoom is invalid style according to the W3C css validator.
    Updated 11-09-2009 at 04:23 PM by jscheuer1 (accuracy)
  5. muqtada123's Avatar
    I just copied it for my future references, thanks for the script.
  6. Nile's Avatar
    I was responding to jscheuer, but thats interesting... probably a bunch of stupid arguments between the browsers.
  7. molendijk's Avatar
    Nile, I didn't mean to say that your script works on any browser except Chrome, but that the script on the page produced by the LINK in my post ('This') works everywhere except on Chrome.

    Your script (almost) gives the opposite result: it works in IE and Chrome, but fails on any other browser.

    Arie.
  8. Nile's Avatar
    @jscheuer: The only code that isn't being used is:
    Code:
    var size = new Array("XSmall", "Small", "Medium", "Lage", "XLarge", "XXLarge");
    I made this array myself, and did not take it from anywhere. I was going to use it, but then realized that it wasn't reasonable, and then forgot to remove it. It seems to work in Google Chrome too, but I haven't checked Firefox yet.
  9. molendijk's Avatar
    This seems to work on any browser except Chrome.
    Updated 11-01-2009 at 08:11 PM by molendijk (Correction)
  10. jscheuer1's Avatar
    A zoom and/or text resizing option is included in virtually every browser. So there is no need to code one. In fact, doing so discourages users from learning the rudiments of their browser(s). Not all browsers will activate (in fact many will not) anything on invocation of the zoom style property. And in IE, this style property often has undesirable results.

    The code itself (as of this writing) is sloppy, introducing both meaningless and utilized variables in the global scope where neither are required. This in itself could mess up your page.

    In short - I would highly recommend against doing this.
    Updated 11-09-2009 at 04:20 PM by jscheuer1 (accuracy)
  11. frncfltrs's Avatar
    I appreciate your opinion.

    furnace filters | furnace filter
  12. Schmoopy's Avatar
    Looks good Nile, divs > tables (For layout anyway).
  13. Nile's Avatar
    Again, I was making it for people, and why keep the idea suppressed?
  14. Medyman's Avatar
    If you're going to do this, might as well use CSS-tables. The sample code would probably be more semantic as an unordered list.
  15. Sarath's Avatar
    can anybody give me a asp.net login script (user id, password,create user) manage in SQL .
  16. Nile's Avatar
    Well, he was using divs before. So decided to use divs.
  17. jscheuer1's Avatar
    Not that this is necessarily what is happening here, but it is pointless to mimic a table for tabular data. That's what tables are for.
  18. molendijk's Avatar
    Thanks. Very nice.
    ===
    Arie
  19. Nile's Avatar
    Sure: http://unlinkthis.net/examples/table-div.html
    I've tested it in IE, Opera, Chrome, Safari, and FF.
  20. molendijk's Avatar
    Doesn't work with me. Can you give me a concrete example?
    ===
    Arie.
Page 1 of 2 12 LastLast