INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS
Come Join Us!
Are you a
Computer / IT professional?
Join Tek-Tips now!
- Talk With Other Members
- Be Notified Of Responses
To Your Posts
- Keyword Search
- One-Click Access To Your
- Automated Signatures
On Your Posts
- Best Of All, It's Free!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.
Partner With Us!
"Best Of Breed" Forums Add Stickiness To Your Site
(Download This Button Today!)
"...It's extraordinarily refreshing to see truly expert advice without having to wade through hipper than thou attitude..."
Where in the world do Tek-Tips members come from?
DTC support in IE 6/Netscape 6
Posted: 12 Nov 02
Most DTC's check the global page-object value
to see if the users' browser supports DHTML.
This function is defined in _ScriptLibrary/PM.ASP.
Unfortunately, it was set-up before IE 6 and Netscape 6 - so these are seen as NON-DHTML browsers!
You need to adjust the script in PM.ASP to provide the required browser support:
if (typeof(this._isDHTMLBrowser) == 'undefined')
this._isDHTMLBrowser = false;
var userAgent = String(Request.ServerVariables('HTTP_USER_AGENT'));
if (userAgent.indexOf('MSIE 4.') != -1 ||
userAgent.indexOf('MSIE 5.') != -1 ||
userAgent.indexOf('MSIE 6.') != -1 ||
userAgent.indexOf('Mozilla/5') != -1 )
this._isDHTMLBrowser = true;
Of course, you could replace this with more advanced techniques to determine the browser capabilities (e.g. browcap.dll).
Or you could reverse the logic - and assume DHTML unless it is Netscape 4 or IE 3 or less.
Back to Microsoft: Visual InterDev FAQ Index
Back to Microsoft: Visual InterDev Forum
Join Tek-Tips® Today!
Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.
Here's Why Members Love Tek-Tips Forums:
- Talk To Other Members
- Notification Of Responses To Questions
- Favorite Forums One Click Access
- Keyword Search Of All Posts, And More...
Register now while it's still free!
Already a member? Close this window and log in.
Join Us Close