www.webdeveloper.com

Search:

Type: Posts; User: solowandererY2K

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,207

    Wait a moment. You need a function to get dates...

    Wait a moment. You need a function to get dates from strings, not convert dates to strings. This function you're using sounds like the wrong tool for the job.


    Bad idea, because today_date in...
  2. Replies
    4
    Views
    775

    Seems like you'll want some kind of dropdown box...

    Seems like you'll want some kind of dropdown box or a set of radio buttons on your input form, with a list of the available currencies. You can use the element's value property to figure out what...
  3. Replies
    7
    Views
    4,908

    I wish there were ;). It would be interesting...

    I wish there were ;).

    It would be interesting if somebody visited my ancient Web site (from when I was a tenth grader, heh heh...). Go sign my guestbook here.



    PHP code can be anywhere in...
  4. Replies
    7
    Views
    4,908

    The easiest way is to make your links absolute. ...

    The easiest way is to make your links absolute. Just prepend "http://www.derekjohansen.com/Web_Practice/" to each URL.

    And I don't mean copy and paste. At the top of your menu.php:


    <?php...
  5. Replies
    7
    Views
    4,908

    It is a very good idea to test on a personal...

    It is a very good idea to test on a personal server. In fact, I recommend the XAMPP package, a preconfigured test server that can run right on your PC. Just make sure your local and test servers...
  6. Replies
    1
    Views
    579

    I don't think this forum is for slave labor :) . ...

    I don't think this forum is for slave labor :) . I'm willing to help you solve the problem, but not to just solve it for you.

    In other words, I might post a partial solution, and let you...
  7. Replies
    7
    Views
    4,908

    I seriously recommend PHP for this. In fact,...

    I seriously recommend PHP for this. In fact, using the same menu on multiple pages was one reason I started using PHP.

    Here's the easiest way to do it.

    Copy the code for your menu into a file...
  8. I recommend the jQuery UI Datepicker. It's...

    I recommend the jQuery UI Datepicker. It's themable, customizable, and easy to set up. Once you've loaded the jQuery and jQuery UI scripts, all you need is:

    $('textbox_element_id').datepicker();
  9. I'd recommend making a method in the parent...

    I'd recommend making a method in the parent window that your child windows can call. Just add the following inside a <script> tag in your parent window:



    var comma = '';
    function...
  10. Replies
    4
    Views
    685

    I think you need a backward slash instead of a...

    I think you need a backward slash instead of a forward one. Use \n to split on newlines instead of /n.

    Also, are you sure you want to use a canvas? If you're going for animations, it's a good...
  11. Replies
    17
    Views
    1,968

    Why would people hide their source code? ...

    Why would people hide their source code?

    "Security via obscurity" comes to mind. If you make your source code really obscure, you can make it harder for people to hack into your site. One of my...
  12. There is code on the PHP eval() manual page...

    There is code on the PHP eval() manual page for syntax checking:


    // Returns true if the code is syntactically correct.
    function check_syntax($code) {
    return @eval('return true;' . $code);...
  13. Replies
    6
    Views
    1,935

    If you're going to validate forms, one of two...

    If you're going to validate forms, one of two things should happen when the user clicks "Submit": they have validation errors, or they get a success message. It's helpful when the errors appear next...
  14. Replies
    17
    Views
    1,968

    Do you mean Javascript code? Nobody can get your...

    Do you mean Javascript code? Nobody can get your PHP code if your server is configured properly (most are). If you want to safeguard your Javascript, use an obfuscator -- it turns your code into...
  15. Replies
    10
    Views
    2,491

    You're right; I know jQuery doesn't actually have...

    You're right; I know jQuery doesn't actually have other events -- it just simulates new ones by using various tricks.

    What I meant by HTML was actually the DOM that's formed from the HTML. ...
  16. Replies
    10
    Views
    2,491

    I recommend the jQuery Javascript library for...

    I recommend the jQuery Javascript library for this. You might find jQuery helpful in many other ways too. You see, window.onload fires only once all the images (banner ads) are loaded. jQuery has...
  17. Replies
    2
    Views
    698

    Looks neat! The resizing is pretty well-done,...

    Looks neat!

    The resizing is pretty well-done, but you might want to make sure the aspect ratio is preserved. The text looks a little 'stretched' on my widescreen monitor.

    The little icon in...
  18. Replies
    6
    Views
    1,935

    First of all, would you like to validate on the...

    First of all, would you like to validate on the server side or the client side?

    Server side validation is more secure and reliable. It doesn't rely on a browser supporting (or allowing)...
  19. Replies
    2
    Views
    2,080

    I wish vBulletin had an "edit" button on personal...

    I wish vBulletin had an "edit" button on personal posts...

    First of all, backreferences to RewriteCond directives are preceded with %, not $. You would use %1 instead of $1.

    Also, remember...
  20. Replies
    2
    Views
    2,080

    Why do you need to do this?

    Why do you want to rewrite the URI when you could just use the GET parameter passed in the query string? I get the feeling that your index.php file will have to parse that query string again at some...
Results 1 to 20 of 20
HTML5 Development Center



Recent Articles