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:
I presume I need JavaScript in the Skins > ToolBar > Styles > Search > Event > Click: field?[/color]
How do I do that please
Help from you savvies much appreciated.
JavaScript code to run search within my website?[FIXED]
JavaScript code to run search within my website?[FIXED]
You do not have the required permissions to view the files attached to this post.
Last edited by M33R4 on Wed Oct 06, 2021 8:09 am, edited 1 time in total.
Newbie to MadCap Flare
Re: JavaScript code to run search within my website?
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
(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?
How do I link the Toolbar icon to the topic page please Dave? Is it via Skins > ToolBar > Styles > Search > Event > Click ????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
Thanks.
Newbie to MadCap Flare
Re: JavaScript code to run search within my website?
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.
Newbie to MadCap Flare
Re: JavaScript code to run search within my website?
Issue was fixed here: viewtopic.php?f=6&t=33157
Newbie to MadCap Flare