Forum Moderators: open

Message Too Old, No Replies

Irritating button reload problem...

please please please solve this...

         

Harley_m

12:26 pm on Sep 18, 2002 (gmt 0)

10+ Year Member



Building a e-commerce site right now, and on upload to the web, i find that all images load fine (although not in the order i would like - is there a way of ordering image loads...?) but when going between pages, sometimes one or two of the buttons (images in the nav bar) dont load until last, and sometimes not at all until you mouse over them - on rare occasions it even displays the crossed box icon...this is of course bad...and i need to wrap this one up - can you throw any light...?

also, as i said above, is it possible to order pictures loading (so i can get the nav bar to load from top to bottom say) - and even better, is it possible to pr load images from other pages while the user is viewing the first page or whatever?

Thanks in advance...

Harley

Reflect

2:33 pm on Sep 18, 2002 (gmt 0)

10+ Year Member



sometimes one or two of the buttons (images in the nav bar) dont load until last

Are the image files on the last to load a lot larger than the other images? Could be they are just taking the longest to come down to the browser as they are the largest in file size, just a thought.

also, as i said above, is it possible to order pictures loading

Tables normaly load left to right and top to bottom on the cells in them, maybe use that to your advantage when constructing your page layout.

is it possible to pr load images from other pages while the user is viewing the first page or whatever?

Yes, do a search and you should find several threads on this. Just make sure that you include the call after the page code for the existing page (after the last table I believe).

Here are a few recent ones...

[webmasterworld.com...]
[webmasterworld.com...]

Brian

Harley_m

3:30 pm on Sep 18, 2002 (gmt 0)

10+ Year Member



thanks for the info...great help

the images arent any bigger really...the images have all already been loaded, and its re loading them that creates the problem, when the home page loads there fine, but press home page (or any other page) again and they sometimes all load but one that sticks, and is unstuck as soon as you mouse over...

its a very wierd, and annoying one

oilman

3:32 pm on Sep 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



are the buttons running in a javascript for rollovers?

Harley_m

5:53 pm on Sep 18, 2002 (gmt 0)

10+ Year Member



Yes, the image buttons dont in fact have rollovers, but the site is using javascript for most things, as its created using Erol e-commerce building software...

they cant really help with the problem either...

im not that familiar with java, so could it be a fault in the code or something...?

Thanks guys...

tedster

7:31 pm on Sep 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You haven't mentioned a browser, so I assume it's IE - IE6 probably.

IE6 does something like this - it gets very squirrely with javascript calls to images that are already cached and ends up hitting the server again. We've had conversations on several threads about it.

Try running some pages from a floppy and you'll hear IE access the floppy over and over again, even though the image is cached. Those generic DreamWeaver scripts are particularly susceptible. And yet, the same code runs fine on earlier versions of IE 5. Sounds like bad browser code to me, not bad javascript. Of course, that's little consolation given IE's market share.

I don't know about those broken image place holders, though. That's an odd one.

Harley_m

8:46 pm on Sep 18, 2002 (gmt 0)

10+ Year Member



purely for discussion prposes, the url is www.ali-t-l.com - i dont want this to be seen as any linking...thats not the point at all, the site isnt even running yet - so it cant be spam :P

the site is in an awful state right now i know, funny colours, slow loading, and god knows what else, but its there to illustrate this JS image problem. i am using IE6, and i did know about some problems occuring with that (how oh how did they allow that to slip through!) but as you say tedster, the broken image thing is very wierd and very annoying...and i need a fix. as you can see the site is almost there and i need to get it up and running soon, as clients are flapping!

try going bewteen pages from the nav bar...and you might see what i mean, images not appearing, or being delayed or not coming at all...

i hope this helps anyone throw anymore light on this oddity...

martinibuster

9:24 pm on Sep 18, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I was looking inside your products page and noticed that the little buttons weren't loading.

Your image source is 'images/templates/left_menu_tag.gif'

You should use double quotes: " "

I recommend you get an html validator, as it can speed up finding these kinds of mistakes.

Do a search on this site, there's been recent discussions on this.

:)

Harley_m

10:19 pm on Sep 18, 2002 (gmt 0)

10+ Year Member



thanks for thats martinibuster, but i cant actually see what you mean, i see nothing not loading on my IE6 browser...

oh no, compatibity issues, please not...

martinibuster

10:34 pm on Sep 18, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I was looking at your erols.html page. In the source code you are calling your buttons incorrectly: <img src=`blah blah blah'>
When you should be doing this <img src="blah blah blah">

In other words, your code is formatted incorrectly. Take a look at your code and search for this bad bit of code: 'images/templates/left_menu_tag.gif'

Harley_m

10:46 pm on Sep 18, 2002 (gmt 0)

10+ Year Member



wow, was a bugger to find due to the nightmare of html and java files the software creates, but i got it - and fixed it...

thanks, thats what i meant about only just being uploaded and still being a little 'raw' :)

thanks - by the way, any thoughts on the site...?