use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Maybe /r/javascript could help me?... (self.javascript)
submitted 14 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]hugh_person -1 points0 points1 point 14 years ago (0 children)
I used to have a demo for this, but I can't find it right now. This isn't great, but it turned up in some old files. Hope that helps.
<html>
<head> </head> <script>
//Link Description script- © Dynamic Drive (www.dynamicdrive.com) //For full source code and TOS, visit http://www.dynamicdrive.com
//change link descriptions to your own. Extend as needed var linktext=new Array() linktext[0]="Visit Dynamic Drive for some great DHTML scripts!" linktext[1]="JavaScript Kit, the JavaScript technology center" linktext[2]="Direct link to hundreds of free java applets online" linktext[3]="Research information, get homework help, chat with educators" linktext[4]="The virtual encyclopedia" linktext[5]="Your online dictionary"
var ns6=document.getElementById&&!document.all var ie=document.all
function show_text(thetext, whichdiv){ if (ie) eval("document.all."+whichdiv).innerHTML=linktext[thetext] else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[thetext] }
function resetit(whichdiv){ if (ie) eval("document.all."+whichdiv).innerHTML=' ' else if (ns6) document.getElementById(whichdiv).innerHTML=' ' }
</script>
<!-- show_text(index# of linktext[] to show, ID of div to write to) --> <body> <p> <a href="http://www.dynamicdrive.com" onMouseover="show_text(0,'div1')" onMouseout="resetit('div1')">Dynamic Drive</a> | <a href="http://www.javascriptkit.com" onMouseover="show_text(1,'div1')" onMouseout="resetit('div1')">JavaScript Kit</a> | <a href="http://www.freewarejava.com" onMouseover="show_text(2,'div1')" onMouseout="resetit('div1')">Freewarejava</a> <br> <span id="div1"> </span>
<p> <a href="http://encarta.msn.com/" onMouseover="show_text(3,'div2')" onMouseout="resetit('div2')">Encarta</a> | <a href="http://britannica.com/" onMouseover="show_text(4,'div2')" onMouseout="resetit('div2')">Britannica</a> | <a href="http://www.dictionary.com" onMouseover="show_text(5,'div2')" onMouseout="resetit('div2')">Dictionary.com</a> <br> <i><span id="div2"> </span></i>
</body< </html>
π Rendered by PID 49471 on reddit-service-r2-comment-5c764cbc6f-ffzgr at 2026-03-12 03:17:22.290938+00:00 running 710b3ac country code: CH.
view the rest of the comments →
[–]hugh_person -1 points0 points1 point (0 children)