Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About chibineku

  • Rank
    Dedicated Member
  • Birthday 09/30/1983

Previous Fields

  • Languages
    (X)HTML, CSS, JavaScript / jQuery, PHP, MySQL

Contact Methods

  • AIM
  • MSN
  • Website URL
  • ICQ
  • Yahoo

Profile Information

  • Location
    EK, Scotland
  • Interests
    Anime, manga, Asian films (particularly horrors), reading (Palahniuk, Natsuo Kirino, Trudi Canavan, Bill Bryson, Dawkins, Jared Diamond), movies (American Beauty, Battle Royale), photography, jam-making, nazi zombie killing...
  1. Are you using the GET or POST method? GET has much stricter size limitations than POST and I'm not sure if trying to exceed it leads to clipping of the data being sent or if it causes form submission to fail.
  2. Not a good thing or a bad thing, but your code always looks incredibly complicated...
  3. HTML 5 will render a document missing html and body tags as if they were there. Valid, but poorly formed HTML 5: <!doctype html><title>This page is sucky</title><p>But it works!</p>
  4. Can you post code and a link to the page so we have something to go on?
  5. I think the problem is the chained .next() methods. Try splitting it into two statements, or try using .end() to reset the chain to $(this): $(this).next('.comment_post').slideUp(500).end().next('textarea.update_comment').slideDown(500);
  6. If your page has a width set, in %, px or whatever, then you can give it margin: 0 auto; to center it. Apply this to either the body or a containing element. It's with setting a width - most pages don't look good edge to edge.
  7. I liked this joke about programmers vs. engineers: Note: I ed for the exact wording and found that this joke has also been used as a mathematician vs. physicist joke, but it works exactly the same.
  8. The first step is to check if your page validates - both as XHTML 1.1 and CSS. The CSS is fine, but there are a number of problems with the XHTML, the first being that there is an error in your doctype: Fixing that might sort out some of your problems, since with an invalid doctype the page will probably revert to quirks mode.
  9. The array $a holds a list of words that can be used to provide an auto complete hint. The first loops works through each character of the query string $q and compares it to the elements in $a. If the two match, then $hint is set to the full entry in the suggestion array $a. As $q gets longer, the comparison can be made more accurately, so it will appear to refine the $hint. That might not have been the clearest explanation, but I hope it helped somewhat. Perhaps an example.If I type 'a', then $q == 'a'.The loop finds an entry from $a that starts with 'a' - let's say aardvark - and returns
  10. There are errors on most complicated and sophisticated websites. Amazon has nearly 1000 errors and half again as many warnings. Some things work on some browsers and some things don't; some things affect the content and some don't. There are errors you can live with and those you can't. But validation is a factor in SEO, so it's a definite boon to a small website to validate. For the bigger sites that everyone knows by name and have already earned the top slot on google, it's not an issue anymore so they sacrifice standards for solutions. If you have a huge team of developers and content
  11. chibineku

    DTD question

    The different DTDs determine which set of HTML elements are valid and how they're used and displayed. A strict DTD tends to get greater consistently across browsers and your CSS will be more robust. For example, if I use a strict DTD and change the padding of a div, the space around the content of the div increases, but the div stays the same size. If I increase the margin, the space around the div increases, but the size is the same. If I use a transitional doctype and change the padding of an element, it gets wider and taller by as much as the padding increase. If I change the margin, t
  12. A final note:Adding the AJAX to the complete function of the animate method was the key, but because I was using .each() to fade in 4 elements, the AJAX fired 4 times, making the animation juddery. I changed the PHP to return the elements wrapped in a div and faded it in and out, and the result is smooth as the proverbial baby's bum.
  13. Ya, it's awesome - thanks!At a slow fade in, the new elements appeared to flicker, so I ditched the line setting the opacity of them to 0 and made the PHP echo the elements with the opacity already set to 0 - much smoother.
  • Create New...