View Full Version : Partly User defined link

08-29-2006, 11:27 PM
I got this script from The Javascript Source, and I need to modify it. It's almost exactly what I need except for I need a text box to replace the numbers "373417" with a user defined number in the link.


08-31-2006, 12:48 PM
Add this dummy Function before </head>

function myDummyLink()
myURL = "http://www.ancientworlds.net/"
myURL += document.getElementById('myNum').value;
// or
// myURL += document.myForm.myNum.value;
myURL +="/avatar/selectForm&inspectedImageid=78193"
NewWindow(myURL,'name','400','400','yes');return false;

paste this form in <BODY>

<form name=myForm>
<input type=text name=myNum id=myNum >
<a href="JavaScript:myDummyLink();">Avatar Test</a>