I run a forum and have chosen to have 80×80 pixel smilies on it as a great majority of the users are broadband users. However for the dialup users this creates a bandwidth problem.
My solution was to have a popup window open when the user presses SMILIE CONTROL PANEL which will have rows and rows of 80×80 smilies. This makes broadband users happy and also dialup users happy as they don’t HAVE to download the smilies whenver they want to post a message, it’s an option.
I have created the popup window full of smilies and the code is as follows:
[code]
<script language=”JavaScript1.2″ type=”text/javascript”>
document.write(‘<a href=javascript:adds(“[img]http://www.myhost/img/GoodKid.gif[/img]”,”srs”)><IMG SRC=”http://www.myhost/img/GoodKid.gif” BORDER=0></a> ‘);
</script>
and then in my forum page header i have
[code]<Frame name=”srs”>
but the forum page isn’t displaying anything?
What I planned for was to have the user click on a smilie and in the messagebody(textarea) a – of course with the right img tags but i can’t write that
[code]
[imghttp://www.myhost/img/goodkid.gif/img]
to appear
Any ideas?