The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Web Dev One-liner

Last post 11-23-2008 11:49 PM by helpfulcorn. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-22-2008 9:03 PM

    Web Dev One-liner

    Discovered on a site that happens to have about 50mb of jpegs (the vast majority unrelated to the page in question) sitting directly in the "images" directory:

    <body onLoad="MM_preloadImages('images/home.jpg', 'images/*.jpg')">

    For those unfamiliar with the image preloading javascript function bundled with Dreamweaver: no, it does not handle wildcards. 

  • 11-23-2008 11:49 PM In reply to

    Re: Web Dev One-liner

    I wouldn't think it would, I mean most of the time you can't get directory listings (at least not these days), so the server would have to somehow, magically send you a list back based on your wild card... the whole thing makes my head explode.

Page 1 of 1 (2 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems