1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

"Enterprise" HTML/CSS/JS

Discussion in 'Off Topic' started by Dismounted, Oct 20, 2010.

  1. Dismounted

    Dismounted Well-Known Member

    I've just discovered this set of sites, and I think XenForo should adopt these policies. :D
    Discovered this "tip":
    http://enterprise-js.com/7

    Just some funny ones for developers...
     
    feldon30 likes this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    This one made me chuckle :D

    EXTREMELY DESCRIPTIVE SELF-DOCUMENTING VARIABLE NAMES
    PHP:
    function CatObjectThatInheritsAnimal() {
     
    this.yellowFurColorString "yellow";
     
    this.animalsAgeInYears 10;
    }

    CatObjectThatInheritsAnimal.prototype = new AnimalObjectThatInheritsNothing;
    http://enterprise-js.com/2
     
  3. Dismounted

    Dismounted Well-Known Member

    This one too:

    Make sure your CSS file names do everything but end in .css.
    Code:
    /en/shared/core/2/css/css.ashx?sc=/en/us/site.config&pt=cspMscomHomePage&c=c
    spMscomSiteBrand;cspSearchComponent;cspMscomFeaturePanel;cspMscomMasterNavigation;cs
    pMscomNewsBand;cspVerticalRolloverTab;cspAdControl;cspMscomVerticalTab;cspSilverGate
    http://enterprise-css.com/8 :D
     
  4. feldon30

    feldon30 Well-Known Member

    LOL

    They could have registered it as ICanHazInternetz.com or HTMLROFL.com.
     
  5. Deceptor

    Deceptor Active Member

  6. Lucas

    Lucas Well-Known Member

    CODING WITH IE8 IN MIND... AND IE7... AND IE6...

    Code:
    <head>
        <link rel="stylesheet" type="text/css" href="/css/style.css" />
        <!--[if IE]><link rel="stylesheet" type="text/css" href="/css/ie-all.css" /><![endif]-->
        <!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="/css/ie7.css" /><![endif]-->
        <!--[if lte IE 6]><link rel="stylesheet" type="text/css" href="/css/ie6.css" /><![endif]-->
    </head>
    lol
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Sadly I had to do exactly that on my site due to IE rubbish standards compliance.
     
  8. Trip

    Trip Active Member

    "Use HTML5 to link links to functions that link to links." What? haha
    I had to do the same thing with IE7,IE6. I didn't think anything of it at the time, now I see it again wrapped in code tags, it looks absolutely silly :confused:
     
  9. Cezz

    Cezz Well-Known Member

Share This Page