Connecting Tech Pros Worldwide Forums | Help | Site Map

Why IE 7 shrinks Javascript code?

xx75vulcan@juno.com
Guest
 
Posts: n/a
#1: Aug 16 '06
Can anyone tell me why the IE 7 Beta, (and I can only assume the final
releae) takes my javascript and shrinks all the items being displayed,
and makes them appear one-on-top-of-each-other?

Link to my example page: http://www.rockwood.k12.mo.us/bowles/left.htm

If you see it all layed out nicely, and you can click on items, and you
see submenu appear, then it's working correctly. If you see only one
menu, with a bunch of items piled ontop of each other, then you're
seeing what IE 7 is doing to it.

How can I fix this?

Is there an attribute missing?

Much thanks!!

Chris


Randy Webb
Guest
 
Posts: n/a
#2: Aug 17 '06

re: Why IE 7 shrinks Javascript code?


xx75vulcan@juno.com said the following on 8/16/2006 5:12 PM:
Quote:
Can anyone tell me why the IE 7 Beta, (and I can only assume the final
releae) takes my javascript and shrinks all the items being displayed,
and makes them appear one-on-top-of-each-other?
Opera 9 doesn't like your code either. So it's not an IE7 issue, it's an
issue with your code.
Quote:
Link to my example page: http://www.rockwood.k12.mo.us/bowles/left.htm
If you see it all layed out nicely, and you can click on items, and you
see submenu appear, then it's working correctly. If you see only one
menu, with a bunch of items piled ontop of each other, then you're
seeing what IE 7 is doing to it.
>
How can I fix this?
You can start by ditching that worthless crappy browser detection code.
After seeing that I wasn't going to wade through it all.

But, for what it's worth, the "issue" in Opera 7, Opera 8, Opera 9, IE7
and no telling where else.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
RobG
Guest
 
Posts: n/a
#3: Aug 17 '06

re: Why IE 7 shrinks Javascript code?



xx75vulcan@juno.com wrote:
Quote:
Can anyone tell me why the IE 7 Beta, (and I can only assume the final
releae) takes my javascript and shrinks all the items being displayed,
and makes them appear one-on-top-of-each-other?
>
Link to my example page: http://www.rockwood.k12.mo.us/bowles/left.htm
>
If you see it all layed out nicely, and you can click on items, and you
see submenu appear, then it's working correctly. If you see only one
menu, with a bunch of items piled ontop of each other, then you're
seeing what IE 7 is doing to it.
>
How can I fix this?
Use a list element to display list items - if I visit your site with
JavaScript disabled, I see absolutely nothing.

There are thousands of examples of dynamic lists, most require far less
code than the one you are using, are simpler and work more reliably.
You could start here:

<URL: http://css.maxdesign.com.au/index.htm >

Quote:
Is there an attribute missing?
A CSS forum may provide better advice about that.


--
Rob

PDannyD
Guest
 
Posts: n/a
#4: Aug 17 '06

re: Why IE 7 shrinks Javascript code?


On Wednesday 16 August 2006 22:12, xx75vulcan@juno.com [xx75vulcan@juno.com]
wrote in message <1155762762.678545.260070@i3g2000cwc.googlegroups. com>
Quote:
Can anyone tell me why the IE 7 Beta, (and I can only assume the final
releae) takes my javascript and shrinks all the items being displayed,
and makes them appear one-on-top-of-each-other?
>
Link to my example page: http://www.rockwood.k12.mo.us/bowles/left.htm
>
If you see it all layed out nicely, and you can click on items, and you
see submenu appear, then it's working correctly. If you see only one
menu, with a bunch of items piled ontop of each other, then you're
seeing what IE 7 is doing to it.
>
How can I fix this?
Ditch the browser detection script.

With Opera9.01 on Linux it displays a menu list if Opera is set to identify
itself as Opera or Mozilla. If set to identify as Internet Explorer it
shows all the menus overlapping.
xx75vulcan@juno.com
Guest
 
Posts: n/a
#5: Aug 18 '06

re: Why IE 7 shrinks Javascript code?


Hmm Very interesting. I thank everyone for their responses.

I unfortunately took over this menu from a previous guy, and I'm not
that familiar with Javascript.

I will dig around and try to find out how to remove the browser
detection code, and how to get it to list items better...

Much thanks!

Closed Thread