Page 1 of 1
JavaScript code to run search within my website?[FIXED]
Posted: Tue Aug 24, 2021 8:14 am
by M33R4
Top of my page has a ToolBar.
This ToolBar sits just above the Breadcrumbs and contains some icons - Print, Back, Next, Search.
When the user clicks the magnifying glass icon, I want them to be taken to a page that allows them to search the content of the website:
ToolBar.PNG
I presume I need JavaScript in the
Skins >
ToolBar >
Styles >
Search > Event > Click: field?[/color]
ToolBar_Search_Event_Click.PNG
How do I do that please
Help from you savvies much appreciated.
Re: JavaScript code to run search within my website?
Posted: Thu Aug 26, 2021 12:24 am
by NorthEast
The search that Flare provides can be run in two ways:
(1) Use the search box in the skin header area.
(2) Use the
Search Bar Proxy, which allows you to include insert a search box anywhere inside a topic.
Not sure why you'd want to start a search from the toolbar when there's already a search in the skin header.
But you could add a search bar proxy in a topic, and then link to that topic from the toolbar icon - to do that, see your previous question:
viewtopic.php?f=6&t=33157
Re: JavaScript code to run search within my website?
Posted: Fri Aug 27, 2021 6:58 am
by M33R4
Dave Lee wrote:......
But you could add a search bar proxy in a topic, and then link to that topic from the toolbar icon - to do that, see your previous question:
viewtopic.php?f=6&t=33157
How do I link the Toolbar icon to the topic page please Dave? Is it via Skins > ToolBar > Styles > Search > Event > Click ????
Thanks.
Re: JavaScript code to run search within my website?
Posted: Fri Aug 27, 2021 7:03 am
by M33R4
Dave Lee wrote:The search that Flare provides can be run in two ways:
(1) Use the search box in the skin header area.....
Not sure why you'd want to start a search from the toolbar when there's already a search in the skin header. .....
Started off with that and it worked fine.
However colleague suggested, as we have a Toolbar on the top of our Masterpage (Toolbar contains Print, Next, Previous), why not lose the search bar from the other areas and just add it to the same Toolbar. Hence, the question as how to make that work if it was in the ToolBar.
Re: JavaScript code to run search within my website?
Posted: Wed Oct 06, 2021 8:08 am
by M33R4