The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
pass a php variable to javascript?
HTML Code:
<script type="text/javascript"> /** * Opens an IM Window * * @param string IM type * @param integer User ID * @param integer Width of window * @param integer Height of window * * @return window */ function grps_imwindow(imtype, userid, width, height) { return openWindow( grps_bburl + '/sendmessage.php?' + SESSIONURL + 'do=im&type=' + imtype + '&u=' + userid, width, height ); } </script> PHP Code:
i am now the js master i simply approached it like it was php and it works lol. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|