www.webdeveloper.com

Search:

Type: Posts; User: savvykms

Page 1 of 16 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    1,219

    You could leave your local version cluttered with...

    You could leave your local version cluttered with comments and then uploading a truncated version.
  2. Replies
    3
    Views
    1,746

    You can make one large query, many small ones...

    You can make one large query, many small ones (joining data in memory in PHP), or you can do a different concept:
    - Each genre has it's own unique bit (1, 2, 4, 8, 16, ...)
    - A search checks for...
  3. HTML:

    HTML:


    <input type="button" onclick="SendTransferAction()" value="Button 1" />
    <input type="button" value="Button 2" id="button2" />

    jQuery:


    $("#button2").click(SendTransferAction);
  4. You overlooked the fact that you have two...

    You overlooked the fact that you have two separate if statements - combine them with an else statement:
    This:


    function CheckForCommand(choice, go) {
    if (choice.toUpperCase() ===...
  5. Replies
    2
    Views
    988

    To make it refresh given an interval, use...

    To make it refresh given an interval, use setTimeout() to call your function with a specified delay:


    setTimeout("document.location = document.location; document.refresh()", 2000);


    To make...
  6. Replies
    8
    Views
    1,067

    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.
  7. Replies
    8
    Views
    2,077

    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.
  8. Replies
    4
    Views
    1,504

    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!
  9. Replies
    5
    Views
    1,211

    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.
  10. Perhaps it is already included through another...

    Perhaps it is already included through another file? Or a double-include?
  11. 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 =...
  12. Replies
    1
    Views
    879

    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...
  13. Replies
    11
    Views
    32,594

    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...
  14. Thread: URL Access

    by savvykms
    Replies
    8
    Views
    1,444

    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...
  15. Replies
    1
    Views
    818

    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...
  16. Replies
    5
    Views
    782

    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...
  17. Replies
    7
    Views
    1,250

    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...
  18. Replies
    37
    Views
    5,917

    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...
  19. Replies
    5
    Views
    2,315

    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.
  20. Thread: Ping by port

    by savvykms
    Replies
    3
    Views
    1,732

    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...
  21. Thread: URL Access

    by savvykms
    Replies
    8
    Views
    1,444

    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:
    ...
  22. Thread: Footer

    by savvykms
    Replies
    3
    Views
    945

    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.
  23. Replies
    37
    Views
    5,917

    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...
  24. Replies
    5
    Views
    782

    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 {...
  25. Replies
    4
    Views
    1,214

    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,...
Results 1 to 25 of 387
Page 1 of 16 1 2 3 4
HTML5 Development Center



Recent Articles