WebSite X5Help Center

 
John S.
John S.
User

Page search in search object - and toggle function  en

Autor: John S.
Besucht 1273, Followers 1, Geteilt 0  

I have a suggestion for the search.object.

It has a function for site-search. Although it is not the quickest, it is a rather good function.

But when you have pages that hold a lot of information, then it would be good if you could set up the search-object with an extra button: page-search.

Clicking the page-search button should do that the input field is read and the actual page is searched for the string in the input-field and then the first occurence is highlighted. Another click will jump to and highlight the next occurence.

I know that Ctrl+F can be used, but not all people know that feature, and the positioning of the pop-up search is not always to get eyes on.

Also it would be good if the search-object could also be un-folded. It can be set up to start unfolded but once folded out it stays that way ( or until a new page or a refresh). Maybe the icon (if set) could be clickable. and when clicked then the search-object is folded.

I have an example to show what I mean here: https://bramminginfo.dk/bramny03/infrastruktur.html

I use the X5 site-search for the "Søg på site" and I use another page search function for the "søg på side"

Both buttons use the same input field.

The "Søg on/off" toggles the search input+buttons.

The toggling function is useful if you are in need for space in the header and especially when used on small devices.

It should be possible in the setup for the search-object if the page-search button should be active, and it should be possible to set a text for the button.

It should not be a big thing to make.

As the page-search button will only be active when checked, then it will be backward compatible and should not bother any old projects - it wil just be an enhancement of the object.

Gepostet am
4 ANTWORTEN - 1 NüTZLICH - 1 KORREKT
John S.
John S.
User
Autor

If you check out the example, then don't mind that the buttons becomes orange when clicked.

It is just because the site is prepared to be ada compliant. When using the tab you will tab through the items on the page and will see the items "highlighted" as you tab.

Mehr lesen
Gepostet am von John S.
John S.
John S.
User
Autor

Maybe this page is a better example as it holds more text: https://bramminginfo.dk/bramny03/natur.html

In the footer it is possible to change language.

If another language is chosen, then it is actually possible to input a word in that language in the search field and then the page-search finds that word. I think this is rather cool.

Mehr lesen
Gepostet am von John S.
Aleksej H.
Aleksej H.
Moderator

Hello. I sent a notification about your idea to the company employees, expect an answer from them here in the comments.

Mehr lesen
Gepostet am von Aleksej H.
Incomedia
Elisa B.
Incomedia

Hi John, 

I confirm I have reported your request. 

Thanks! Kind regards.

Mehr lesen
Gepostet am von Elisa B.