HTML Help!?!

Do you have a technical question that doesn't really fit a specific console? Want some general info on electronics, hacking, making cookies, etc? Here's the place to ask! Go nuts.

Moderator:Moderators

Post Reply
Murdok09
Posts:117
Joined:Mon Jul 16, 2007 2:22 am
HTML Help!?!

Post by Murdok09 » Fri Sep 21, 2007 7:10 pm

I am trying to get a stupid mouse over effect to work, and for some reason it's not working! Here's the code...any errors? How to fix?

Code: Select all

</ul>
<ul>
</ul>
<h2>Gamers</h2>
<div> <a href="#"><img alt="" src="i/roster/Guides.jpg"></a> <a href="#"><img src="i/roster/Tournaments.jpg" alt=""></a> <a href="#"><img src="i/roster/Leaderboard.jpg" alt=""></a> <a href="#"><img src="i/roster/Calendar.jpg" alt=""></a> <a href="#"><img src="i/roster/Announcements.jpg" alt=""></a> <a href="#"><img src="i/roster/Online.jpg" alt=""></a>
<div>Point your mouse over a section.</div>
</div>
<h2>Developers</h2>
There's a little before the effect and after just to be safe.

User avatar
bicostp
Moderator
Posts:10491
Joined:Mon Mar 07, 2005 5:47 pm
Steam ID:bicostp
Location:Spamalot
Contact:

Re: HTML Help!?!

Post by bicostp » Fri Sep 21, 2007 9:01 pm

So you want the images to change when you roll over them? I think you need to use JavaScript to do that.

http://www.joemaller.com/js-singleroll.shtml

Kyo
Senior Member
Posts:2470
Joined:Tue Jan 02, 2007 11:59 am
Location:Germany
Contact:

Post by Kyo » Sat Sep 22, 2007 2:23 am

edit: well that's odd. phpBB filtered my demonstration tag... Are they afraid somebody is going to inject javascript in tags that aren't even allowed?

Murdok09
Posts:117
Joined:Mon Jul 16, 2007 2:22 am

Post by Murdok09 » Sat Sep 22, 2007 7:04 am

Actually, there are six images and a small box below them. The images refer to parts of my site, but they make no sense without the text in the box below. Basically when you mouseover a box, the small box at the bottom changes from "Mouse over a section" to "Guides", "Online", or "Tournaments", etc. If I post the original code, would that help? This is a template I found BTW.

Post Reply