![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Please check out my javascript library |
#3
| |||
| |||
|
|
Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in javascript object and that's all. No need to know CSS hacks, no need to clutter your html with tables. http://www.bravelayout.scarabeo.biz/Quickstart |
#4
| |||
| |||
|
|
On Sun, 30 Dec 2007 13:42:06 +0100, brave1979 <brave1... (AT) o2 (DOT) pl> wrote: Please check out my javascript library Using javascript for layout.... terrible idea. And hardly crossbrowser. Really? How do you call a thing that works in IE, Firefox, Opera, |
#5
| |||
| |||
|
|
brave1979 wrote: Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in javascript object and that's all. No need to know CSS hacks, no need to clutter your html with tables. http://www.bravelayout.scarabeo.biz/Quickstart You are using tables, you're just using Javascript to create them: |
#6
| |||
| |||
|
|
On Dec 30, 7:02 pm, Harlan Messinger hmessinger.removet... (AT) comcast (DOT) net> wrote: brave1979 wrote: Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in javascript object and that's all. No need to know CSS hacks, no need to clutter your html with tables. http://www.bravelayout.scarabeo.biz/Quickstart You are using tables, you're just using Javascript to create them: I'm not using tables in my html, isn't that enough? |
|
I keep my html clean |
|
and I can order content any way I want. It's human friendly and robot friendly. |
#7
| |||
| |||
|
|
On Dec 30, 5:49 pm, "Rik Wasmus" <luiheidsgoe... (AT) hotmail (DOT) com> wrote: On Sun, 30 Dec 2007 13:42:06 +0100, brave1979 <brave1... (AT) o2 (DOT) pl> wrote: Please check out my javascript library Using javascript for layout.... terrible idea. And hardly crossbrowser. Really? How do you call a thing that works in IE, Firefox, Opera, Safari and Konqueror then ? |
|
More important is that with my lib you can achieve being crossbrowser almost effortless and your html files and even css files stay clean hack-free, table-free. |
#8
| ||||||||||||
| ||||||||||||
|
|
Using javascript for layout.... terrible idea. And hardly crossbrowser. Really? How do you call a thing that works in IE, Firefox, Opera, Safari and Konqueror then ? Disable JavaScript, like ~10% of your visitors, and look at your page again. Not everyone has it enabled, or available - stripped by a corporate firewall, for example - so your method has similar results to turning off your web server for a month every year. |
|
I would have expected you to have at least a link to a demonstration page at the link you mentioned. |
|
You say, "You just need to write something like this!" but it is a *lot* easier just to write regular old HTML than your script, with its errors. A *lot* easier. This is very simple example. True strength of my approach is ability |
|
You also say, "HTML is horrible. It's not suitable for anything more visually complicated than a short school essay. " You must be new to this game. HTML and CSS can do much more than you seem to realize. Actually I'm pretty old to this game and tired from countless |
|
And I'll bet the total weight in bytes of a plain HTML/CSS page is quite a bit less than your convoluted approach. It's not weight in bytes that matters. It's weight in hours of |
|
More important is that with my lib you can achieve being crossbrowser almost effortless and your html files and even css files stay clean hack-free, table-free. My HTML and CSS files are already "hack-free". You will have to explain in some detail why you think differently. Then you are lucky guy, browsing internet tells me not everybody is as |
|
Your other post: I'm not using tables in my html, isn't that enough? No. It is still using "tables for layout", a process we keep stressing should be avoided. Could you remind me real quick why this should be avoided? Semantic |
|
I keep my html clean and I can order content any way I want. It's human friendly and robot friendly. Your sample code is using a Transitional doctype. What are you transitioning from? That's for legacy pages; use Strict instead. Maybe you can put browser in quirks mode with strict doctype |
|
You assign font size in pixels; that too has gone the way of the dodo bird. Use percentages instead. See:http://k75s.home.att.net/fontsize.html This has nothing to do with my lib so you can specify fonts any way |
|
Clean code? <lol> See: http://validator.w3.org/check?verbos...2Fwww.bravelay... This page is not Valid XHTML 1.0 Transitional! Result: Failed validation, 119 Errors Why do you try to validate it as XHTML if it's indicated as HTML |
|
Human friendly, perhaps, to the other 90%. Robots (search engines?) don't read and execute JavaScript. And that's good because visual layout of a page is none of their |
|
You need to rethink what you are doing. I am constantly rethinking almost everything I am doing. |
#9
| |||
| |||
|
|
brave1979 wrote: On Dec 30, 7:02 pm, Harlan Messinger hmessinger.removet... (AT) comcast (DOT) net> wrote: brave1979 wrote: Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in javascript object and that's all. No need to know CSS hacks, no need to clutter your html with tables. http://www.bravelayout.scarabeo.biz/Quickstart You are using tables, you're just using Javascript to create them: I'm not using tables in my html, isn't that enough? Enough for what? Evidently you're misunderstanding the intent of the guidance to avoid using tables for layout. I thought tables were avoided for some real benefits like semantic |
|
I keep my html clean By switching to Javascript to lay out your page, which is worse? How is it worse? |
|
and I can order content any way I want. It's human friendly and robot friendly. Not if the human isn't using Javascript. Just as most of web 2.0 and all that nice ajax ;-) |
#10
| |||
| |||
|
|
On Sun, 30 Dec 2007 23:46:20 +0100, brave1979 <brave1... (AT) o2 (DOT) pl> wrote: On Dec 30, 5:49 pm, "Rik Wasmus" <luiheidsgoe... (AT) hotmail (DOT) com> wrote: On Sun, 30 Dec 2007 13:42:06 +0100, brave1979 <brave1... (AT) o2 (DOT) pl> wrote: Please check out my javascript library Using javascript for layout.... terrible idea. And hardly crossbrowser. Really? How do you call a thing that works in IE, Firefox, Opera, Safari and Konqueror then ? A thing that works in certain browsers under certain conditions provided they have certain settings? It would not work in my Opera, as I myself have javascript disabled for most sites, save a few exceptions. A thing that works in all major modern browser with default settings. |
|
More important is that with my lib you can achieve being crossbrowser almost effortless and your html files and even css files stay clean hack-free, table-free. I have no real trouble getting nice layouts in all browsers without any hacks in CSS or javascript (oh yes, I do use it to provide extended usability/features for those who have it enabled, those who have it disabled don't miss anything). No, they are not pixel for pixel alike, then again, I don't design them to need that. You design them. That's the reason why they are easy for you to code. |
|
Really knowing CSS & HTML, and the way to publish on the www is quite enough. Internet is living proof for that but assembler is also quite enough |
![]() |
| Thread Tools | |
| Display Modes | |
| |