Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cross-browser]

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.

0
votes
0answers
25 views

Table th/td absolute positioning: 1px dislocation

Table th/td absolute positioning: 1px dislocation when the table is scrolling, the last column is fixed. The last column of cells use absolute positioning. Firefox / Edge / IE, have a 1px ...
1
vote
1answer
56 views

Reusable webdriver framework using SOLID design principles

I am trying to design some classes which I intent to use as a framework. I would like them to be compliant to SOLID design principles. I had a basic structure and then I implemented Strategy design ...
0
votes
2answers
76 views

Attaching a click handler in a cross-browser way

I have been attempting to have a method call, with a parameter, inside of a ternary operator to simplify some code. Code: ...
2
votes
0answers
56 views

Chromium based browser and Firefox omnibox: paste/type search keywords to go straight to google.com search results

Functions and features: paste/type search keywords to go straight to google.com search results pages - explicitly google.com NO google.TLD ...
0
votes
0answers
28 views

JavaScript class for the browser Viewport

After years of wishing there was a class that encapsulated the idea of a browser view port, I went ahead and built one. Features include: Basic dimensions of the viewport Scroll position Adding and ...
0
votes
1answer
35 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 ...
2
votes
1answer
688 views

Displaying “tooltips” in Highcharts

I have the following piece of code: ...
2
votes
1answer
172 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
2k 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
579 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 ...
3
votes
1answer
58 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-...
6
votes
1answer
442 views

Toggling Fullscreen

Please review this code: ...
6
votes
2answers
3k 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 ...
1
vote
1answer
421 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'...
11
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 ...
4
votes
1answer
828 views

Cross-browser double form submit prevention

We developed a potential solution for the double form submit prevention and we need some review on it. To be able to execute this code on asp.net we needed to add our function call directly into the <...