Results 1 to 7 of 7

Thread: netscape/ie problemo

  1. #1

    Thread Starter
    Hyperactive Member pgrimes's Avatar
    Join Date
    Aug 2001
    Location
    sacramento
    Posts
    342

    netscape/ie problemo

    Hi There.

    In internet explorer, this code:
    Code:
        for (int i=0; i<=Files.Length-1; i++) {
    	 if (Files[i].Extension.ToUpper() == ".CPD"){
          txtListing.Text += "<tr><td><img src='images/file.gif'><a href='/cpthandler/SVGgraph/svgGraph.aspx?cptFilePath="+strDir+"\\"+Files[i].Name+"' target='_blank'>"+Files[i].Name+"</a></td><td valign='bottom'>"+Files[i].LastWriteTime+"</td></tr>";
         }
    Makes this link:
    http://149.136.90.51/cpthandler/SVGg...101\99-132.CPD


    In Netscape, this code:
    Code:
        for (int i=0; i<=Files.Length-1; i++) {
    	 if (Files[i].Extension.ToUpper() == ".CPD"){
          txtListing.Text += "<tr><td><img src='images/file.gif'><a href='/cpthandler/SVGgraph/svgGraph.aspx?cptFilePath="+strDir+"\\"+Files[i].Name+"' target='_blank'>"+Files[i].Name+"</a></td><td valign='bottom'>"+Files[i].LastWriteTime+"</td></tr>";
         }
    Makes this link:
    http://149.136.90.51/cpthandler//cpt...3.4\99-160.CPD

    Notice how the link in crappy old netscape (version 4.7 & 6.1) has the folder name listed in there twice....
    that is a problem for me.

    Any idea why it's happenin'?

    Thanks,

    Paul

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    Simple solution to a simple problem. Dont support Netscape.
    Dont gain the world and lose your soul

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    try addding the ../ before the cpthandler part.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4

    Thread Starter
    Hyperactive Member pgrimes's Avatar
    Join Date
    Aug 2001
    Location
    sacramento
    Posts
    342
    DevGrp...
    Simple solution to a simple problem. Dont support Netscape.
    Oh... if I only could. I work for the state (CA) and it is their friggin' default browser. grrr.


    Cander...
    try addding the ../ before the cpthandler part.
    Sweet... that worked.


    thanks much,

    Paul

  5. #5
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913


    and DevGrp, sometime you just dont have a choice in what browsers to support. Ive done 3 big projects where I work, 2 of them had to work in netscape/ie and the 3rd I was able to do ie only. It just depends.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  6. #6

    Thread Starter
    Hyperactive Member pgrimes's Avatar
    Join Date
    Aug 2001
    Location
    sacramento
    Posts
    342
    Ya, I'm forced to have the majority of my apps work seamlessly in netscape/ie. It SUCKS!

  7. #7
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    I figured this was just a personal project, anyway I'm glad you got your question answered though.

    .dev
    Dont gain the world and lose your soul

Posting Permissions

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



Click Here to Expand Forum to Full Width