Shoutbox

back link - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: back link (/showthread.php?tid=75876)

back link by Jarrod on 07-05-2007 at 08:15 AM

I'm doing a website and was trying to insert a previous link as well as a homelink
i had this:
html

code:
<SCRIPT TYPE="text/javascript">
<!--
var gb = new backlink();
gb.text = "Get Back, Jack";
gb.write();
//-->
</SCRIPT>

but it wouldn't write into the document

RE: back link by ShawnZ on 07-05-2007 at 08:59 AM

there's no such thing as a backlink class in javascript...


RE: back link by Jarrod on 07-05-2007 at 09:01 AM

http://www.htmlcodetutorial.com/linking/linking_famsupp_233.html


RE: back link by ShawnZ on 07-05-2007 at 09:02 AM

which is derived from http://www.htmlcodetutorial.com/linking/linking_famsupp_232.html, which requires you include "backlink.js"...


why not just use <a>?


RE: back link by NanaFreak on 07-05-2007 at 09:03 AM

*cough*

code:
window.history.back()
*cough*

quick search =p
RE: RE: back link by Volv on 07-05-2007 at 09:05 AM

quote:
Originally posted by NanaFreak
*cough*
code:
window.history.back()
*cough*

quick search =p

Indeed, and you dont even need a <script> section in your head. Just use onClick (EDIT: as shawnz more or less already suggested) ...
RE: back link by Jarrod on 07-05-2007 at 09:08 AM

so....
<a onClick = window.history.back()>back</a>


RE: back link by ShawnZ on 07-05-2007 at 09:11 AM

<a href="javascript:window.history.back()">sup</a>


RE: back link by Jarrod on 07-05-2007 at 09:12 AM

thanx every1
i dislike js