2014-05-07, 11:36 PM
How do I get [get more] smilies to load on the same page under the text area like this image?
I do not want a popup.
I have this javascript below and i'm using <div> id"zone"</div> in my new thread template. The smilies load but are not clickable. Can anyone help. Thanks,
I do not want a popup.
I have this javascript below and i'm using <div> id"zone"</div> in my new thread template. The smilies load but are not clickable. Can anyone help. Thanks,
function viewAll()
{
var req=null;
document.getElementById("zone").innerHTML="Started...";
if(window.XMLHttpRequest)
{
req=new XMLHttpRequest();
if(req.overrideMimeType)
{
req.overrideMimeType('text/xml');}}
else
if(window.ActiveXObject)
{
try{req=new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e)
{
try{req=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}}}
req.onreadystatechange=function()
{
document.getElementById("zone").innerHTML="<img src='images/loading_animated2.gif' alt='loading' />";
if(req.readyState==4)
{
if(req.status==200)
{document.getElementById("zone").innerHTML="<br />"+ req.responseText;
}
else
{
document.getElementById("zone").innerHTML="Error: returned status code "+ req.status+" "+ req.statusText;}}};req.open("GET","misc.php?action=smilies&popup=true&editor=clickableEditor",true);req.send(null);
}