7 replies [Last post]
microserf
Offline
newbie
Last seen: 12 years 50 weeks ago
Joined: 2004-01-18
Posts: 7
Points: 0

Hi, I have a question regarding this site:

http://www.fistfulofeuros.net

It seems to work fine on all browsers and I thought it worked fine on IE6 too. Yet today IE6 loads the page as intended, yet freezes after a couple of seconds. Does that only happen on my system or is that a possibly CSS hack induced problem? A reboot did not help it on my system. I'm running the "multiple IE" pack on my system and it works just fine in IE5 and IE 5.5, also on Firefox.

Thanks in advance for any idea!

microserf

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 50 weeks 4 days ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

IE freezes?

Hi

Well, it didn't freeze my machine - Win 98Se IE6.0.2800.1106IS SP1

Was this a sneeky way to get me to look at your wonderful looking site?

You have an incredible amount of javascript inline in your document. Surely you could cut this out and put it in an external file (or so) and simply link it as you need it. That way it won't need to reload everytime someone goes to your pages, it can sit in cache instead.

Are those hidden menu's as well? Yes. The fly out for the 2nd level of 'a fistful of euro's is massive. Far too big.

And you MUST get the award for the most number of links on an index page. Unless someone has seen an index page with more?

:twisted:

Trevor

microserf
Offline
newbie
Last seen: 12 years 50 weeks ago
Joined: 2004-01-18
Posts: 7
Points: 0

IE freezes?

Hi Trevor,

thanks for replying!

>Well, it didn't freeze my machine - Win 98Se IE6.0.2800.1106IS SP1

Good to know. There were no complaints so far but I was a little concerned that if it actually froze those readers without a second browser installed would not be able to report it.

>Was this a sneeky way to get me to look at your wonderful looking site?

It wasn't, though I certainly appreciate the compliment Smile

>You have an incredible amount of javascript inline in your document. >Surely you could cut this out and put it in an external file (or so) and >simply link it as you need it. That way it won't need to reload everytime >someone goes to your pages, it can sit in cache instead.

Great suggestion. So far I'm including it via php.

>Are those hidden menu's as well? Yes. The fly out for the 2nd level of 'a >fistful of euro's is massive. Far too big.

Yeah. I agree. Problem is that my blog co-authors complained about not being able to read the text in a smaller version.

>And you MUST get the award for the most number of links on an index >page. Unless someone has seen an index page with more?

I suppose you haven't seen that many blog sidebars, have you? Have a look at, say, instapundit.com, and you will see at least as many.

Thanks again for your help! Oh, and should you be interested, there's another strange issue I've noted while creating this site - The whole layout falls apart across all browsers when the banner <div> does not get at least a 1px top border. It's really strange.

You can see it here without a border:
http://www.fistfulofeuros.net/test-blog/woframe.php

And here's the exact same page with the same css except for a 1px border resp. top border applied to the banner div that is sitting with z-index 2 right on top of the main container div:

http://www.fistfulofeuros.net/test-blog/wframe.php
http://www.fistfulofeuros.net/test-blog/wframe2.php

It's a 1px top border in the body background color so it doesn't really hurt to do it this way. But I really do not understand it. Is this the way the browsers are supposed to render the markup in this case? How can a simply border have such consequences? I mean, it falls apart in Firefox as well as in IE - I haven't checked on Mac browsers.

Just curious. As I said, it has no real consequences for the design.

microserf

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 50 weeks 4 days ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

IE freezes?

Hi

Your code has too much by way of stuff my site saver can't see (must get a decent one!) so I can't see the problem offline and fix it. Does the div in question have width and height set?

Trevor

calua
calua's picture
Offline
Regular
brazil
Last seen: 15 years 32 weeks ago
brazil
Joined: 2004-03-09
Posts: 13
Points: 0

IE freezes?

hi. although your site did not freeze on my browser, i'm having the same problem on my: i used http://www.svendtofte.com/code/max_width_in_ie/'s thing to have a min-width in IEs (and i have the multiple ies config), and it works fine on 5 and 5.5, but not in 6. the browser freezes when I resize the window and the min-width code starts working (changing width auto to 700px).

here's the code

#titulo, .espaco_seco, .espaco_bordado, .break {

	margin:1em 0px;

	min-width:700px;
	width:expression(document.body.clientWidth < 800? "700px": "auto" );

}

anyone knows why this is happening?

caluã

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 50 weeks 4 days ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

IE freezes?

Hi

Not sure why you are using such a difficult way to get min-width in ie.

All you need to do for most browers is have min-width:700px in the body, and then have a page container or any element in the page that is the right width and set it's width to 700px. I have even put an empty (just a non-breaking space in) absolute div in to do the job. Just make sure it is the last element on the page and has height set to 1px, margin-bottom to 1px and overflow:hidden

Trevor

calua
calua's picture
Offline
Regular
brazil
Last seen: 15 years 32 weeks ago
brazil
Joined: 2004-03-09
Posts: 13
Points: 0

IE freezes?

i tried your idea and it didn't work (i only tested it in ie6), must have done something wrong. Anyway, I already used "my" solution before and it worked, so I think i'll have to reinstall something here or there. Will keep informed.

Can you please give an example of your suggestion? It sounded nice.

cheers
Caluã

EDIT:I just reinstalled IE, and am still getting the same problem. I'll try your solution again.

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 50 weeks 4 days ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

IE freezes?

calua wrote:
Can you please give an example of your suggestion? It sounded nice.

Sure, take a look at this (a second page will load with the code in a textarea at the bottom of the form - NOTE: the form is a prototype and not for use in real site design, I know it has bugs!):

[edit: new address]

http://209.216.241.33/css_variable_border_3_columned_pagemaker.php

However, try to make the page narrower than the design. IE will give you horizontal scrollbars.

Trevor