Category: Scripting

  • HTML5 can’t replace Flash

    HTML5 can’t replace Flash

    I was talking to a co-worker today and had a realization. HTML5 can never replace flash.

    One of the primary goals of HTML and JavaScript is transparency, the accessibility to the code that drives the page. Exposing code so that others can learn from it. In fact this attribute is credited with the proliferation of the web. This poses a serious risk for some web content. If you produced a highly interactive, community driven game would you want you intelectual property (ip) exposed? Web sites don’t expose their business logic. No one expects Amazon to expose how they drive their shopping logic. If Poptropica, a popular game/community for kids, was produces in HTML and JavaScript anyone that visited your site could copy the code, modify it, republish it, and monetize that ip. Who would want that? So think twice before wishing that HTML5 should replace Flash.

  • Firefox 3 and JSON

    Firefox 3 and JSON

    title-firefox1Has anyone else run into problems with their JSON and Firefox 3? We are rounding up development on one of the projects I am working on and Firefox 3 has thrown us a curve ball. Firefox 2, Safari 2.04, Safari 3, IE 6, IE 7 all test out fine on Mac and Windows.I have read that there was a new JSON interpreter in FF3, but I expected new…to mean better, not broken. Any thoughts?

  • Silly Lawyer, what are you thinking?

    Silly Lawyer, what are you thinking?

    silly-lawyerAccording to John W. Dozier, Jr., the “Super Lawyer”, viewing his site’s HTML source, as in, “right-click – view page source” is illegal. They are trying to claim that viewing their page source is a copyright violation. Additionally they have an End User License Agreement, EULA prohibiting this behavior, as well as forbidding links to their site.

    Now the interesting thing is that the code for the home page, as an example, is really poorly built. They still use tables for layout, and the JavaScript is embedded in the header. Worse still they are an internet law firm.

    There are a few things that strike me as ludicrous from a developer’s standpoint. (more…)

  • setAttribute, a gallery, IE, and hours of my life wasted

    setAttribute, a gallery, IE, and hours of my life wasted

    One of my favorite books is Dom Scripting by Jeremy Keith. I’ve used his concepts for a gallery I designed for my dad’s portfolio. Well in the process of making updates to that site I ran into a problem. I wanted to display wider images than normal for one of the pages, to not have to reduce the images down to fit on the page. I turned on scrolls for the overflow adding to the CSS rule for the gallery div. That’s when it all went south. (more…)