www.webdeveloper.com

Search:

Type: Posts; User: Powersurge360

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,242

    I love you. I've been trying to figure a way to...

    I love you. I've been trying to figure a way to unobtrusively identify elements uniquely for aaaaaaaaaages. This is exactly what I needed, thank you so much.
  2. Replies
    4
    Views
    1,704

    So it's fair to say that it's a very niche thing,...

    So it's fair to say that it's a very niche thing, and can be forgone when not obviously needed?
  3. Replies
    4
    Views
    1,704

    Benefits of Preloading

    How often does the clunky code justify the use of preloaded images? It seems like in this day and age, many people have a fast enough connection that preloading images is unneeded.

    In other words,...
  4. Replies
    0
    Views
    1,341

    jQuery Readylist In jQuery

    I was wondering if anyone knew how jQuery adds functions to the readyList array if the dom wasn't loaded. I understand how it waits until the dom loads, I understand how it passes selectors and all...
  5. Before I get started on this, what browser are...

    Before I get started on this, what browser are you using? IE has problems with the hover pseudo-class.

    EDIT: Also, IE doesn't support the > descendant selector, so if you intend on using this,...
  6. Replies
    7
    Views
    1,097

    To do that with floats, you'll need to add a...

    To do that with floats, you'll need to add a margin-left about the width of the first column and maybe clear: left.

    Floats aren't generally used this way, why do you need two divs caddy-corner...
  7. Try using three ='s for "is exactly equal to"....

    Try using three ='s for "is exactly equal to". Can you post a link to a live page so I can play with it and see if I can get it to work?
  8. Sorry for double posting, but the edit button is...

    Sorry for double posting, but the edit button is gone and i realized I didn't actually post my script from earlier. It's since changed, I settled for just having it fade in and then resetting the...
  9. The following code, executed on a page with at...

    The following code, executed on a page with at least two images, with one being id'd as test and the other as test2 binds both images mouseover and mouseout events to an opacityup and an opacitydown...
  10. Constructor Functions and the 'This' keyword

    I was playing with constructor functions to build objects and because it is so dependent on the 'this' keyword, I'm finding it a little unwieldy. How are you supposed to reference a property or...
  11. I'd like to point out that you are using the...

    I'd like to point out that you are using the wrong tool for the job. It sounds like you need to look into something like PHP or something similar to create a more easily maintainable website.

    PHP...
  12. Replies
    2
    Views
    2,181

    This article may solve your problems, but it may...

    This article may solve your problems, but it may not be what you want to do. Regardless, here it is. Hybrid Dropdowns
  13. Replies
    1
    Views
    1,919

    Maybe try adding outline: none; too? It might...

    Maybe try adding outline: none; too? It might work, I can't test it without IE.

    EDIT: I'm a dummy. Don't mind me.
  14. Replies
    6
    Views
    3,774

    Take out display: block and contain it in an...

    Take out display: block and contain it in an element with a text-align style of center.
  15. Ok, so here's the working script that cycles...

    Ok, so here's the working script that cycles through the DOM and applies to entries in the target array.



    function fades() {
    target = document.getElementsByTagName('img');
    runtime = [];...
  16. No, the script adds ids so that it can have a...

    No, the script adds ids so that it can have a unique reference to that particular element. The B portion of my problem mostly relates to my reluctance to change the ID of the element because ID is...
  17. I'm aware of both of these. See what I'm wanting...

    I'm aware of both of these. See what I'm wanting to do is write an object using JSON (something like 'fades') and then write a few methods to allow for you to add the fading effect to several...
  18. Grabbing an element without getElementById

    Is there a way to uniquely and on the fly identify an element without using the ID attribute? I'd like to add intervals and such to create a fade unobtrusively and without using id hooks if at all...
  19. Replies
    13
    Views
    5,009

    XHTML is a standard, one that is being improved...

    XHTML is a standard, one that is being improved upon as part of HTML 5, IE has supported XML/XSLT since IE 6, which covers most of IE's market share by now (IE5 tapering off into obscurity). XHTML,...
  20. Replies
    6
    Views
    2,260

    The best way to do this would be using a...

    The best way to do this would be using a transformation language, namely XSLT. More brutish ways could be with a server side scripting language or Javascripts XMLHTTPRequest object, but they all have...
  21. Replies
    5
    Views
    1,106

    Yeah, I figured that out. I'm currently looking...

    Yeah, I figured that out. I'm currently looking at how you referenced it and am sorting that bit out. If I get stuck anywhere, I'll post back. Thanks for the help.

    The finished script:

    function...
  22. Replies
    5
    Views
    1,106

    I used a timer variable to space out the portions...

    I used a timer variable to space out the portions of the loop so that it would go off a few miliseconds later each time. JS can animate the effects in this way.

    I concede that your script is...
  23. Replies
    2
    Views
    1,866

    For speed issues, you should look into a...

    For speed issues, you should look into a MySQL/PHP solution for building XML files on the fly. This resolves the issue of the user needing to load the XML file in its entirety (which can be a pain)...
  24. There can be only one instance of an ID per web...

    There can be only one instance of an ID per web page. You shouldn't do it like that. You could potentially nest the menu items inside of a div id'd as menu, and access it non obtrusively like so:

    ...
  25. Replies
    5
    Views
    1,106

    Resolving "this" keyword confusion.

    Been toying with some behaviors in unobtrusive javascript, but it always gets hung up on the "this" because the events change what "this" references. The function runs to completion, but because...
Results 1 to 25 of 25
HTML5 Development Center



Recent Articles