FrontPage and IE 7

R

Riker

I use FrontPage 2003 to upkeep a website. The home page has a set of menus
down the left side. These menus display and work fine with IE6, Firefox 1 & 2
and the various Netscapes but they are all piled one on top of another when
the website is viewed using IE 7. Any possible explanations. The website is
www.aurorasoccer.ca.
 
F

Frankster

I am not a web designer nor an expert. That said...

Yes, it's fouled up here as well using ie7.

The left pane source code looks like a lot of special instructions for
various web browsers.

One line... "this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 ||
this.ns6 || this.opera5)"

Maybe you need "ie7"? Or maybe just eliminate the dependency on specific
web browsers for proper display by changing the type of menu?

-Frank
 
T

Trevor L.

Frankster said:
I am not a web designer nor an expert. That said...

I am no expert in IE7, either. (I have only used a pre-release version a
couple of times, and then removed it.)
Yes, it's fouled up here as well using ie7.

The left pane source code looks like a lot of special instructions for
various web browsers.

One line... "this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 ||
this.ns6 || this.opera5)"

Maybe you need "ie7"? Or maybe just eliminate the dependency on
specific web browsers for proper display by changing the type of menu?

I agree. The code seems very dependent on browser type and a variable ie7 is
not even defined

There is a line which says
if(bw.bw) onload = initFoldout;

Inside the function lib_bwcheck()
bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)
This will be false

Since the varibable bw=lib_bwcheck() , bw.bw must be false, and initFoldOut
will not be executed

In fact there is a comment
// If the browser is ok, the script is started onload...

So conversely,
// If the browser is NOT ok, the script is NOT started onload...
 
W

Windsun

That is some of the ... strangest code I have ever seen.

It looks like an ancient javascript code for formatting for a bunch of old
browsers that have not been around since pre-2000. And obviously no recent
browsers, like ie7 (nor FireFox/Moz) is in that list, so it breaks. It is
not an IE7 issue, it is a code issue.

Almost every browser listed here "this.bw=(this.ie6 || this.ie5 || this.ie4
|| this.ns4 || this.ns6 || this.opera5)" but IE6 is ancient history - there
is no need for all that junk in there. I am surprised that it works at all
in any modern browser.

Also you do not have a DOCTYPE specified, so IE7 is probably going into
quirks mode.
 
S

Steve Easton

Windsun said:
That is some of the ... strangest code I have ever seen.

It looks like an ancient javascript code for formatting for a bunch of old browsers that have not been around since
pre-2000. And obviously no recent browsers, like ie7 (nor FireFox/Moz) is in that list, so it breaks. It is not an
IE7 issue, it is a code issue.

Almost every browser listed here "this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)"
but IE6 is ancient history - there is no need for all that junk in there. I am surprised that it works at all in any
modern browser.

Also you do not have a DOCTYPE specified, so IE7 is probably going into quirks mode.

No probably about it, it is definitely going into Quirks Mode, as is every other browser.


--
Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 
D

DCatHomeUK

Quote "And obviously no recent browsers, like ie7 (nor FireFox/Moz) is in
that list, so it breaks."

But it works in FF???
(Blinkered again?)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top