The Arcive of vBulletin Modifications Site. |
|
Making the entire PM bar clickable (?) Details »»
|
|||||||||||||||||||||||||
How?
![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
In your forumhome_pmloggedin add
Code:
<script language="Javascript">
function pm () {
document.location.href = "private.php?s=";
}
</script>
Code:
<td bgcolor="{categorybackcolor}" colspan="6">
Code:
<td bgcolor="{categorybackcolor}" colspan="6" onclick="pm();">
|
|
#3
|
|||
|
|||
|
why make a function to do that?
Code:
<td bgcolor="{ tableheadbgcolor }" colspan="6" onclick="top.location.href='private.php?s=$session[sessionhash]'">
|
|
#4
|
||||
|
||||
|
Because I don't know didley squat about js.
I just thought it sounded like a nice mod and gave it a try, looking at some js here and there.
|
|
#5
|
||||
|
||||
|
When you make the bar clickable with this single line of code how do you make it show the mouseover too?
|
![]() |
|
|