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
1213
posted 11 years ago by brownrl
A function and if statement to detect whether or not the browser is a mobile device.
0
1789
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
942
posted 11 years ago by apphp-snippets
Helps to find out browser version and type your website visitor is using.
0
923
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
1249
posted 12 years ago by Verician
JQuery dependent snippet that will detect OS, Browser and Version
0
1007
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
919
posted 12 years ago by thewickedchemist
Скрипт "Материализатор", Ñнабжающий Ñочным подтекÑтом любой текÑÑ‚. Выкладываю здеÑÑŒ, поÑкольку ÑÑылки на [оригинальном Ñайте](http://lleo.me/dnev...
0
726
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
1032
posted 13 years ago by MohamedAlaa
This will get the arguments on the query string and put them into a handy array.
0
979
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
1036
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
1520
posted 13 years ago by cesarkohl
Automatically use jQuery to Open External Links in New Window (checking domain first).
3
1153
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
746
posted 13 years ago by paul66