|
Posted by Onideus Mad Hatter on 07/20/05 10:51
On Tue, 19 Jul 2005 00:25:46 +0100, Mimic <dev@null.net> wrote:
>Onideus Mad Hatter wrote:
>
>> On 15 Jul 2005 21:35:46 +0200, ThePsyko <ThePsyko@itookmyprozac.com>
>> wrote:
>>
>>
>>>On 15 Jul 2005 in alt.2600, Onideus Mad Hatter
>>><usenet@backwater-productions.net> made their contribution to mankind by
>>>stating in news:po3gd110illjvlljlohbile5o6f5hc5prk@4ax.com:
>>>
>>>
>>>>On Fri, 15 Jul 2005 12:53:48 GMT, Michael Winter
>>>><m.winter@blueyonder.co.uk> wrote:
>>>>
>>>>
>>>>>On 14/07/2005 23:41, ^reaper^ wrote:
>>>>>
>>>>>[snip]
>>>>>
>>>>>
>>>>>>Thanks for the input, Michael.
>>>>>
>>>>>You're welcome, though Mike will do. :)
>>>>>
>>>>>
>>>>>>Wrt to the other (globals, arrays, and bears, oh my!), making the
>>>>>>changes you suggested makes little sense in context of requiring
>>>>>>more complex serverside processing.
>>>>>
>>>>>Moving to an Object instance is about as complicated as changing:
>>>>>
>>>>> ... = new Array(); or = [];
>>>>>
>>>>>to:
>>>>>
>>>>> ... = new Object(); or = {};
>>>>>
>>>>>I'd double check, but I can't seem to access anything at the moment,
>>>>>so I'd take that with a pince of salt for now if I were you.
>>>>>
>>>>>Creating a proper Map object would be more involved, yes, but a more
>>>>>robust solution.
>>>>>
>>>>>
>>>>>>Furhtermore, I'm not seeing where replacing the canvas overlay divs
>>>>>>with a table buys me anything.
>>>>>
>>>>>I like structure. Don't know about you. Using a table would also allow
>>>>>you to remove the id attributes as you could use the cells and rows
>>>>>collections to access the elements like an array. If the 'addresses'
>>>>>are computed server-side, rather than a long list of literal y0x0,
>>>>>y0x1, etc., this approach would be similar and the calculation could
>>>>>be performed on the client.
>>>>>
>>>>>
>>>>>>Whereas for teh table, I would need to set row height and column
>>>>>>width for each cell (which is, of course also easily computed)
>>>>>
>>>>>Despite the comment in brackets, you seem to be painting that as more
>>>>>complicated than it is. As I recall, the symbol table is evenly
>>>>>spaced, so the columns would be of equal width, and you know exactly
>>>>>how high each row needs to be. As I see it, you don't need to do any
>>>>>calculations at all.
>>>>>
>>>>>
>>>>>>In fact, I did just such a thing for the menu (e.g., using a table
>>>>>>for teh overlay). As you can see, when viewing teh page in firefox,
>>>>>>the table ends up scrunched to the left (even with explicitly stated
>>>>>>table & column widths).
>>>>>
>>>>>The problem, as I said in my previous post, is that the positioned
>>>>>container DIV element doesn't have an explicit width. Without being
>>>>>able to see the markup again I can't say exactly why that's so.
>>>>
>>>>...um, that's why God invented style sheets. DIV in and of itself
>>>>doesn't really do anything without style sheets. Really, there is no
>>>>sane reason why ANYONE should be using tables anymore, that's just
>>>>archaic, sloppy, imprecise web design at its best.
>>>>
>>>
>>>Sure there is a reason.. I use tables on my site because I don't really
>>>care to take the time to learn something more when they work just fine
>>>for me. I'm not a web designer (obviously lol), and would rather take
>>>the time that would be spent learning CSS and use it to learn something
>>>I'm more interested in (such as PHP/mySQL or just about anything really
>>>:)
>>
>>
>> D00d, it only takes like 5 minutes to learn...and besides, you can't
>> really do anything "cool" in PHP or any other scripting language for
>> that matter until you comprehend style sheets. Like all the little
>> pretties you see on my sites, most of them work simply be using a
>> scripting language to alter style sheet properties on the various
>> division layers that make up the site. You might think of your
>> website as like a puppet, in which case PHP, JavaScript, etc would be
>> the wooden controlling rods at the top...but style sheets are
>> definitely the strings. Without the strings...yer site ain't goin no
>> where.
>>
>> --
>>
>> Onideus Mad Hatter
>> mhm ¹ x ¹
>> http://www.backwater-productions.net
>
>Personally Id say PHP and sql are the strings
>CSS is the clothes :P
Which begs the question...are they naked under those clothes?
--
Onideus Mad Hatter
mhm ¹ x ¹
http://www.backwater-productions.net
[Back to original message]
|