www.webdeveloper.com

Search:

Type: Posts; User: savvykms

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    959

    I think something involving switching elements in...

    I think something involving switching elements in the same location is asked for. If that is the case, .outerHTML MIGHT be useful.
  2. Replies
    8
    Views
    1,510

    Encode your HTML special characters to be...

    Encode your HTML special characters to be entities and output using innerText or innerHTML, depending on your smiley replacement feature's existance.
  3. Replies
    4
    Views
    1,396

    criterion9 and welsh did a pretty good job of...

    criterion9 and welsh did a pretty good job of redirecting you, but a good method for filtering based on a bunch of choices or categories invovles using a switch statement. Good luck!
  4. Replies
    5
    Views
    1,088

    Although this smells like homework to me too: ...

    Although this smells like homework to me too:


    if (temp > threshold) ... //over
    else if (temp < threshold) ... //under
    else ... //equal


    Good luck.
  5. Perhaps it is already included through another...

    Perhaps it is already included through another file? Or a double-include?
  6. CSS visibility property setting: ...

    CSS visibility property setting:


    document.getElementById("test").visibility = "hidden"; //hidden, still takes up the same space as when visible
    document.getElementById("test").visibility =...
  7. Replies
    1
    Views
    779

    There's no purely HTML way to do this that I can...

    There's no purely HTML way to do this that I can remember (other than using the target attribute of the form element to an iframe or something similar).

    You can use Javascript or a server-side...
  8. Replies
    11
    Views
    29,883

    You can accomplish div3 and div4's layout easily...

    You can accomplish div3 and div4's layout easily enough with a little CSS.
    Method 1) Use float: left; on div3; this is better than method 2
    Method 2) Set display: inline-block or similar for div3...
  9. Thread: URL Access

    by savvykms
    Replies
    8
    Views
    1,295

    EDIT: sorry for how lengthy this is. Okay....

    EDIT: sorry for how lengthy this is.



    Okay. The script I made has a continue button for users who don't have Javascript enabled. The onload event handler should automatically submit the form...
  10. Replies
    1
    Views
    762

    Try posting this using a quite in the CSS...

    Try posting this using a quite in the CSS section; this is more an issue of CSS than HTML. You'll probably get some replies (the HTML board doesn't have a lot of people who answer questions, CSS...
  11. Replies
    5
    Views
    676

    The code I wrote was for a child of an element to...

    The code I wrote was for a child of an element to change it's parent's background color onmouseover. It is relatively simple using, as you said, document.getElementById() to change a different div...
  12. Replies
    7
    Views
    941

    Image flips are nice and cool effects, but they...

    Image flips are nice and cool effects, but they require more downloads for a simple box to change.

    By using background-image (with margin-left and background-repeat set) or a custom bullet in an...
  13. Replies
    37
    Views
    3,524

    Hey guys, in case anyone was wondering: I made...

    Hey guys, in case anyone was wondering: I made the code I posted quickly; I excluded GMT/UTC on purpose, as I thought we needed a relationship between the server's local time and the client's local...
  14. Replies
    5
    Views
    1,944

    You can also become a reseller for 000...

    You can also become a reseller for 000 webhost.com for free, giving free websites to people. Just a suggestion to help you out in your profit, not advertising here.
  15. Thread: Ping by port

    by savvykms
    Replies
    3
    Views
    1,573

    Are you trying to determine if a client is still...

    Are you trying to determine if a client is still connected? An easy method is to use Javascript and AJAX.

    If you aren't trying to determine connectivity, you could user $_SERVER["REMOTE_PORT"] (I...
  16. Thread: URL Access

    by savvykms
    Replies
    8
    Views
    1,295

    To prevent usernames and passwords from being...

    To prevent usernames and passwords from being passed between pages using GET, you can use POST instead.
    E.g. instead of http://www.site-b.com/?user=test&pass=abc123, you can do this on site-a.com:
    ...
  17. Thread: Footer

    by savvykms
    Replies
    3
    Views
    864

    Read above; most of those do NOT use css. I was...

    Read above; most of those do NOT use css. I was defining HTML structures that would implicitly layout text at the bottom of your site.
  18. Replies
    37
    Views
    3,524

    I just coded this for you from scratch: ...

    I just coded this for you from scratch:


    <html>
    <head>
    <script language="javascript" type="text/javascript">

    <?php
    $d = getdate();
    echo "var diff = new Date().getTime() - new...
  19. Replies
    5
    Views
    676

    I wasn't thinking too well; I forgot you could...

    I wasn't thinking too well; I forgot you could probably get by without having the events added automatically for you:


    <html>
    <head>
    <style type="text/css">
    body {...
  20. Replies
    4
    Views
    1,082

    I just modified some code I had lying around for...

    I just modified some code I had lying around for you.

    Functions:


    /*Sets a cookie using the specified name, value, and days until expiration
    Method: 1) Check to see if days until expiration,...
  21. Replies
    10
    Views
    1,373

    An old-fashioned hack you could try is to have...

    An old-fashioned hack you could try is to have the site hidden within a frameset with a hidden frame where your audio plays. This isn't a very good solution.

    A better method is to use a cookie (on...
  22. Replies
    7
    Views
    941

    A simple suggestion: if all you are attempting to...

    A simple suggestion: if all you are attempting to do is have square boxe around your links, then CSS provides a much easier and maintainable solution using the :hover pseudo class combined with the...
  23. Replies
    5
    Views
    676

    So you have this structure: ... ...

    So you have this structure:


    ...
    <div>
    <select>...</select>
    </div>
    ...
  24. Replies
    2
    Views
    924

    I just spent a while trying to make a peice of...

    I just spent a while trying to make a peice of code for you that is easy to use, but, as a result, is quite complicated behind the scenes. Unfortunately, I had to use the precache list to make it...
  25. You can always build your own sorting function;...

    You can always build your own sorting function; there are several popular methods. I tend to use two arrays and loop through (the first) to find the max or min (adding it to the second) until all...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles