www.webdeveloper.com

Search:

Type: Posts; User: handcraftedweb

Page 1 of 11 1 2 3 4

Search: Search took 0.02 seconds.

  1. In my case the subject wasn't the immediately...

    In my case the subject wasn't the immediately next sibling but this worked:

    $control.nextAll(".subnav:first").slideToggle(toggleDuration);
  2. Yes, I think that will do it. Using .next with...

    Yes, I think that will do it. Using .next with the right selector will do it.

    Thanks.
  3. How to associate (reference) a button with a div?

    I'm making a standard hierarchy (or tree) control in which any node with children will have a button to hide/show subnodes. So I'd like to have some way to associate the button with the div that it...
  4. I wouldn't mind putting the CSS chunks in...

    I wouldn't mind putting the CSS chunks in separate files - that's conceptually clean enough for me. But having numerous small CSS files dynamically loaded brings a performance issue I want to avoid.
  5. That's a great tip. It's not exactly what I was...

    That's a great tip. It's not exactly what I was looking for but it's probably the best available solution and I'm going to go with it.

    Thanks much.
  6. Activating blocks of CSS with JavaScript

    I want to change styles with JavaScript, but I would prefer that the styles be written in CSS in a style sheet for organization reasons. I know I can invoke an alternate stylesheet with JS:

    <link...
  7. Replies
    1
    Views
    308

    Not exactly sure what you want, but maybe ...

    Not exactly sure what you want, but maybe

    .head-wrapper {
    position:fixed;
    top:0;
    width:100%;
    }

    header {
    width:50%;
  8. Replies
    3
    Views
    545

    Poll: Well I searched for "Don't use CSS Classes" like...

    Well I searched for "Don't use CSS Classes" like you suggested and at the top of the list was this: http://coding.smashingmagazine.com/2012/06/19/classes-where-were-going-we-dont-need-classes/
    ...
  9. Replies
    1
    Views
    154

    You have some validation errors: ...

    You have some validation errors:

    http://validator.w3.org/check?uri=http%3A%2F%2Femilyburklow.com%2FHTML5%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
  10. Replies
    2
    Views
    619

    Device emulators (post 'em here)

    Post device emulators here. There are a bunch out there I know. When we build up a list we can review and rank them.

    http://quirktools.com/screenfly/

    (if this thread fills out, make it a...
  11. JavaScript is interpreted by the browser.

    JavaScript is interpreted by the browser.
  12. Replies
    3
    Views
    502

    You might disable JS in your browser and look at...

    You might disable JS in your browser and look at some big name sites and see how they handle it. For instance google.com looks rather unfinished with JS disabled, but it still works.
  13. Replies
    7
    Views
    1,014

    It will be a while before you get the skills to...

    It will be a while before you get the skills to make money with web dev but take the course and see how you like it. Maybe you become a pro, maybe not, but the journey is the reward.

    But don't...
  14. Replies
    13
    Views
    1,618

    I'm assuming you're preprocessing this on the...

    I'm assuming you're preprocessing this on the server side, in which case the input doesn't need to be valid HTML, the output does. The input does need to have well specified language/syntax and the...
  15. Weird stuff. I don't know what it is, but if you...

    Weird stuff. I don't know what it is, but if you google those strange string literals in that code ("dthklpa8nbzg5itfux") they're found is the site jsunpack.leek.org.

    But I don't know what that...
  16. Replies
    13
    Views
    1,618

    Oh so you're talking about code like this: ...

    Oh so you're talking about code like this:


    <html>
    <div><h1>Header</h1></div>
    |Some code
    | In some new
    | language
    |to be preprocessed
    <div>some more html</div>
  17. Replies
    13
    Views
    1,618

    I don't know. You'd need to ask someone that...

    I don't know. You'd need to ask someone that really understands the syntax of the various HTML dialects, someone that has written an HTML parser or two.
  18. Replies
    13
    Views
    1,618

    With some sort of brackets (or block delimiters),...

    With some sort of brackets (or block delimiters), it's easier to specify the syntax of how the various languages on the page are intertwined. You need to specify the syntax of the page in order to...
  19. Replies
    13
    Views
    1,618

    So you're making a new language. It seems very,...

    So you're making a new language. It seems very, very tricky to try and embed this in HTML without bracketing it (like PHP does with <?... ?>).

    But if it is bracketed, I don't see any problem...
  20. Replies
    2
    Views
    564

    You need to arrange things in columns to get what...

    You need to arrange things in columns to get what you want. Here's a fiddle showing that. Replace the colored divs with imgs. Here's the code:

    .col {width:200px;float:left;}
    .red...
  21. Replies
    4
    Views
    472

    I think the easiest way to do this is a have a...

    I think the easiest way to do this is a have a separate style sheet for each font size, and provide a way (links or buttons) to switch to the style sheet with the appropriate size fonts.

    Here's an...
  22. You might try using "Arial Narrow" and adjusting...

    You might try using "Arial Narrow" and adjusting the letter-spacing and word-spacing:



    .s {
    font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
    font-weight:bold;
    ...
  23. To be a more complete web developer you'd want to...

    To be a more complete web developer you'd want to learn a server side language. Maybe start with PHP because it's very popular.

    As for getting more proficient on client side, HTML5 and CSS3 are...
  24. Another alternative taking into account even...

    Another alternative taking into account even squares have even square roots:

    function evenSquares(max) {
    var maxRoot = Math.sqrt(max),
    i, answer = [];
    for (i = 2; i <= maxRoot;...
  25. Replies
    6
    Views
    2,222

    If you post a link to your site maybe we can help.

    If you post a link to your site maybe we can help.
Results 1 to 25 of 258
Page 1 of 11 1 2 3 4
HTML5 Development Center



Recent Articles