Log in

View Full Version : I asked this question before... Clickable message icons.


Gutspiller
08-21-2001, 09:44 PM
Somebody told me it would take a lot of work. But then I was just thinking. The icons in the smilie popup window are clickable. Would it be possible to copy that code from the popup window and make it so that the message icons work the same way. So that when you click on the message icons they too would be inserted into the message?

Sorry if this has already been asked.

Thanks for any hlep you can provide. :)

Steve Machol
08-21-2001, 09:47 PM
This isn't really a 'How Do I', it's more of a Hack Request. I'm sure it's possible, but I think that it nonetheless take a lot of work to implement it into the forums.

Gutspiller
08-21-2001, 09:51 PM
Can ya move it to the hacks forum, or should I as again, but in there?

MHR
08-22-2001, 03:28 AM
urgh, this might help,
edit template posticonbit
replace this
<input type="radio" name="iconid" value="$iconid" $iconchecked>&nbsp;<img src="$iconpath" height="15" width="15" align="middle" alt="$alttext">&nbsp;&nbsp;&nbsp;&nbsp;
with this

<input type="radio" name="iconid" value="$iconid" $iconchecked>&nbsp;&nbsp;<a href="javascript:void(0);"><IMG SRC="$iconpath" BORDER=0 ALIGN=ABSCENTER onClick="vbform.message.value+='<img src=$iconpath> ';"></a> &nbsp;&nbsp;&nbsp;&nbsp;
:D

Gutspiller
08-22-2001, 04:37 AM
Originally posted by MHR
urgh, this might help,
edit template posticonbit
replace this
<input type="radio" name="iconid" value="$iconid" $iconchecked>&nbsp;<img src="$iconpath" height="15" width="15" align="middle" alt="$alttext">&nbsp;&nbsp;&nbsp;&nbsp;
with this

<input type="radio" name="iconid" value="$iconid" $iconchecked>&nbsp;&nbsp;<a href="javascript:void(0);"><IMG SRC="$iconpath" BORDER=0 ALIGN=ABSCENTER onClick="vbform.message.value+='<img src=$iconpath> ';"></a> &nbsp;&nbsp;&nbsp;&nbsp;
:D

ok that sorta worked. When I did what you said when you clicked on an icon it would insert the link to the image and then the page would change to a javascript void (0). I saw this in the added code so I took it out and now it works. BUT, when the mouse goes over the icons it doesn't turn into a hand with the finger extended.

Was it ok to remove that code, and is there a way to make it so that the cursor changes into the hand on rollover?