Connecting Tech Pros Worldwide Help | Site Map

Why IE 7 shrinks Javascript code?

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 16th, 2006, 09:05 PM
xx75vulcan@juno.com
Guest
 
Posts: n/a
Default Why IE 7 shrinks Javascript code?

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 16th, 2006, 11:25 PM
Randy Webb
Guest
 
Posts: n/a
Default 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 16th, 2006, 11:45 PM
RobG
Guest
 
Posts: n/a
Default 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, 01:15 AM
PDannyD
Guest
 
Posts: n/a
Default 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, 04:25 PM
xx75vulcan@juno.com
Guest
 
Posts: n/a
Default 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!

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.