Welcome To Snipplr
Everyone's Recent Snippets Tagged browser
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is my simple image resizer on the fly thing.
-- WARNING --
Resizing and showing images on the fly could potentially kill your server or make the website slow.
Ideally, this should save the resized image in a cache. However, more often th...
0
1203
posted 11 years ago by brownrl
A function and if statement to detect whether or not the browser is a mobile device.
0
1784
posted 11 years ago by nshakin
Using the same code in different browsers can be displayed in different ways. Resetting styles will help you to avoid such problems.
0
940
posted 11 years ago by apphp-snippets
Helps to find out browser version and type your website visitor is using.
0
919
posted 11 years ago by apphp-snippets
I needed to open a browser window from my small C# app as a result of a dynamic URL build from data received from the command line. This did the trick!
1
1245
posted 12 years ago by Verician
JQuery dependent snippet that will detect OS, Browser and Version
0
996
posted 12 years ago by MagnerSanborn
Simple mix of basic CSS, HTML, and jQuery to detect IE and display a message to the user encouraging them to update.
0
914
posted 12 years ago by thewickedchemist
Скрипт "Материализатор", Ñнабжающий Ñочным подтекÑтом любой текÑÑ‚. Выкладываю здеÑÑŒ, поÑкольку ÑÑылки на [оригинальном Ñайте](http://lleo.me/dnev...
0
720
posted 13 years ago by certainlyakey
Cross Browser CSS Arrows / Triangles
========
*Tags: css, css Arrow, CSS Triangles, Cross Browser CSS Arrow, Cross Browser CSS Triangle*
**Copyrights:**
All Copyrights reserved to [Mohamed Alaa - Front End Developer](http://www.seniorwebdes...
0
1029
posted 13 years ago by MohamedAlaa
This will get the arguments on the query string and put them into a handy array.
0
974
posted 13 years ago by brownrl
Will produce output like this:
<html>
...
</html>
<html>
...
</html>
Target in CSS like this:
html[data-useragent*='Chrome/13.0'] .nav {background:url(img/radial_grad.png) center bottom no-repeat;}
or
html[data-useragent*=...
0
1029
posted 13 years ago by reverend
The HTML simply discovers if it's IE and its version or if it's not IE.
The jQuery discovers if it's IE, Firefox, Webkit Engine (Chrome and Safari) or Opera and its version as an integer.
1
1513
posted 13 years ago by cesarkohl
Automatically use jQuery to Open External Links in New Window (checking domain first).
3
1150
posted 13 years ago by mindshare
Sometimes, pages can be shorter than the browser view-port, and when you load a page on the same site that has longer content and uses a scrollbar, content can jump side to side. By forcing a scrollbar no matter the height of our content, we stop thi...
0
742
posted 13 years ago by paul66