{"id":855,"date":"2003-01-11T12:23:55","date_gmt":"2003-01-12T04:23:55","guid":{"rendered":"http:\/\/michaelhans.com\/eclecticism\/2003\/01\/11\/a-call-for-help\/"},"modified":"2019-12-04T11:16:14","modified_gmt":"2019-12-04T19:16:14","slug":"a-call-for-help","status":"publish","type":"post","link":"https:\/\/michaelhans.com\/eclecticism\/2003\/01\/11\/a-call-for-help\/","title":{"rendered":"A call for help!"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:15508,&quot;href&quot;:&quot;http:\\\/\\\/www.scriptygoddess.com\\\/archives\\\/001140.php&quot;,&quot;archived_href&quot;:&quot;https:\\\/\\\/web-wp.archive.org\\\/web\\\/20180817183000\\\/http:\\\/\\\/www.scriptygoddess.com:80\\\/archives\\\/001140.php&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-03-13 19:30:42&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-03-27 02:54:18&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-04-07 15:09:47&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-04-13 07:07:57&quot;,&quot;http_code&quot;:404}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-13 07:07:57&quot;,&quot;http_code&quot;:404},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:15509,&quot;href&quot;:&quot;http:\\\/\\\/www.movabletype.org\\\/cgi-bin\\\/ikonboard\\\/ikonboard.cgi?s=3e20ef206245ffff;act=ST;f=14;t=12802&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;https:\\\/\\\/movabletype.org\\\/cgi-bin\\\/ikonboard\\\/ikonboard.cgi?s=3e20ef206245ffff;act=ST;f=14;t=12802&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<p>I&#8217;m using a fairly heavily adapted version of the <a href=\"http:\/\/www.scriptygoddess.com\/archives\/001140.php\" title=\"Collapsing entries AND comments\">Hide\/Show Comments hack<\/a> from Scriptygoddess to hide and show the clickable smileys I&#8217;ve added to my site. I simplified the javascript a lot, but in doing so, the &#8216;hide\/show smileys&#8217; links on any post in my blog only work under Internet Explorer, and fail in various ways in any other browser (Netscape\/Mozilla\/Chimera don&#8217;t seem to be recognizing the javascript, and just reload the page, and Safari (and therefore probably also Konqueror, since they both use the kHTML rendering engine) doesn&#8217;t even display the links!).<\/p>\n<p>Could anyone possibly give me some help on getting these to at <em>least<\/em> work under both IE and Netscape\/Mozilla\/Chimera, if not Safari also? I don&#8217;t know enough about javascript to know how to fix this!<\/p>\n<p>(This plea has also been posted on the <a href=\"http:\/\/www.movabletype.org\/cgi-bin\/ikonboard\/ikonboard.cgi?s=3e20ef206245ffff;act=ST;f=14;t=12802\" title=\"movabletype.org: Support Forum\">MovableType support forum<\/a>.)<\/p>\n<p><!--more--><\/p>\n<p>Here&#8217;s the code in question:<\/p>\n<p>First off, the JavaScript I use in my header:<\/p>\n<pre><code>function showSmileys () {\n    smileybox.style.display = \"block\";\n    moretrigger.style.display = \"block\";\n    smileyshow.style.display = \"none\";\n    }\nfunction moreSmileys () {\n    moresmileys.style.display = \"block\";\n    moretrigger.style.display = \"none\";\n    }\nfunction hideMoreSmileys () {\n    moresmileys.style.display = \"none\";\n    moretrigger.style.display = \"block\";\n    }\nfunction hideSmileys () {\n    smileybox.style.display = \"none\";\n    moresmileys.style.display = \"none\";\n    smileyshow.style.display = \"block\";\n    }\n<\/code><\/pre>\n<p>Next, the code I use on the links:<\/p>\n<pre><code>&lt;tr id=\"smileyshow\" style=\"display: block\"&gt;\n    &lt;td colspan=\"2\"&gt;\n        &lt;a href=\"#\" onclick=\"showSmileys(); return false;\"&gt;Show smileys &amp;raquo;&lt;\/a&gt;\n    &lt;\/td&gt;\n&lt;\/tr&gt;\n&lt;tr id=\"smileybox\" style=\"display: none\"&gt;\n    &lt;td colspan=\"2\"&gt;\n        Just click to add the code for the smiley you want&amp;hellip;the image will show up after you hit 'Post comment'!&lt;br\/&gt;\n        (Lots of image links deleted here)&lt;br\/&gt;\n        &lt;a href=\"#\" onclick=\"hideSmileys(); return false;\"&gt;&amp;laquo; Hide smileys&lt;\/a&gt; &lt;a href=\"#\" name=\"moretrigger\" onclick=\"moreSmileys(); return false;\"&gt;More smileys &amp;raquo;&lt;\/a&gt;\n    &lt;\/td&gt;\n&lt;\/tr&gt;\n&lt;tr id=\"moresmileys\" style=\"display: none\"&gt;\n    &lt;td colspan=\"2\"&gt;\n        (Lots of image links deleted here)&lt;br\/&gt;\n        &lt;a href=\"#\" onclick=\"hideMoreSmileys(); return false;\"&gt;&amp;laquo; Hide more smileys&lt;\/a&gt;\n    &lt;\/td&gt;\n&lt;\/tr&gt;\n<\/code><\/pre>\n<p>Any of you kind souls have any ideas for me? Thanks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The &#8216;hide\/show smileys&#8217; links in my comment forms only work in IE &mdash; Gecko-based browsers ignore the javascript, and kHTML-based browsers don&#8217;t even display them! Is there anyone out there who can help me with this?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2040],"tags":[25],"class_list":["post-855","post","type-post","status-publish","format-standard","hentry","category-blog","tag-website"],"_links":{"self":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/comments?post=855"}],"version-history":[{"count":0,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/855\/revisions"}],"wp:attachment":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/media?parent=855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/categories?post=855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/tags?post=855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}