Why not?
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?
Ok, thank you. (I wasn't planning on using it anyways. )
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.
I just copied it for my future references, thanks for the script.
I was responding to jscheuer, but thats interesting... probably a bunch of stupid arguments between the browsers.
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.
@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.
var size = new Array("XSmall", "Small", "Medium", "Lage", "XLarge", "XXLarge");
This seems to work on any browser except Chrome.
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.
I appreciate your opinion. furnace filters | furnace filter
Looks good Nile, divs > tables (For layout anyway).
Again, I was making it for people, and why keep the idea suppressed?
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.
can anybody give me a asp.net login script (user id, password,create user) manage in SQL .
Well, he was using divs before. So decided to use divs.
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.
Thanks. Very nice. === Arie
Sure: http://unlinkthis.net/examples/table-div.html I've tested it in IE, Opera, Chrome, Safari, and FF.
Doesn't work with me. Can you give me a concrete example? === Arie.