I need this Javascript mouse over modified.

They have: 4 posts

Joined: May 2004

I need this script modified. Go to this address http://www.geocities.com/red_dragon_global/test.html and roll your mouse over the picture. I have been having problems with the picture not showing up until you run the mouse over it but it dosen't matter you'll get the idea. I need what is on that page except that I need the image that appears to the left of the original picture to appear on the otherside too. If anyone can modify this I will be very glad.

Roo's picture

She has: 840 posts

Joined: Apr 1999

Blank page in Opera! You've got massive code errors!

You've got double sets of tags:
Head tags

You've got a closing body tag, and then a table and then another closing body.

Run through a validator is the easiet way to catch everything!

Roo

They have: 4 posts

Joined: May 2004

Small error's like that don't effect the code even slightly and I had it put together fast so that explains that. When I find somone that can modify to do what I need then I'll clean it up.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

So, you'd like someone to slog through the garbage and try to sort out where you're going wrong from where you're going wrong? Not very nice of you, especially when you're the one who needs the favour.

Nothing is showing up in Safari, and your question is unclear. You are attempting what? To have two things change on one mouseover?

They have: 4 posts

Joined: May 2004

Well anyone that knows the slightest Javascript will have no problem ignoring a few misplaced tags. As for my question being unclear, if you looked at the web address and read what I said then I don't know what to say other then I did not use english properly. I want one Mouse Over. It depends on the definition you use. Some people think that a Mouse Over effect can only display one picture. The correct definition is that a Mouse Over can display whatever you tell it to. Lets say that when you open up the page it display's image 'A'. The effect I want is that when your mouse rolls over image 'A' it still displays 'A' but it will also display another image to the left of image 'A' and then display another image to the right of image 'A'. I have seen this effect before on another page but I cannot find it.

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

Those aren't small code errors. When you make several bodies, heads and everything else, you end up confounding the DOM (Document Object Model) for the page. Scripting with broken structures is very difficult, and you'll get mixed results in various browsers.

It's not whether humans will forgive you for misplaced tags; it's whether the parser can handle it.

They have: 4 posts

Joined: May 2004

Well this is just the way I work with codes. No one else have had problems working with my codes that have error's in them. My method of working on codes seems to be to crude for this site since I have got nothing but ill responses from moderator's trying to insult my intelligence. Since this site is insufficient of knowledge of Javascript then I have no use for this forum. You can delete this thread and my account if you wish since I will not be back.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

*raises eyebrow*

Well, then, okay, buh-bye. Heaven forbid you should fix your code and find the typo that was causing your problem... or explain yourself more clearly. Maybe all those people who don't have a problem with your sloppy code can help you instead?

I'm sure you're not really gone (no such luck), so you're welcome in advance.

For anyone reading along now who happens to know that this "site" isn't sentient, and that a number of people are well versed in JavaScript and still aren't willing to help someone who find offense in nothing (i.e. no one questioned your intelligence...before the last post, anyway) some helpful tips:

It's not uncommon to have one mouseover have more than one effect, usually within the same function call.

functionName('nameOfFirstImage','imageFromArray','nameOfSecondImage','image2FromArray')
'

Roo's picture

She has: 840 posts

Joined: Apr 1999

And it's also not uncommon for scripts to work properly when the basic code structure gets the errors fixed.

There is nothing wrong with making mistakes.....that's how we learn. But damn be willing to own it and learn from it!

Roo

He has: 18 posts

Joined: May 2004

I have to apologize for RedDragon. He is only 15 and needs his *** whooped. I met him in a chat room and he needed some help, so being nice, i offered what I could but I couldn't do what he wanted. So I recommended he come here and maybe someone could help him. I had no idea he'd act like this and be so rude. So, I am very sorry I referred him. I will accept the responsibility and apologize to the mods and everyone he was rude to. Guess this is what happens when u try and help sometimes. Forgive me.

Thanks,
War

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

don't sweat it, we all have happy life lessons and cranky life lessons to learn -- playing nice in the new community is one of them. Wink

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.