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.
Attachment 531
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.
Attachment 531
Add this dummy Function before </head>
paste this form in <BODY>Code:<script> function myDummyLink() { myURL = "http://www.ancientworlds.net/" myURL += document.getElementById('myNum').value; // or // myURL += document.myForm.myNum.value; myURL +="/avatar/selectForm&inspectedImageid=78193" //alert(myURL); NewWindow(myURL,'name','400','400','yes');return false; } </script>
Code:<form name=myForm> <input type=text name=myNum id=myNum > <a href="JavaScript:myDummyLink();">Avatar Test</a> </form>
Bookmarks