Natasha
09-26-2007, 11:34 PM
Hi,
Firstly, please forgive me for my lack of knowledge but I am trying hard to learn as fast as possible!
I am working on a new webpage and purchased a template with a flash header, which has menu buttons etc. I have given myself a crash course in flash and worked out how to change the text on the buttons etc and also how to use the actionscript so that they actually work when clicked (yeah, I know, I'm so proud, but I bet you're saying "so what..that's eassssy")
Anyway, as part of the template, they provided a input text field and a search button, but there is no functionality behind it.
On my shopping cart (I'm using Romancart) they give you the code you can use for a search button which searches through the contents of the product manager (does this make sense?) and returns a page showing the results of the search - this is in the form of a list of products that can be clicked, and then codes opens the page where that product is listed.
The code I got from RomanCart is as follows:
<form action='http://www.romancart.com/search.asp' target=searchwin>
<input type=hidden value=25855 name=storeid>
<input type=text value='' name=searchterm>
<input type=submit value='Go'>
</form>
so anyway, this works fine in plain html - but how do I make the search button in my flash file do the above? Or can't I? If it's not possible to assign the above code to my flash button, then is there another way of creating a button that searches my website and returns results if the searchterm is found?
For example, at the moment there is no code behind this search field or button, but I'd like a customer to be able to type "candle" in the empty box and then press the "search" button - a page then opens with a list of all pages within my website that contains the word "candle"
I'm sorry if this post is hidiously naieve - but I am simply not aware of the correct terminology I should be using, and seeing as there's possibly only 4, perhaps 5 hairs left on my head I'm pretty desperate for some help!
Thanks
Natasha
Firstly, please forgive me for my lack of knowledge but I am trying hard to learn as fast as possible!
I am working on a new webpage and purchased a template with a flash header, which has menu buttons etc. I have given myself a crash course in flash and worked out how to change the text on the buttons etc and also how to use the actionscript so that they actually work when clicked (yeah, I know, I'm so proud, but I bet you're saying "so what..that's eassssy")
Anyway, as part of the template, they provided a input text field and a search button, but there is no functionality behind it.
On my shopping cart (I'm using Romancart) they give you the code you can use for a search button which searches through the contents of the product manager (does this make sense?) and returns a page showing the results of the search - this is in the form of a list of products that can be clicked, and then codes opens the page where that product is listed.
The code I got from RomanCart is as follows:
<form action='http://www.romancart.com/search.asp' target=searchwin>
<input type=hidden value=25855 name=storeid>
<input type=text value='' name=searchterm>
<input type=submit value='Go'>
</form>
so anyway, this works fine in plain html - but how do I make the search button in my flash file do the above? Or can't I? If it's not possible to assign the above code to my flash button, then is there another way of creating a button that searches my website and returns results if the searchterm is found?
For example, at the moment there is no code behind this search field or button, but I'd like a customer to be able to type "candle" in the empty box and then press the "search" button - a page then opens with a list of all pages within my website that contains the word "candle"
I'm sorry if this post is hidiously naieve - but I am simply not aware of the correct terminology I should be using, and seeing as there's possibly only 4, perhaps 5 hairs left on my head I'm pretty desperate for some help!
Thanks
Natasha