Cross-browser refers to the ability of a website, web application, HTML construct or client-side script to function in environments that provide its required features and to bow out or degrade gracefully when features are absent or lacking.

learn more… | top users | synonyms

0
votes
1answer
24 views

File listing layout

I am designing a very basic file listing layout in HTML and CSS. Although its working but I would like to know if the following code could be improved upon so that its more good and follows the best ...
4
votes
2answers
2k views

User agent classification using switch (true)

I've seen usage of switch(true) multiple times and have used it myself today instead of multiple elseif`s. Here is the case I ...
2
votes
1answer
204 views
2
votes
1answer
76 views

Cross browser JavaScript implementation of xhr

I wrote a small, cross browser compliant implementation of xhr requests in client JavaScript that closely follows the jQuery $.ajax() API and standards. The goal is ...
1
vote
1answer
721 views

Converting an SVG polygon path from relative to absolute coordinates

This question was moved from StackOverflow as suggested by some users. I developed a function that aims to (should) provide a simple and effective method to transform a polygon ...
5
votes
1answer
316 views

IE compatibility mode detection

This method is written for much larger Web application, but I just extracted it and added class and main method around it so that it can be debugged locally. Browser detection is done in another ...
6
votes
1answer
319 views
1
vote
1answer
273 views

Implementing a cross-browser event utility as an exercise

I am currently learning JavaScript and created this cross-browser event utility as a learning exercise. It was not meant to be used in production code, and I just tried to cover only the cases that I'...
3
votes
1answer
50 views

Re-writing rough JS code with loads of jQuery plugins

I want to include about 10 jQuery plugins in a project but do so in a better way than just pasting them into a JS file. I want to capture various device data and other data passed from the server-...
10
votes
1answer
3k views

querySelectorAll shim for non-IE browsers

Every shim I have seen for this function has used the IE-only CSS expression trick. While there's no denying it's effective, it's made useless if the browser is not ...