JavaScript PopUp, or not...

Results 1 to 2 of 2

Thread: JavaScript PopUp, or not...

  1. #1
    Matt Howe Guest

    Default JavaScript PopUp, or not...

    I&#039d like to display a page using a popup window... Simple enough, using JS. But if the user&#039s browser doesn&#039t support JS, or has it turned off, I&#039d like to display the page in the current window. I guess if there&#039s a way to determine the browser type in ASP there would be no problem. How can I do this? Thanks!<BR><BR>-Matt

  2. #2
    Anil Tumati Guest

    Default RE: JavaScript PopUp, or not...

    Hey Matt.<BR><BR>This is how u can detect the browser in ASP<BR><BR>dim Whichbwsr,InIt<BR>whichbwsr=Request.ServerVariable s("HTTP_USER_AGENT")<BR>InIt=InStr(Whichbwsr,"MSIE ")<BR>if InIt &#060;&#062; 0 then <BR> Statements<BR>else<BR> Statements<BR>end if<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts