My Programming Tricks
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
‹
›
Home
View web version
No comments:
Post a Comment