Log in

View Full Version : A stupid Question


Logikos
10-06-2004, 02:37 AM
<a href="#" onclick="return who($thread[threadid])">Replies</a>


How does it know what template to open?

Colin F
10-06-2004, 03:36 AM
who() is a javascript function:

function who(threadid)
{
return openWindow("misc.php?" + SESSIONURL + "do=whoposted&threadid=" + threadid, 230, 300);
}


it returns the url above, which in turn is a normal php script.

Logikos
10-06-2004, 03:48 AM
Thank you sir, couldn't find it anywhere. ^^

Colin F
10-06-2004, 03:58 AM
All the javascript stuff is in the clientscript folder.

But you're right, I've looked for JS-functions in the wrong place time and time again :)

Logikos
10-06-2004, 04:03 AM
Gotta learn some way. :)