Skip to content

Enhancement: IE8 & older jQuery support #2

@razvanioan

Description

@razvanioan

Sometimes maybe we're restricted to use some older jQuery frameworks or asked by the client for IE8 support.

Bellow is what I've done on order to have this working on IE8 & jQuery 1.3.2, maybe others are interested in:

  • IE8 was not wrapping at all CAspineTitle into corresponding DIV, thus titles were not rotated 90 degrees:
CAspine.wrapInner('<span class="CAspineTitle">').addClass('CAspine').addClass('CAspine_' + (index + 1));
CAspine.wrapInner('<span class="CAspineTitle" />').addClass('CAspine').addClass('CAspine_' + (index + 1));
  • IE8 & 9 raising errors about localStorage so I completely removed IE from it's support (and forced to use cookies) in localStoreSupport
return !$.browser.msie && 'localStorage' in window && window['localStorage'] !== null;
  • older jQuery support (1.3.2 was my target). Just changed .on() methods to .bind() in all the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions