473,324 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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

Aug 16 '06 #1
4 1346
xx********@juno.com said the following on 8/16/2006 5:12 PM:
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.
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/
Aug 16 '06 #2

xx********@juno.com wrote:
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 >

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

Aug 16 '06 #3
On Wednesday 16 August 2006 22:12, xx********@juno.com [xx********@juno.com]
wrote in message <11**********************@i3g2000cwc.googlegroups. com>
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.
Aug 17 '06 #4
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!

Aug 18 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Lyn | last post by:
Hi, I have a form which is opened from a button on another form. The form is used to display a list of records from a recordset in Continuous Mode. It is sized vertically to display about 25...
7
by: erin.sebastian | last post by:
Hello All, I have taken over some code for a website and am trying to finish it. I have noticed that when loading each page the site expands and then shrinks to the normal size, i don't want this...
6
by: egpo | last post by:
Hi, I have a DB where I would like to maintain a fixed size and control it by myslef. I do not have the options: "Auto-Grow" and "Auto-Shrink" enabled. >From time to time, without a notice,...
1
by: TomT | last post by:
I am having a difficult time solving a problem. Whenever I use :hover in a certain <div> the page shrinks in IE6. Of course, this problem does not exist with other browsers. It is even more vexing...
1
pbmods
by: pbmods | last post by:
VARIABLE SCOPE IN JAVASCRIPT LEVEL: BEGINNER/INTERMEDIATE (INTERMEDIATE STUFF IN ) PREREQS: VARIABLES First off, what the heck is 'scope' (the kind that doesn't help kill the germs that cause...
10
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... We've been trying to migrate our asp.net apps off older, underpowered hardware to newer, bigger boxes but when we do, we see our databases start to melt. When I started to look into it,...
2
Frinavale
by: Frinavale | last post by:
JavaScript in ASP.NET Using JavaScript in ASP.NET pages can make your application seem to work faster and prevent unnecessary calls to the server. JavaScript can be used to perform client-side...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.