The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Div Class Specific User?
This one is a little more tricky. I've been looking into ways of creating a dropbox for members to reveal more information, however whenever you hover over a box that isn't the original posters, it just opens up their box anyways.
Example: http://i.imgur.com/mav406k.png My code (located in Postbit_Legacy): Code:
<center> <a onmouseover="document.getElementById('div_name').style.display='';" onmouseout="document.getElementById('div_name').style.display='none';" href="" onclick="return false;" style="text-align:center; text-decoration:none; padding-left: 31px; padding-right: 31px; padding-top: 2px; padding-bottom: 2px; background-color: #efefef; border-top: 1px solid #c4c4c4; border-right: 1px solid #c4c4c4; border-left: 1px solid #c4c4c4; border-bottom: 1px solid #c4c4c4; margin-bottom: 4px; margin-top: 4px;"> <b>Member Information</b></a> <br /> <div id="div_name" style="display:none; margin:5px 5px 0px 5px; padding:5px; border:1px solid #aaa; position: absolute; left: 5px; right: 5px;"> More Information Coming<br> More Information Coming<br> More Information Coming<br> </div> </center> I know it's a little rough around the edges, but does anybody know how I'd be able to make them user specific? |
#2
|
||||
|
||||
Okay the way you have it posted above will work and not work, basically there's a better way to do this IF I understand what you're trying to accomplish... which would be to have a div class that initially has a link in it to view more info on hover correct? Should all other posters in that thread have the box collapsed by default and then when you hover or click the link it expands the box? OR would it collapse all others info but only show full info for the thread original poster?
There's a few ways to go about this but we need to be 100% clear on what you're trying to do before we can steer you in the right direction. |
#3
|
|||
|
|||
Quote:
Please close this thread! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|