Closed Thread Icon

Preserved Topic: Why doesn't this work right? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=15316" title="Pages that link to Preserved Topic: Why doesn&amp;#039;t this work right? (Page 1 of 1)" rel="nofollow" >Preserved Topic: Why doesn&#039;t this work right? <span class="small">(Page 1 of 1)</span>\

 
Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-18-2000 18:10

Greets!

Working on a new site for my company, and I can't get style information to work right on every link. I've verified that every link if formatted EXACTLY the same, yet some underline on hover, and others don't. I've looked at this page till I was blue in the face and can't figure out what's wrong. Can anyone offer a suggestion?
http://www.runningwolf.com/runningwolf2.com/index5.htm

I am concerned with the links under the SITES WE HAVE DESIGNED section.

Any help would be greatly appreciated.

Thanks!


Pat Richard
Web weenie

[This message has been edited by Pugzly (edited 18-06-2000).]

[This message has been edited by Pugzly (edited 18-06-2000).]

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 06-18-2000 22:00

Bummer. I have to give you the dreaded news, "it works on my machine!" Hah! That comment is one of the banes of my existence, how can you fix a bug if you can't see it? Good luck to you on this one, try a few other machines, maybe it's a machine specific fault.

Your pal, -doc-<P>

timothymcnulty
Neurotic (0) Inmate
Newly admitted
posted posted 06-18-2000 23:06

works for me to pugzly, although i do know someone who had the same (or similar) problem before. i will see what they say......good luck

Dan
Paranoid (IV) Mad Scientist

From: Calgary, Alberta, Canada
Insane since: Apr 2000

posted posted 06-19-2000 00:53

Hmmph, the first screenshot wasn't working for me before, but it appears to be working now...

- Dan -

Dan
Paranoid (IV) Mad Scientist

From: Calgary, Alberta, Canada
Insane since: Apr 2000

posted posted 06-19-2000 00:54

By not working, I meant, it didn't underline when my mouse went over it...

- Dan -

Skaarjj
Maniac (V) Mad Scientist

From: :morF
Insane since: May 2000

posted posted 06-19-2000 01:47

Is that underline blue?

One thing it could be, and this could be very easily overlooked by anyone, is that blue blackground behind it. It may be showing up with an underline, but you can't see it. Everyone's machine interprets colours a little bit differently, so those who can see it probably aren't seeing hte same shade of blue as you.




Lepricosa...The Leprosy Ointment. For when your not half the man you used to be.

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 06-19-2000 02:16

Well, what links I could get to worked fine for me, but the menu on the left gave a javascript error everytime I went near it. Said line: 43, char: 2, error: an_image is not an object, code: 0

using ie 4 and win 98 if that helps.

Okay, second time back, I let it load completely before I moved the mouse at all, worked fine. But if you mouseover them before it loads, it will continue to give an error even after it has finished loading.

All of the other lins underlined fine for me though <img border=0 align=absmiddle src="http://www.ozones.com/forum/smile.gif">



[This message has been edited by DL-44 (edited 19-06-2000).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 06-19-2000 02:53

Hmmm... just keep in mind that the hover thing with style sheets doesn't work in Netscape. Didn't see the problem here, though.

you can use the onLoad="" thing in the body tag to fix the mouseover errors before the page has loaded.

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-19-2000 03:32

So everyone viewing it in IE, all of the domain name links underlined? I know that the site doesn't look right in NS. I haven't even started to get that to look right yet. But in IE, the hackel4sheriff.com link doesn't underline, but the macombsheriff.com link does. Both are formatted EXACTLY the same, using the same class info from the style formatting at the beginning of the document. I just can't get this to work.

Pat Richard
Web weenie

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-19-2000 03:39

Slime -

I am using onLoad="preLoad();" which is the caching script. I am also using window.onerror=null;
at the beginning of the script. Shouldn't these handle the errors?

I'm not the best at Javascript, so enlighten me - please! <img border=0 align=absmiddle src="http://www.ozones.com/forum/smile.gif">

Pat Richard
Web weenie

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 06-19-2000 21:24

Hey Pugzly,

I also am not having any issues with the css stuff, I'm not sure the problem. All looks well. Here is a fix for the loading issue:

function preloadImages(the_images) {
an_image = new Array();
for(i = 0; i < the_images.length; i++){
an_image[i] = new Image();
an_image[i].src = the_images[i];
}
loaded = 1;
}
function swap(name, num) {
if(loaded){
document[name].src = an_image[num].src;
}
}
</script>


Walking the Earth like Kane

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-20-2000 00:13

I'm actually suprised that someone is having a problem with that script. It's loading two images, both less than 6k. Wierd!

Thanks - if I can get the CSS stuff to work, I'll tackle the script issue. Funny - I've used this method hundreds of times, and usually been able to figure out any issues.

Pat Richard
Web weenie

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-20-2000 19:12

Well, Bitdamaged saved my sanity. Seems the style information for a:visited was causing the problem. It was overiding the a:hover information. I made a simple change to the style information, and all seems to be right in the world.

Thanks to EVERYONE who offered advise, and especially to Bitdamaged for figuring it out. I was really beginning to doubt myself!

Pat Richard
Web weenie

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 06-21-2000 01:31

Ah, yes, I remember having similar problems myself now.

BTW - next time you have JavaScript problems, you should take out the line that says window.onerror=null; temporarily while you debug. That doesn't prevent errors, it just keeps them from showing up on the screen; when you're debugging, you want to know what the errors are.

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-21-2000 02:31

Good point, Slime. I'm prettty green when it comes to script. Although I wasn't having javascript problems, it's a good pointer.

Thanks for the info!

Pat Richard
Web weenie

« BackwardsOnwards »

Show Forum Drop Down Menu