www.webdeveloper.com

Search:

Type: Posts; User: Verdagon

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    970

    istockphoto.com ... really sketchy.

    So, I've never used the site before, and I use one of their images in my project thinking, "oh, its only 1 credit, cool." and I estimate accordingly.

    It turns out, the minimum amount of credits I...
  2. Replies
    3
    Views
    892

    So theres no way to do it with the syntax I...

    So theres no way to do it with the syntax I described?
  3. Replies
    3
    Views
    892

    Following a foreign key?

    Hey everyone, I think I have a simple question. I have table A, which has a foreign key field whichB that references B's "id" field.

    Table A:
    whichB int references B(id)

    Table B:
    id int...
  4. Replies
    1
    Views
    739

    I think I found a way: ...

    I think I found a way:



    subclass(ExtensibleJQueryResult, jQuery);
    function ExtensibleJQueryResult(expression, context) {
    var result = $(expression, context);
    this.length = result.length;...
  5. Replies
    1
    Views
    739

    Extending a jquery result

    Hi everyone, I'm trying to extend a jquery result, so that I can add my own functions to jquery. I know I can use jQuery.fn.blah to extend all jQuery objects, but I don't want to extend all jquery...
  6. Replies
    1
    Views
    2,539

    Polymorphic DB Tables

    (Summary: I want to have an is-a relationship in PHP also be in the database, and if I search for something in the table of the base class, it will also search in the table of the child class. I also...
  7. Okay cool, thanks for the quick response.

    Okay cool, thanks for the quick response.
  8. [RESOLVED] Does a prepared statement get cached?

    Hey everyone, quick question. Says the PHP manual,
    $stmt = $mysqli->prepare("SELECT * FROM test WHERE id = ?");
    this will make the database prepare itself to run this query; find out the best way...
  9. Why do we sanitize besides preventing injection?

    Hey everyone, today is a sad day for my php ego.

    I had built this awesome sanitizing thing that would get data from $_GET or $_POST, strip tags, replace any outrageous characters with an...
  10. Yeah, I was thinking about something like that......

    Yeah, I was thinking about something like that... if I were to do that, this would happen:

    User signs on from his desktop computer, does his stuff, and closes his browser window without logging...
  11. Two different people, same account, same time

    Hey everyone, I'm making a little game for fun, and it involves having a player sign in. Lets say I have the player account "Thomas" with the password "Khelavaster", and he signs in and is actively...
  12. Replies
    2
    Views
    611

    I think ajax can do this, just request the page...

    I think ajax can do this, just request the page like normal, and the responseText will be the page's html. Just use your favorite framework to do the ajax.
  13. Well, it's not that I want to search code, I just...

    Well, it's not that I want to search code, I just want to search the entire internet...

    This is a good find though. I wonder what it's used for? I cant say I've ever needed to search any open...
  14. Replies
    13
    Views
    2,504

    This happened to me recently, I'm being paid as...

    This happened to me recently, I'm being paid as an $11/hr web developer for a state school. I designed a skin for uPortal, which took roughly 90 hours, so I got $1000. Later on, I found out that the...
  15. Reassigning myobject.prototype to change classes?

    Hey everyone, do you think this is okay javascript? Anyone ever done something like this before?



    function Person() { }
    Person.prototype.sayHi = function() { alert("Hello!"); }

    var myperson...
  16. Replies
    0
    Views
    1,955

    Server side javascript hosting?

    Hey everyone, I really want to play around with server-side javascript. Anyone know of anybody at all hosting it?
  17. Replies
    5
    Views
    1,999

    Ah... supplying a string as the first argument to...

    Ah... supplying a string as the first argument to setTimeout is generally a bad idea. it's better to use functions.

    The specific problem here is that when setTimeout finally gets around to parsing...
  18. Replies
    4
    Views
    639

    My recommendation is to have two CSS files: one...

    My recommendation is to have two CSS files: one for the first color scheme, one for the second. Then, with php, you can do this:



    ...
    <head>
    ...
    <?php
    $useBlueScheme = ...;
  19. All of the , [i], and [u] were replaced because...

    All of the , [i], and [u] were replaced because you replaced them using regular expressions with the /g flag specified; that makes the search and replace repeat until no more matches are found.
    ...
  20. Ah, I've had this bug many times too. It turns...

    Ah, I've had this bug many times too. It turns out, str.replace only replaces the first occurrence. You have to code your own "replaceAll" function.
  21. Search engine for stuff including weird symbols?

    Hey everyone, lets say that hypothetically I'm having trouble figuring out what .+ means in regex.

    When I google search for "regex .+" with or without the quotes, I get results related to regex,...
  22. Replies
    3
    Views
    867

    Aye, my first thought was that they updated their...

    Aye, my first thought was that they updated their version of PHP. PHP 5.3 just came out, so it's a big possibility. Call phpinfo() anywhere in your script and it will output those versions.

    My...
  23. One solution is to use this kind of technique,...

    One solution is to use this kind of technique, where a div is absolutely positioned in the unknown-sized-content:


    <div style="padding-left: 200px;">
    content, etc. the padding in this element...
  24. Replies
    4
    Views
    919

    That's really scary! I would have thought...

    That's really scary! I would have thought browsers would code that more effectively. Which browser are you using?

    I'm thinking one solution is to dynamically load the images with javascript......
  25. Replies
    2
    Views
    1,020

    Prototype That's really weird. Are you sure PageTracker.asp...

    That's really weird. Are you sure PageTracker.asp is really there? I'm thinking IE's case sensitivity might have something to do with this... though its a long shot.

    I know you said the...
Results 1 to 25 of 50
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles