dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Sup3rkirby

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    292

    Basically, the issue is your site was built with...

    Basically, the issue is your site was built with absolute positioning and fixed widths. This means pretty much all of the elements on your page will be the exact same size and in the exact same...
  2. Hardware detection really isn't something that's...

    Hardware detection really isn't something that's suited for web development currently. Granted there are a few things that have been changed in that area in recent years, but it's generally not a...
  3. Replies
    6
    Views
    450

    I've never really used the tag, so...

    I've never really used the <optgroup> tag, so there may be something I'm missing, but the biggest benefit (in terms of functionality) to using the first method you presented would be the use of the...
  4. Replies
    2
    Views
    359

    There are a combination of CSS properties that...

    There are a combination of CSS properties that are creating the full effect you see.

    Inside of the class "tooltip-effect-5" and "tooltip-content" there are 4 CSS properties that seem to all play...
  5. I'm feeling a bit lazy at the moment, but I do...

    I'm feeling a bit lazy at the moment, but I do have something that should help.

    While I was a bit surprised that there weren't any actual calculations being used, I have for you today, the...
  6. Thread: textarea

    by Sup3rkirby
    Replies
    3
    Views
    393

    Essentially you can just take the textarea's...

    Essentially you can just take the textarea's value and place it inside of another element on the same page. You could also open a new window and write the HTML to that page depending on your...
  7. My first guess is that the $result from your...

    My first guess is that the $result from your query doesn't have anything in it, thus you can't call fetch() on it. I can't quite tell if you are using PDO or mysqli. There is a method called...
  8. I don't want to look too much like a fool here,...

    I don't want to look too much like a fool here, but what about the actual <embed> tag? From what I've read <object> is great for everything but IE, however <embed> typically does work in IE for .wav...
  9. Replies
    5
    Views
    624

    I took a moment to run all of this code and the...

    I took a moment to run all of this code and the reason it doesn't display the second image is because of the value of x in the javascript. x starts as -1, and the script is designed to increment this...
  10. I can't tell you what's incorrect in the code you...

    I can't tell you what's incorrect in the code you have now because I'm not sure what changes you were making. After I gave all 4 radio inputs the same name, and then changed the id attribute...
  11. More than one radio button can be selected...

    More than one radio button can be selected because you are not using the 'name' attribute correctly. With radio inputs, all radio inputs in the same 'group' should have the exact same name. The id...
  12. This question has been asked many times over the...

    This question has been asked many times over the years, and even still in 2014 the answer remains the same. You cannot get a users IP address with javascript alone. It doesn't matter if you want just...
  13. Out of curiosity, what version of Opera were you...

    Out of curiosity, what version of Opera were you testing? I'm running 12.16 (probably outdated, but I never use Opera) and I didn't seem to have the problem you mentioned.

    Also, I'm also curious...
  14. Replies
    1
    Views
    446

    In this situation, you can use a relatively...

    In this situation, you can use a relatively simple for() loop to loop through all of the values you want to output. I suppose there are several ways you could go about this, but for me I found it's...
  15. Replies
    1
    Views
    800

    Poll: I think if anything, the web (or rather, 'web...

    I think if anything, the web (or rather, 'web development') is becoming more accessible to users. Things like jQuery, Bootstrap, Angular, etc. are all providing users who have less knowledge about...
  16. Thread: question

    by Sup3rkirby
    Replies
    2
    Views
    377

    The two main things you'll need are the...

    The two main things you'll need are the Math.round() method, and the for() loop (I guess you could use a while() loop too, but meh).

    Now, I don't really know how to plan on getting/setting the...
  17. Replies
    5
    Views
    624

    If you are seeing a broken image icon then the...

    If you are seeing a broken image icon then the problem is that the image src is wrong, which has something to do with setTimeout().

    That's not really something I can troubleshoot for you either,...
  18. Replies
    5
    Views
    624

    The simple solution to your problem is to use...

    The simple solution to your problem is to use setTimeout() instead of setInterval(). setTimeout() only executes the function once whereas setInterval() executes repeatedly (until canceled).

    But I...
  19. I don't want to seem lazy by not reading through...

    I don't want to seem lazy by not reading through all of your code, but it's early.

    You said you had a problem with setTimeout() due to rapid pressing of the button, which I assume caused the...
  20. Replies
    5
    Views
    595

    As far as printing goes, the only thing...

    As far as printing goes, the only thing javascript is really going to offer would be the window.print() method. This sends the entire document (current page) to be printed and will bring up the print...
  21. I'm going to assume that you meant...

    I'm going to assume that you meant window.alert("hi"); and 'windows' was merely a typo (since you claim it worked on a different element).

    Anyway, the reason you can't set the onclick event after...
  22. Replies
    5
    Views
    595

    The thing you have to understand about javascript...

    The thing you have to understand about javascript is that it is extremely limited in terms of access. This is more a security thing than anything. If javascript were able to do things like access the...
  23. jQuery As I mentioned in my first reply, /\d+/g was...

    As I mentioned in my first reply, /\d+/g was merely my first guess at what you wanted and was intended to simply match the full groupings of numbers (rather than partial groupings) because I wasn't...
  24. jQuery I'm not entirely sure if I understand what you...

    I'm not entirely sure if I understand what you want. Could you potentially post all of the 'valid' matches you want to see so that I can understand what you are trying to achieve?

    My first guess...
  25. Replies
    5
    Views
    595

    Since this is in the javascript forum I'll answer...

    Since this is in the javascript forum I'll answer each question from that perspective.

    1. This is not possible with javascript. You'll need a server-side language (or third-party plugin like...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles