dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: deathshadow

Page 1 of 20 1 2 3 4

Search: Search took 0.09 seconds.

  1. Alright, first -- lemme explain the templating...

    Alright, first -- lemme explain the templating system I used. When working with prototyping PHP code I find it helps to get all the stuff that has NOTHING to do with what we are actually working on...
  2. Wow, I look and look and look at it on the...

    Wow, I look and look and look at it on the laptop, don't see anything wrong. I finally sit down at my workstation, and I'm wondering what drooling idiot wrote this code. (the answer of course being...
  3. Classes have jack **** to do with semantics!!!...

    Classes have jack **** to do with semantics!!! (The string of expletives that spewed forth from my mouth when I saw your post would make Gunny Ermee blush) While it's good practice to use meaningful...
  4. That's another my bad, I copied from some other...

    That's another my bad, I copied from some other code where w = window

    if (window.eventListener) window.addEventListener('load', startSlideShow, false);
    else window.addEventListener('onload',...
  5. $allowed_types="(\.jpg$)|(\.png$)|(\.jpeg$)|(\.gif...

    $allowed_types="(\.jpg$)|(\.png$)|(\.jpeg$)|(\.gif$) |(\.Gif$)";

    Is outright gibberish, that's a string, not an array, so of course in_array can't parse it. I don't know where you got that from,...
  6. Replies
    8
    Views
    924

    NogDog has it right that it's a VERY loaded...

    NogDog has it right that it's a VERY loaded question and there is no RIGHT answer... BUT:

    There are a lot of WRONG answers. Dreamweaver is a fat bloated steaming pile of manure that the ONLY thing...
  7. Replies
    6
    Views
    623

    If I were to take a wild guess, I'd say that your...

    If I were to take a wild guess, I'd say that your using "string as array indexes" is breaking the multi-byte order. You are probably copying byte-by-byte instead of character by character, which...
  8. Oh, I just loaded it into FF for testing and got...

    Oh, I just loaded it into FF for testing and got a whole different appearance... and there's why -- background-image on HTML is unreliable, really that should be treated as a non-render element....
  9. The goofy webfont is hard to read, particularly...

    The goofy webfont is hard to read, particularly on the menus; but I'm not a huge fan of webfonts... the padding on the menu column feels a bit arbitrary/inconsistent... I'd highly suggest pushing...
  10. Either down the schedule or off them entirely --...

    Either down the schedule or off them entirely -- though NogDog is right you should learn enough of them so that when you are cleaning up other people's messes you have some clue what they were TRYING...
  11. That really depends on your skill level -- I...

    That really depends on your skill level -- I learned early on that shared hosting that leaves you at the mercy of the host is one of the many roads to failure, or at the very best an "also ran"...
  12. Replies
    5
    Views
    863

    TRYING to set aside that the "SEO" this site is...

    TRYING to set aside that the "SEO" this site is about is more scam than fact...

    The site itself reeks of being some off the shelf template that's had some images swapped and colors applied -- and...
  13. Replies
    12
    Views
    1,069

    Ok, I get it. I would FIRST make it work as a...

    Ok, I get it. I would FIRST make it work as a normal sub web-page load, THEN enhance it with AJAX.

    All good JavaScript should enhance and already working page, instead of being "the only way it...
  14. Replies
    12
    Views
    1,069

    oops, that's another typo. echo ' ...

    oops, that's another typo.


    echo '
    <td>
    <a href="', $website, '?row=', urlencode($row['V_ID'], '&amp;col=', urlencode($index), '&amp;value=', urlencode($row[$index]), '">
    ',...
  15. ... and will let you identify when you have the...

    ... and will let you identify when you have the right tool for the job, the pointless tool, or when things like a "framework" is turning you into a tool.
  16. Switch back to declaring array the PHP 5.3 style...

    Switch back to declaring array the PHP 5.3 style like you originally had it, or switch to a host that isn't garbage. The bracket style I used is PHP 5.4+ only.

    Really, I'd ***** out your host...
  17. offsetLeft is read-only non-CSS. As such it isn't...

    offsetLeft is read-only non-CSS. As such it isn't even a property of the STYLE object. There is NO SUCH THING as style.offsetLeft... there's Element.offsetLeft, but again that's read-only.
    ...
  18. Probably means PHP doesn't have read permission...

    Probably means PHP doesn't have read permission to the subdirectory on the opendir -- is that why you were mucking about with FTP is your hosting is set up wrong for this type of task?
  19. Some advice: Learn to use JS without jQuery...

    Some advice:


    Learn to use JS without jQuery or any other framework bull FIRST -- you'll quickly find that jQuery is a fat, bloated steaming pile of manure used by halfwits to piss on websites...
  20. Replies
    5
    Views
    1,499

    Poll: Other I voted it will increase even though I'm against...

    I voted it will increase even though I'm against it; the "flash over substance, gee ain't it neat" mouth breathing halfwits are just going to make websites more and more painful to use because...
  21. Replies
    5
    Views
    744

    I don't think you have all your opening and...

    I don't think you have all your opening and closing brackets and parenthesis correct. There seems to be a whole slew at the bottom for nothing, and some of your else don't even line up with IF...
  22. Ok, all you are asking for then is a dynamic...

    Ok, all you are asking for then is a dynamic slideshow that shows it's timer? That's pretty simple, though I unless you are REALLY sure you are pulling from a different domain (which you don't...
  23. Is that supposed to be two separate files? I'm...

    Is that supposed to be two separate files? I'm not sure why you'd be outputting a URL before you even have a doctype.

    I think you got a bit too complicated in your scripting -- modulo is your...
  24. Pretty much, just DON'T -- don't go making ****...

    Pretty much, just DON'T -- don't go making **** up... don't go making tags up, don't go making attributes up -- we have semantic markup for a REASON, you have CONTENT for a reason, let them do their...
  25. Replies
    12
    Views
    1,069

    I missed a ) on one of the urlencode, what I get...

    I missed a ) on one of the urlencode, what I get for typing it in the edit box here instead of a real editor.


    echo '
    <td>
    <a href="', $website,
    '?row=',...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles