I've looked it up on the internet, but all it tells me is how to make a function that will add two numbers when you click a link. Here's the code I have so far:
<script language="javascript">
function Start(x,y) {
var x=''
var y=''
var path='parent.main.document.location=(path)
}
</script>
and in the body;
<a href="javascript:Start('google.ca','something.html')">Something</a>
The google.ca and something.html are just examples for what I would put in. I don't know why this won't work. It worked perfectly when I tried it with only one argument. Can anyone help?
<script language="javascript">
function Start(x,y) {
var x=''
var y=''
var path='parent.main.document.location=(path)
}
</script>
and in the body;
<a href="javascript:Start('google.ca','something.html')">Something</a>
The google.ca and something.html are just examples for what I would put in. I don't know why this won't work. It worked perfectly when I tried it with only one argument. Can anyone help?