ktsears
03-12-2003, 09:18 PM
If trying to make a keyword box that will open to specific webpages when users enter the correct keyword. So far I can't get anything to work. I've attached the following code to the "go" button I made.
on (release) {
if (_root.txtKeyword=="red") {
getURL("./redmain.htm");
}
}
So if the word "red" is entered in the input text box (txtKeyword) then the user should be taken to the webpage "redmain", after clicking and releasing the "go" button. I plan on adding more, but I can't get anything to work right now.
Thanks for any help you can provide!
on (release) {
if (_root.txtKeyword=="red") {
getURL("./redmain.htm");
}
}
So if the word "red" is entered in the input text box (txtKeyword) then the user should be taken to the webpage "redmain", after clicking and releasing the "go" button. I plan on adding more, but I can't get anything to work right now.
Thanks for any help you can provide!