How can I use java script to make a link work by itself without clicking on it?
822648
I presume 'linkopen("link1");' is a created function, if so it's just a case of calling the function on the onload event.\n\n<html>\n<head>\n<script type="text/javascript">\nvar myLink = 'http://answers.yahoo.com';\n\nwindow.onload = function()\n{\n   linkopen(myLink);\n}\n</script>\n<body>\nContent...\n</body>\n</html>\n\nIf not, then here could be a sample openlink:\n\nfunction openlink(url)\n{\n   document.location.href = url;\n}\n\nOr if you wanted it as a popup:\n\nfunction openlink(url)\n{\n   window.open(url, '', '')\n}
992875
could you be more specific?\n\nYou could do this in Java script. \n\ndepends upon what the Dialog box is supposed to do
43424
Maybe the particular link you're trying to open is actually javascript and not a URL.  Sometimes a javascript function is used in place of a URL to validate any data you may have entered on the web page.  In which case the link cannot be opened in another window, it must be opened in the current window.\n\nIf this problem is happening on any link on any web page, then your browser is screwed up.  In which case I recommend re-installing.  Try Firefox.
36293
heres a "no right click" code \n\nnote: it wont turn off the picture toolbar on windows xp that appers when your mouse it over the picture it will just dissable right clicking on the web page\n\ngo to where you can edit the html code and add this code right after the body tag\n\n<SCRIPT language=JavaScript> var code=""; </SCRIPT>\n\n<SCRIPT language=JavaScript><!--\nfunction click() {\nif (event.button==2) {\nalert(' put here what you want the box that pops up to say');\n}\n}\ndocument.onmousedown=click\n// --></SCRIPT>\n\nmake sure that what you have the box say that pops up in between this ' and this ' \nhope that helps
185187
If you are using html just use this code:\n\n<a href="URL">Link</a>\n\nif you want it to open in a new window, add target=_"blank"\n\n<a href="URL" target="_blank">Link</a>
568889
Sure\n\nGo to TOOLS and then INTERNET OPTIONS from the main menu \nChange to the "Security" tab \nSelect "Custom" and click on the "Settings..." button \nTo enable: make sure "Enable" is selected under "Active scripting"\nTo disable: make sure "Disable" is selected under "Active scripting" \nRestart the browser
337007
use java script for that
357043
<a href="LINK HERE, needs to start with http://">TEXT HERE LIKE CLICK HERE</a>
395704
Put this into the <head> section of your code\n<script type="text/javascript">\n\n/***********************************************\n* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)\n* This notice MUST stay intact for legal use\n* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code\n***********************************************/\n\nfunction bookmarksite(title, url){\nif (document.all)\nwindow.external.AddFavorite(url, title);\nelse if (window.sidebar)\nwindow.sidebar.addPanel(title, url, "")\n}\n\n</script>\n\n\nreate either an image or text link that will be used as the Bookmark Site link. For the href attribute, use the following code:\n\njavascript:bookmarksite('title_of_site', 'url_of_site')\n\nHere's an example:\n\n<a href="javascript:bookmarksite('Dynamic Drive', 'http://www.dynamicdrive.com')">Bookmark this site!</a>\n\nRemember, if your site's title contains apostrophes, they need to be backslashed when entered:\n\n<a href="javascript:bookmarksite('Mike&#92;'s Place', 'http://www.google.com')">Bookmark this site!</a>\n\nNon IE4+ and NS6+ browsers will simply see nothing when clicking on the link.
184208
It's built into the browser. Try Ctrl-F.
20777
It looks like javascript, the areas / hyperlinks are mapped. I recomend plagerism. Copy the source code & adapt / re-build what works for you.\nGood luck
876650
java or javascript may be turned off in internet options?\n\nthat's all i got
723786
click on the link(s) below for the script
364971
My way is add a link and show the link toolbar on IE, right click on the link and change the url to say c:&#92;yourfolder&#92;run.bat, then use the link as button
674154
Look here:\nhttp://www.free-javascripts.com/
297830
My Mouse is a common used free auto clicker (1st link) or you can try Auto Clicker (2nd link).
368063
Put this in between the <body></body> tags.\n\nIts just one line, but just as effective as the usual long scripts you see.\n\n<body oncontextmenu="return false;"> \n\n\n\n\nAnyone can highlight an image and choose "copy" from their toolbar to steal images.  This script will make that a little more difficult, as it disabled the ability to highlight anything.  Put it between the <head></head> tags:\n<script type="text/javascript">\n\n//form tags to omit in NS6+:\nvar omitformtags=["input", "textarea", "select"]\n\nomitformtags=omitformtags.join("|")\n\nfunction disableselect(e){\nif (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)\nreturn false\n}\n\nfunction reEnable(){\nreturn true\n}\n\nif (typeof document.onselectstart!="undefined")\ndocument.onselectstart=new Function ("return false")\nelse{\ndocument.wZzyusedown=disableselect\ndocument.onmouseup=reEnable\n}\n\n</script>