PDA

View Full Version : Making the entire PM bar clickable (?)


John
04-26-2002, 09:01 PM
How? :confused:

Sparkz
04-26-2002, 09:42 PM
In your forumhome_pmloggedin add

<script language="Javascript">
function pm () {
document.location.href = "private.php?s=";
}
</script>

at the top, and change

<td bgcolor="{categorybackcolor}" colspan="6">

to

<td bgcolor="{categorybackcolor}" colspan="6" onclick="pm();">


That did the trick for me.

N!ck
04-27-2002, 06:32 AM
why make a function to do that?


<td bgcolor="{ tableheadbgcolor }" colspan="6" onclick="top.location.href='private.php?s=$session[sessionhash]'">

Sparkz
04-27-2002, 06:50 PM
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. :)

Boofo
04-29-2002, 06:00 AM
When you make the bar clickable with this single line of code how do you make it show the mouseover too?