navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Explorer/Navigator problem

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Explorer/Navigator problem
Page: [1]
 
Guest


 
Explorer/Navigator problem - 4/1/2001 16:28:00   
I have a website that uses SSI to display pictures and captions <http://www.d.umn.edu/~ewestman/orch/day1.shtml>. It looks good in Explorer, but Netscape screws up the table format.

I would like to have two formats to display the pictures - one for IE, the other for NN. Is there any slick way to detect what browser is being used to look at your site, and then change SSIs to accomodate that? I don't need a terribly detailed answer - if someone could just point me in the right direction I would be appreciative. Thanks.

Gil

 

Posts: 7533
From: North Carolina, USA
Status: offline

 
RE: Explorer/Navigator problem - 4/1/2001 17:48:00   
You can use a script to detect the browser and display a page for it and just call whatever SSI works for that browser.
Here's a really simple script, it doesn't look for versions just NN or IE

<SCRIPT LANGUAGE="JavaScript">

app = navigator.appName
if (app == 'Netscape'){
parent.location="Netscape.html"
}
else if (app == 'Microsoft Internet Explorer'){
parent.location="IExplorer.html"
}
</SCRIPT>

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"How Can I Miss You If You Won't Go Away? "


(in reply to Guest)
Guest


 
RE: Explorer/Navigator problem - 4/1/2001 21:10:00   
Thank you, that worked. One question though. When I use this code, after the browser is redirected it pops out of the frame that it was in and displays full-screen. Is there any way to keep it on the frame?

Thanks again.


(in reply to Guest)
Gil

 

Posts: 7533
From: North Carolina, USA
Status: offline

 
RE: Explorer/Navigator problem - 4/1/2001 22:17:00   
Frames? Well, I won't go into all the obvious reasons not to use frames here - just make each browser specific page (Netscape.html & IExploer.html in the example above) a frameset...

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"How Can I Miss You If You Won't Go Away? "


(in reply to Guest)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Explorer/Navigator problem
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts