This forum is in permanent archive mode. Our new active community can be found here.

Web development is art!

edited July 2010 in Art!
No manifesto here. I am redesigning my website from scratch in order to make my future life easier. I am going to use xml as a means of laying out the site map. I am also trying to find a way of making a really dynamic menu, one that slides open horizontally to reveal each sub category and item.
I'm still working on that.

Anywhoo, I did manage to make this: http://matthewseremet.com/index2.php.

Points of interest:
  • The color scheme (or lack thereof)
  • Expanding menu
  • Live inclusion of content

Comments

  • Note to self: http://www.dhtmlgoodies.com/index.html?page=menuScripts


    I forgot to ask. Anyone have experience with javascript, client-side inclusion of web pages?
  • edited July 2010
    Eep. Put your CSS in a separate file!

    I'm a big fan of CMS, especially TextPattern. They make things a lot easier. Also, for colour scheming, sites like this are a big help.

    For reference (not just shameless promotion), my site.
    Post edited by YoshoKatana on
  • CSS is in that file to make editing a single file. This is a development page.
  • ......
    edited July 2010
    Web development is art!
    And not 'programming' or 'coding' unless you consider dotting your 'i's while you write 'programming'.

    If you're going to use XML, also use XHTML instead of the ancient HTML 4.01 Transitional. Go and transition that step up, k?

    Your colour scheme is shit. Text is unreadable. If you have to hover over a menu item to see what the fuck it says, you're doing it wrong. A hover effect should only confirm to the user what they're selecting NOT tell them what is written on the thing.

    Your stylesheet is a big wall of text in your HTML cluttering both. Put the CSS in its own file, this will also allow for caching of the stylesheet, resulting in less bandwidth used. Side-note: Your comments start and end sporadically. Better to insert newline for both. That way you'll spot them faster. Get into that habit so that you won't have to search for comments after you chose to hit the hay for the night before.
    EDIT:
    CSS is in that file to make editing a single file. This is a development page.
    You're being fucking retarded. Having two files open will not kill you, and in a proper editor that'll still be a single window. ENDEDIT

    The same goes for your style blocks, put closing parenthesis on a new line and start the first declaration on a new line, always, even if you only have a single declaration for that selector at the moment. It's maybe a dozen characters more in your filesize, but will read much easier.

    You have defined 'Helvetica' and the generic sans-serif font-family for your body text. The majority of people that will ever visit your site will NOT have Helvetica installed, let alone would they notice it not being Arial. Don't be a tool by just stupidly nodding to whatever typography whores say. Helvetica may be the greatest typeface EVER in the opinion of some people, but that means shit to you and everybody you know. Stick at least one very common typeface in that list. I'd suggest Arial since you want to use Helvetica for the few who have it installed. Note: The generic typeface can be NOT AT ALL what you expect. Example, my Firefox uses the same typeface for generic sans-serif and serif (I've never touched it, ironically the typeface is just called 'sans-serif', Dumbuntu, you so silly) so if you were to define the generic serif font for an element, I wouldn't see your genius design choice (note: mixing serif with sans-serif if most often RETARDED).

    Your classes are SHIT. e? ee? el? ew? eer? abc? abd? Fix that shit, nobody will kill you for using longer, more descriptive names for classes and IDs. Instead you'll kill yourself when you return to it at a later date. Also, a style definition for a quadruply nested unordered list with an element of the class 'e' in it? What are you smoking? You won't get that deep without losing your sanity and that of your visitors. Triple-nested unordered list menus on websits are already shit most of the time. It looks worse than installing too much shit in Windows and having submenus spit out semi-randomly between left and right of the current submenu. Also, changing the location of other root-menu items is REALLY ANNOYING. … yeah, I hate javascript menus like I hate javascript hyperlinks. They're a USELESS WASTE OF TIME, BANDWIDTH AND RESOURCES. You can make nifty enough menus with just CSS anyways.

    Don't define sizes in pixels. Use (fractions of) em or percentages. AND BE CONSISTENT. I'd say stick to one or the other, but sometimes, sometimes one is better suited than the other, but keep using the same unit for the same declaration (e.g. em for height declarations). Percentages are basically ems anyways.

    Define font-size only once in points. For the body element. Or choose to use '100%' to let the visitor's browser's default font-size rule (usually 16 points, sometimes larger for the hard of seeing, not adviced).

    Your 'Google Movies' menu item has two hyperlinks embedded in it, one normal anchor and a fucking javascript one in the surrounding div (of class 'e') resulting in both getting opened when clicked on. The anchor in a new tab, the div in the current tab. Also, it's stupidly wordy for menu items.

    Same goes for som of your other menu items. It feels like they would be better suited as a list on their own page, styled, with image previews and shit allowing for non-maddening expansion later on compared to a ridiculously long sub-menu.

    Tidbits: Put spaces after your colons, newlines after your semi-colons. Consistently indent your declarations and don't spray piss all over the fucking place. Be consistent, clear and non-retarded in your file and folder names (index2.php, Procrastinate.xml, ARTPAGES vs Documentaries, Untitled-3.png vs gradback1.crop1.gif, also spaces and random shit). Either use only hex representation or only named colours, shorten your colours to 3 characters if you're just going to repeat one number 6 times. Don't just declare a generic font-family and nothing more, always defne at least one common typeface (it's the one good thing Microsoft gave webdevelopers, <3 Verdana, Georgia). Make more sweet love to shorthand properties put down default values for unchanged properties, this will have the side-benefit of kicking shitty browsers who think the defaults are different in the balls (just in case, steel-toed, spiked boots).

    That's it for now, good luck. Oh, go invert those colours.
    Post edited by ... on
  • I agree with everything Univers has said.
  • edited August 2010
    Okay thanks for the comments. All has been duly noted and will be further investigated. I updated that link to be totally compliant and not retarded with nested elements. I still have a JavaScript-entangled menu. I like it. I just pulled an all nighter learnin and practicing things. Here is a pretty good implementation of my efforts:

    http://matthewseremet.com/
    Post edited by frostbitten_panda on
  • Bumpin' it cause it's worth a look-see!

    http://matthewseremet.com/
  • I can now look at it without having to wonder what the fuck the menu says. Good. Everything else I commented on... you ignored. Do not waste my time again.
    Hello, Internet Explorer User. Feel free to read up on why you should make the switch to a better browser.
    That site does not tell your visitors why IE sucks, only web developers.
  • You waste your own time.
    You can just say that dude. No need for passive aggressive crap.
  • Everything else I commented on... you ignored.
    What? I ignored a good portion, but everything? Come on.
  • What? I ignored a good portion, but everything? Come on.
    I noted that which you did not ignore, making everything readable. The rest you ignored based on a cursory glance. You even doubled every link there is, both the list item containing the anchor, as the anchor now have a hyperlink to another page. The list item still having a javascript link making it impossible to see where you'll go when you click on it. If I were to allow scripts to run and click on the words in you menu I'd get multiple tabs going to the same fucking place. You can style the anchor tag to stretch out, no need to do that for the list tag surrounding said anchor.

    Don't use Javascript to make an anchor, it's stupid, annoying and causes problems.
  • edited September 2010
    Yeah the double up of the linking I had mistaken for another issue when you first mentioned it. I seriously overlooked it. People like you are the only check I have. Sooo I spent some time working on it and it is much better, even xhtml1.1 strict. The javascript anchor is still in use to capture the button effect, but the links are removed when-so in use. It functions on every browser I've tried, even mobile ones, what could be so bad? EDIT: Besides not sending header information....oops.
    Post edited by frostbitten_panda on
  • ......
    edited September 2010
    The javascript anchor is still in use to capture the button effect
    The button effect? You can just put that style on the anchor tag itself, no probs.
    Post edited by ... on
  • I just think it suffers from Open Source Syndrome AKA its butt ugly because it's designed by and engineer.

    "I'm enjoying this background color." BTW reads like "Click here to see the other color BG I like and hopefully won't singe your corneas"
Sign In or Register to comment.