Talk Arcades: Forum for Arcade Webmasters    

  Talk Arcades > Arcades > Webmastering

Welcome to Talk Arcades, the premier forum for arcade webmasters.

You are currently viewing our boards as a guest. By joining our community you will be able to make posts, communicate privately with other arcade webmasters and participate in our Live Marketplace. Registration is easy, so please join us today!

Reply
 
LinkBack Thread Tools Display Modes
Old 07-22-2008, 11:09 PM   #1 (permalink)
monkey
Preferred Member
 
Join Date: Feb 2008
Posts: 190
monkey is on a distinguished road


Default javascript/css help

I need help with my site http://www.onlyhitgames.com. When you hover over a link in the top players menu it shows a box which displays the amount of plays that user has. The problem is if you hover over my username(admin) it shows part of the link below it in the box.

Code:
<style type="text/css"> .ToolText{position:relative; } .ToolTextHover{position:relative;} .ToolText span{display: none;} .ToolTextHover span{ display:block; position:absolute; border:2px solid black; top:1.3em; left:5px; padding: 2px; background-color:lightblue; text-align: center; } </style> <div class="ToolText" onMouseOver="javascript:this.className='ToolTextHover'" onMouseOut="javascript:this.className='ToolText'" <a href="">test</a> <span>text</span> </div>
That is just the code to create the hoverbox, the link is being repeated in a loop to get the top players. Can anyone help?
__________________

monkey is offline  
Digg this Post!
Reply With Quote
Old 07-22-2008, 11:34 PM   #2 (permalink)
woochoochinchilla
Senior Member
 
woochoochinchilla's Avatar
 
Join Date: Oct 2006
Posts: 836
woochoochinchilla is on a distinguished road


Default

Why not just use the link title. <a href="" title="0 plays">
__________________

woochoochinchilla is online now  
Digg this Post!
Reply With Quote
Old 07-23-2008, 04:21 PM   #3 (permalink)
monkey
Preferred Member
 
Join Date: Feb 2008
Posts: 190
monkey is on a distinguished road


Default

because I want to be able to customize the hover box like on http://www.gorillaarcade.com and I dont think you can do that with <a href="" title="0 plays">link</a>
__________________

monkey is offline  
Digg this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 10:44 PM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6
© TalkArcades.com
Forum - Register - Calendar - Memberlist - FAQ - Search