Connecting Tech Pros Worldwide Help | Site Map

Why IE 7 shrinks Javascript code?

  #1  
Old August 16th, 2006, 10:05 PM
xx75vulcan@juno.com
Guest
 
Posts: n/a
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

  #2  
Old August 17th, 2006, 12:25 AM
Randy Webb
Guest
 
Posts: n/a

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/
  #3  
Old August 17th, 2006, 12:45 AM
RobG
Guest
 
Posts: n/a

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

  #4  
Old August 17th, 2006, 02:15 AM
PDannyD
Guest
 
Posts: n/a

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.
  #5  
Old August 18th, 2006, 05:25 PM
xx75vulcan@juno.com
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
open IE in full screen Mike answers 3 November 23rd, 2007 12:05 AM
dynamically resizing height of textarea of known width gilbert.george@whoever.com answers 6 March 12th, 2007 09:55 PM
<BODY onBlur="resizeTo(150,150)"> doesn't work in IE6 rob answers 6 July 23rd, 2005 07:14 PM
Sections not collapsing properly in Firefox Jeremy Epstein answers 4 July 23rd, 2005 03:44 PM