|
-
Aug 6th, 2002, 06:18 PM
#1
Thread Starter
Hyperactive Member
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
-
Aug 7th, 2002, 12:23 AM
#2
Frenzied Member
Simple solution to a simple problem. Dont support Netscape.
Dont gain the world and lose your soul
-
Aug 7th, 2002, 08:46 AM
#3
try addding the ../ before the cpthandler part.
-
Aug 7th, 2002, 10:27 AM
#4
Thread Starter
Hyperactive Member
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
-
Aug 7th, 2002, 10:31 AM
#5
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.
-
Aug 7th, 2002, 10:47 AM
#6
Thread Starter
Hyperactive Member
Ya, I'm forced to have the majority of my apps work seamlessly in netscape/ie. It SUCKS!
-
Aug 7th, 2002, 12:31 PM
#7
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|