PDA

View Full Version : image problem


blurchy
10-8-02, 01:40 PM
hi

im having a problem on my index page

http://www.neutron1.com/index.htm

to some people the images arent showing

i dont know why, the code seems ok

the images seem to appear intermittently

im having a similar problem on this page

http://www.neutron1.com/web_hosting.htm

(no im not trying to sell you hosting)

theres an image at the bottom a silver.gif

this never appears first time round on ANY computer

until the page is reloaded or resized

ive preloaded it ,ive put alt text on it

and still first time round it wont appear ??

the image is underneath my name

you can see the alt text if you hover your mouse over it

any ideas ??

Laurey
10-8-02, 01:59 PM
All images on both pages came up for me the first time 'round in IE 6.x. What browsers are people using (those that are having problems). I have 9 or so browsers installed on 2 computers for testing.. if you know where the problems reside.. it could quickly determine the problem (NS by chance? if so.. it'd a coding problem 99.9% of the time), and I might be able to recreate it.

Also.. have you run either of them through a validator?

http://validator.w3c.org/

-L

blurchy
10-8-02, 02:26 PM
hi laurie

thats odd the web hosting page
never comes up ist time for me
that html validator link is dead by the way :(

someone just gave me a link to one dr html
i was just getting somewhere when it ran out of
free reports grrr lol

the problems reside on those 2 pages
ive had no bad reports of any others YET lol

i dont know which browsers arent working
i only know last nite the images
showed up on the other computer
today they didnt ??

Laurey
10-8-02, 02:33 PM
If you are still having this problem when I get home from work.. I'll test in all my browsers (no time here today at work <g>).

URL again:
http://validator.w3.org/

I KNOW that's correct.. copied from the addy bar, guess you don't need the 'c' in there..

I'd lay odds on it being a non-closed quote, extra space.. just one of those tiny things that are hard to see :)

You could also look up netmechanic (http://www.netmechanic.com ??), I believe they have a fairly easy to understand validator.

Or, if you have a windows based machine.. download the LE version of this validator:
http://www.htmlvalidator.com/ (this one is my favorite for a first pass.. catches alot of the issues.. but I don't have to have the page uploaded first ;))
-L

Jade Dragon
10-8-02, 03:15 PM
this never appears first time round on ANY computer

then why do you have this?

function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->

I'm not a JavaScript Guru, but seems to me your } is out of place, thus causing your image not to show up until the reload/resize = true.

why are your precaching one small image?

I may be way off, don't have my resource book handy, but just my thoughts.

blurchy
10-8-02, 04:06 PM
hi jadedragon

i precached the image out of desparation lol
the other code you refer to is put in automatically
by dreamweaver when theres a layer present
ive since removed it and the preload images thing

and there was no difference :(

it was worth a try though :)

cheers

blurchy
10-8-02, 06:40 PM
hi laurey

this page now works fine

http://www.neutron1.com/web_hosting.htm

i removed the shadow style off my table and it works

fine now every time

still stuck on the main page though

cant figure that one out :(