www.webdeveloper.com

Search:

Type: Posts; User: mintedjo

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    818

    Page shifts left a bit in IE6

    Hi there! xD
    Haven't been here for a while. Been playing games instead of trying making stuff.
    So anyway, I got a page that's centered and it all looks fine... and IS fine in ie7 and in FF. In IE6...
  2. Replies
    3
    Views
    2,669

    $str = "Junk"; echo...

    $str = "<html><body>Junk</body></html>";
    echo htmlspecialchars($str);
  3. Replies
    3
    Views
    656

    So you only want to replace groups of characters...

    So you only want to replace groups of characters that are all digits?


    /\b\d+\b/g

    Like that?
  4. Replies
    3
    Views
    656

    What exactly are you trying to replace it with?...

    What exactly are you trying to replace it with?
    If it is just an "x" like in the example you gave then you are overcomplicating it

    str.replace(/\d/g, "x");
    Should do that
  5. Nvm

    Nvm
  6. Replies
    6
    Views
    534

    innerHTML does work in firefox - Microsoft are...

    innerHTML does work in firefox - Microsoft are just incapable of doing anything thats any good, ever.
    That being said, more people use IE than any other browser so you`ve got no choice but to use...
  7. function fixLinks() { var replacementURL =...

    function fixLinks() {
    var replacementURL = "http://www.sitetwo.com"; // URL to change to
    var lookfor = "http://www.siteone.com"; // Text to look for
    var regexp = new...
  8. Thread: urlencode?

    by mintedjo
    Replies
    5
    Views
    1,577

    It sounds like you should be ok with your...

    It sounds like you should be ok with your situation and typically if it works then I just accept it - but we all know that's just bad practice.
    Make sure it's ALWAYS going to work, and if you can't...
  9. EDIT: ignore me ... didnt read your whole message...

    EDIT: ignore me ... didnt read your whole message :-D just do what that guy said

    Try this...

    <textarea onkeydown="return checkLength(event);"></textarea>
    <script>
    function checkLength(e){...
  10. Thread: urlencode?

    by mintedjo
    Replies
    5
    Views
    1,577

    As I said in my above post this is just from my...

    As I said in my above post this is just from my own experience...
    but inserting a url into a database and retrieving it for printing should be fine I think.
    I've never had problems with that. The...
  11. document.write only works if it's called while...

    document.write only works if it's called while the page is loading, otherwise it loads a new one up.
    If you need to add content to the page you can use the innerHTML property.
    for example have an...
  12. Thread: urlencode?

    by mintedjo
    Replies
    5
    Views
    1,577

    In my experience the only problems have come...

    In my experience the only problems have come about when trying to access a non-urlencoded url in PHP, in which case some of the characters caused trouble. I think it was only spaces that caused an...
  13. OH HAI! Now that you fixed the FF3 bug...

    OH HAI!

    Now that you fixed the FF3 bug (whatever it was) I can get them all to work because I are legend.
    Using this neat little (disgusting) piece of code in place of your file regex and making...
  14. I can't get them to work.

    I can't get them to work.
  15. What uris are you using to test it? Maybe the...

    What uris are you using to test it?
    Maybe the thing I was using was wrong.
  16. I'm guessing it doesn't behave like that because...

    I'm guessing it doesn't behave like that because there's nothing saying the extension is optional so if you dont provide an extension it gets uber confused.
    It seems that host is the first part to...
  17. Thread: Canvas Demos

    by mintedjo
    Replies
    3
    Views
    1,001

    What? No favicon? :-o

    What? No favicon? :-o
  18. Replies
    33
    Views
    5,742

    I might be interested - certainly sounds fun but...

    I might be interested - certainly sounds fun but I'll probably forget before anything is organised :-)
  19. Replies
    3
    Views
    1,052

    What does the group by do?

    What does the group by do?
  20. Replies
    7
    Views
    703

    Yes

    Yes
  21. Replies
    1
    Views
    761

    You can't do that :-P Use NOW in the WHERE...

    You can't do that :-P
    Use NOW in the WHERE clause


    SELECT recipient_price_id AS 'id',
    recipient_name AS 'name',
    recipient_price AS 'price',
    recipient_info AS 'info',
    NOW() AS 'today' ...
  22. Replies
    16
    Views
    3,455

    If you are using things with spaces in them (i...

    If you are using things with spaces in them (i didnt expect that :-P)
    use
    $newA = urlencode($a) before you insert the string into the url
  23. Replies
    11
    Views
    1,221

    No problem So I did... Sorry :-)

    No problem

    So I did...
    Sorry :-)
  24. Replies
    16
    Views
    3,455

    Thats why I didnt know how to parse the element...

    Thats why I didnt know how to parse the element :-D
  25. Replies
    16
    Views
    3,455

    I'm having a very boring day at work so I've done...

    I'm having a very boring day at work so I've done this just to see if it would work the way i first proposed...
    $a = "manchester";
    $b = "liverpool";

    //Create the url
    $myurl =...
Results 1 to 25 of 159
Page 1 of 7 1 2 3 4
HTML5 Development Center



Recent Articles