PDA

View Full Version : Adding a clickable smilie link


Smoothie
10-08-2002, 03:38 AM
Can someone tell me how to create a link to clikable smilies. It's for the Quick Reply Box. I don't want the actual smilies to appear in the QRB, as they do in newreply and newthread. Just a link. So when you click the link, the smilie box opens.

I tried adding;
[<a href="javascript: opensmiliewindow(240,280,'$session[sessionhash]')">Clickable
Smilies</a>], but it didn't work

Smoothie
10-08-2002, 05:42 PM
^^Bump:)

TWTCommish
10-09-2002, 01:37 PM
I think you need this line beforehand:

<script language="JavaScript" src="vbcode.js"></script>

Sweet Cheeks
01-04-2003, 09:43 PM
Thanks it worked :cool:

mcyates
02-04-2003, 03:35 PM
[<a href="java script: opensmiliewindow(240,280,'$session[sessionhash]')">Clickable
Smilies</a>]

Should be changed to

[<a href="javascript: opensmiliewindow(240,280,'$session[sessionhash]')">Clickable
Smilies</a>]

With no gap between "java" and "script"