My Programming Tricks
Labels
HTML
Table
Input
iFrame
CSS
Javascript
IE
Firefox
Animation
Other
PHP
Facebook
Monday, December 6, 2010
ASP Sniffer Out IE Sample Codes
user_agent = request.servervariables("HTTP_USER_AGENT")
if InStr(user_agent,"MSIE") > 0 then
position = "absolute"
else
position = "fixed"
end if
These codes above is good to sniff out IE with the rest of the browser in ASP.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment