Ravenfire said:
Oh yikes sorry dont really understand that
Which bit? If none of it, then you need someone to do this for you.
Go back to the website in question and select view source on your web browser then save the text file you are looking at. Load it up in a text editor (NOT a word processor) and look at it to find the bits I pointed out.
Do the same thing with one of your own standard web pages and save it as a new page, eg.
mylinks.htm.
Now, you just put the bits you need into your page under other content (above the closing
</body> code).
You can ignore most of the stuff in "his" page accept the bits I mentioned which I will now explain.
Select & Copy Is used to call the javascript code that does the copy for you.
You should recognise the
<a bit as what we use to link to somewhere else as described used earlier to address the original reason for this post. Instead of linking to another website/page, this time it is used to call some javascript program code. You do not need to understand the javascript in any detail.
The bit of javascript that is run is called
HighlightAll and each time it is asked to run, it is told which bit of text of the page is required to be copied. This is the
('mylink.set1') which ties in with the bit of text in the
<textarea. Each text area has a name, e.g.
name="set1".
Inside the text area (between
<textarea ....> and
</textarea>) is the link code like the examples given earlier in this thread.
So, you put the two blocks of code I gave you inside a form block:
<form name="mylin">
the blocks I gave you
repeat the blocks but change set1 to set2, set3, etc for each pair
</form>
That's everything for the body section of your webpage.
The usual place to put the javascript is inside the head section of the document. (between
<head> and
</head>). Where he has
<script type="text/javascript" src="abc.js"></script> you can place the actual script between the
<script ...> and
</scipt> and lose the
src="abc.js" bit - which was the name of the file he has the script in instread of including it in the page itself.
Does that help?
Stuart