Welcome To Snipplr


Everyone's Recent Snippets Tagged browser



1 2 3 4 Next »
https://www.chrisjmendez.com/2008/10/18/jquery-detecting-a-browser-resize/
8 1095 posted 15 years ago by chrisaiv
https://www.chrisjmendez.com/2008/10/18/jquery-common-browser-sniffing/
6 719 posted 15 years ago by chrisaiv
Modified just a bit. This version includes the Google Chrome beta.
2 727 posted 15 years ago by wizard04
When you klick a link in Firefox... there is a dotted outline. Hide it with outline:none.
0 474 posted 15 years ago by FlashJunior
Bugfix/Lösungsvorschlag: Es ist offensichtlich, dass die Zelle mit der ID cell3467 und dem definierten "margin-right: 3.09%" falsch berechnet wird - nämlich mit realen 16 Pixeln anstatt 8 - und auf den obersten Basis-Wert der "DIV width" zurück...
1 680 posted 15 years ago by bassdas
Note that the comment is part of the code here. IE 5+ (including Mac) will evaluate to true by using conditional compilation.
0 611 posted 16 years ago by cczona
„Versioning and Cross-document InteractionInternet Explorer 8 introduces the IE8 standards mode by default—this lets Web designers use the latest rendering features available in Internet Explorer 8. In addition to layout changes, IE8 standards mo...
3 935 posted 16 years ago by localhorst
2 660 posted 16 years ago by smartalec
From the TextMate HTML bundle
1 593 posted 16 years ago by heinz1959
There must also be a JavaScript function defined in the containing HTML page: function makePopup(url,pop_name,width,height) { window.open(url, pop_name, "width="+width+",height="+height+",resizable=yes,scrollbars=yes"); }
1 672 posted 16 years ago by Bonky
echo ( browser_detection( 'number' ) .''. browser_detection( 'browser' ) .''. browser_detection( 'os' ) .''. browser_detection( 'os_number' ) ); Outputs (browser version, browser, os, os number): 1.5 moz nt 5.1 if ( ( browser_de...
2 894 posted 16 years ago by llbbl
This getURL uses javascript to set the browser size.
2 676 posted 16 years ago by mswallace
3 774 posted 16 years ago by soxiam
This functions allows you to create a new XMLHTTPRequest, it checks to see if the browser supports each method, if not it returns false.
4 918 posted 17 years ago by 1man
A great script that will serve up stylesheets based on browser viewport size.
5 902 posted 17 years ago by aznprncritic
A useful but often overrated JavaScript function is the browser detect. Sometimes you want to give specific instructions or load a new page in case the viewer uses, for instance, Safari. Copy this script into your JavaScript files. It works immedi...
1 729 posted 17 years ago by jonhenshaw
Heres how to use print_r(browser_detection('full')); We can also use this script print "IP: ". $_SERVER['REMOTE_ADDR'].""; ### IP ADDRESS ## print "Browser:" . $_SERVER["HTTP_USER_AGENT"].""; ## Browser print "OS: ". $_ENV["OS"]; ### OS
8 741 posted 17 years ago by mail_json
Support: Fx2, Opera9, IE6 I don't have warrant of Safari's run and NN4. However, I think that this code is perhaps safe.
3 551 posted 17 years ago by kif
This is a way to determine if the browser uses the KHTML engine or if it is the Konqueror Browser.
2 828 posted 17 years ago by rolandog
Deals with the fact that mouse buttons are referenced in different ways by different browsers.
0 1034 posted 17 years ago by MyKey_
Detects the browser and its version.
99 7348 posted 17 years ago by MyKey_
1 2 3 4 Next »