Jump to content

haku

Staff Alumni
  • Posts

    6,172
  • Joined

  • Last visited

  • Days Won

    2

haku last won the day on March 4 2013

haku had the most liked content!

About haku

Contact Methods

  • Website URL
    http://www.jaypan.com/

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

haku's Achievements

Regular Member

Regular Member (3/5)

28

Reputation

  1. I used to say the same thing - and did everything in pure javascript... until I learned jQuery. It's still good to know the basics, and occasionally I use them when I need them, but jQuery is extremely lightweight, and very handy. I've never looked back.
  2. I don't have an answer for you, but why not just use jQuery (or another library) and use their animation handler? It will make your life much easier.
  3. I don't have a direct answer to your questions, but I do have a potential solution. Try running your code through JSlint, and cleaning it up. I have found that doing this often solves weird cross-browser js problems that I have.
  4. That's very true amongst designers/developers, but I think that if the page loads fast enough, your average user doesn't really care if it's flash or not.
  5. It depends on what your site is for, and what it will do, and what your goals with it are. So to ask the questions: 1) What is your site for? 2) What will it do? 3) What are your goals with this site?
  6. This is the HTML section, so you should only post the HTML output of PHP scripts here, not the PHP.
  7. haku

    alert box

    You can created the faded out div like this: div#overlay { position:absolute; top:0; left:0; height:100%; width:100%; color:#000; } Then fade it in.
  8. haku

    Unknown Space

    I just tried your code out, I don't see that happening at all.
  9. If you are talking about a text area, you need to pass it through a server-side function that will convert line breaks to <br> tags. If you are using php, you can use nl2br().
  10. haku

    Unknown Space

    It's kind of hard to explain, but basically, the top margin of the child element pushes outside of the parent element, instead of on the inner edge of the parent element. This means that instead of pushing the child element down, it actually pushes the parent element down. The end effect is that the child element is pushed down according to the amount specified in it's upper margin, but the unexpected effect is that it also brings the parent element down that much.
  11. haku

    anchor tag

    The Letter E was mostly correct, with one tiny little problem. It should be this: <style type="text/css"> .other_items p a:link {text-decoration: none; color:red;} .other_items p a:visited {text-decoration: none; color:red;} .other_items p a:hover {text-decoration: none; color:red;} .other_items p a:active {text-decoration: none; color:red;} </style> The order of pseudo selectors needs to be link -> visited -> hover -> active. This is easy to remember with LoVeHAte: LinkVisitedHoverActive. If you don't do it in this order, you will find strange things happening in some browsers, and it can be really difficult to debug.
  12. .fancy a span This targets a span element inside an anchor tag that is inside any elements that have a class of 'fancy' .fancy, a, span This targets all elements with a class of 'fancy', all anchor tags, and all span elements. p.centre This targets all paragraph tags that have a class of 'centre'. .center p This targets all paragraph tags that are inside any elements that have a class of 'centre'
  13. haku

    Unknown Space

    Read my explanation in my last post.
  14. Lots of tutorials on the net about using cookies with javascript.
  15. haku

    Unknown Space

    I didn't dig through your CSS, but it appears you've got some top margin on whatever tag your 'Email' text is wrapped in. Either take the top margin off that element, or take it out of that element altogether.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.