www.webdeveloper.com

Search:

Type: Posts; User: Marius Miliunas

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. Learn something new everyday, thanks!

    Learn something new everyday, thanks!
  2. preg_replace with incrementing number

    I have text and a pattern that runs several times. I want it to return an incremented number every time it finds another match. Any ideas?



    function return_replace() {
    static $i = 0;
    $a =...
  3. the last semi colon before the closing brace...

    the last semi colon before the closing brace isn't required (just as in javascript), so those have been left out on purpose.

    The solution I've found that works is to freshly download the fonts...
  4. @font-face not loading all fonts on Webkit

    Here's the site, view it on a webkit browser, and a non webkit browser.
    http://ccppagolf.c24design.com/

    There's a total of 4 fonts. Webkit loads the serif, and bold italic font, but doesn't even...
  5. Replies
    12
    Views
    4,301

    Yup that solved it. God damn, I cannot thank you...

    Yup that solved it. God damn, I cannot thank you enough. This issue has plagued me for over a year now
  6. Replies
    12
    Views
    4,301

    It's also applied to the text on 'recent tweets'...

    It's also applied to the text on 'recent tweets' in the menu
  7. Replies
    12
    Views
    4,301

    http://mvmdesign.org/2012/02/02/sketches/

    http://mvmdesign.org/2012/02/02/sketches/
  8. Replies
    12
    Views
    4,301

    And you don't notice any difference cross...

    And you don't notice any difference cross browsers on like chrome?
  9. Replies
    12
    Views
    4,301

    I think it has to do with @font-face

    I think it has to do with @font-face
  10. integrating ssl into your own site

    I know what SSL is as a concept and what it does, but I don't understand how to integrate it for my own use. I've seen some places that sell it, and I don't want to buy something if I don't actually...
  11. Replies
    5
    Views
    1,569

    AJAX do you have atleast 1 file that matches the...

    do you have atleast 1 file that matches the search url?
  12. Replies
    5
    Views
    1,569

    AJAX Ok, so I guess this is browser specific, with it...

    Ok, so I guess this is browser specific, with it being Mozilla the only one that can handle this sort of thing.

    So I guess that answers my questions. I remember being able to do something like...
  13. Replies
    5
    Views
    1,569

    AJAX (jQuery) loading images blindly

    I've got image files named 0-0, 0-1, 0-2 and so on up to a certain point, and I want to load each file until it can't find another, hence the jquery ajax error. At the moment, this works in firefox...
  14. Ok yea, i forgot that I was wrapping the callback...

    Ok yea, i forgot that I was wrapping the callback in quotes. thx
  15. Can't send properly formatted JSON from .json file

    $file_name = $res['fileName'];
    $file = file_get_contents($file_name);

    $obj = json_decode($file,true);

    echo $_GET['callback'] . '("' . json_encode($obj) . '");';

    That's my script.
    ...
  16. I got it resolved, but yes, I tried an absolute...

    I got it resolved, but yes, I tried an absolute path, and still nothing.

    This is what worked for me. It be have extra unneccessary code, but I haven't gotten around to testing what's not needed
    ...
  17. Trouble opening file located in different directory

    I keep getting file not found while trying to traverse the directories on my server.

    For example I try to go up two folders to my root using the command chdir('../../') and then I've tried these...
  18. Replies
    1
    Views
    1,241

    I just noticed the comparison is correct. My old...

    I just noticed the comparison is correct. My old data was getting modified, so when the new data was coming in, it was getting compared to the modified data.

    I'm an idiot.
  19. Replies
    1
    Views
    1,241

    Comparing JSON data

    I'm trying to compare incoming JSON data to the existing data to see if there are any changes, but for giant objects like:


    [{"date":"2011-09-03...
  20. Replies
    9
    Views
    2,325

    I would say replace the GMT with UTC using a...

    I would say replace the GMT with UTC using a regexp because what it boils down to is that GMT is just milliseconds difference from UTC, which I don't really find important when it comes to web...
  21. Replies
    9
    Views
    2,325

    what's ur browser?

    what's ur browser?
  22. Replies
    9
    Views
    2,325

    Found solution that works function...

    Found solution that works



    function parseDateFormat(input, format) {
    format = format || 'YYYY-MM-DD hh-mm-ss'; // default format
    var parts = input.match(/(\d+)/g),
    i = 0, fmt =...
  23. Replies
    9
    Views
    2,325

    I still get invalid date with new...

    I still get invalid date with new Date("2011-09-03 02:23:24".replace(" ", "T")) with Safari. I realize this works in firefox, but I'm looking for a cross-browser solution
  24. Replies
    9
    Views
    2,325

    String to Datetime

    is it possible through the Date() object to parse a string such as 2011-09-03 02:23:24 into a Date object?
  25. Replies
    3
    Views
    2,113

    Wooowww, you are my hero right now. Thanks,...

    Wooowww, you are my hero right now. Thanks, that's perfect
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles