Hi there,
Flare version 7 generates a new javascript file in the data folder of the webhelp output: search.js. It seams to contain equal information as the search.xml file in the same folder. But the information in search.js file is contained in one single line, which is too long to be accepted by a source control system.
So i chunked the search and similar .js and .xml chunk files were generated. I also deleted the search.js file in the webhelp output and the search in the help worked properly.
My question now: does someone know something about search.js and how it is used? Is it necessary or does it exist out of compitibility or other reasons?
Thanks a lot
search.js for generated skin
-
pe_thiemann
- Propeller Head
- Posts: 32
- Joined: Mon Jan 09, 2006 6:29 am
- Location: Ottobrunn, Germany
- Contact:
search.js for generated skin
Regards,
_______________________________
Petra Thiemann
cognitas GmbH
München
_______________________________
Petra Thiemann
cognitas GmbH
München
-
RamonS
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: search.js for generated skin
If I recall correctly, this file is needed to make WebHelp work right in Chrome.
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U

Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
-
pe_thiemann
- Propeller Head
- Posts: 32
- Joined: Mon Jan 09, 2006 6:29 am
- Location: Ottobrunn, Germany
- Contact:
Re: search.js for generated skin
Thank you David. So if Chrome is not a supported browser of the webhelp, can i delete the .js file in the data folder of the generated webhelp?
Does it have any influence on the Chrome compatibility if i insert line breaks in the search.js files?
Does it have any influence on the Chrome compatibility if i insert line breaks in the search.js files?
Regards,
_______________________________
Petra Thiemann
cognitas GmbH
München
_______________________________
Petra Thiemann
cognitas GmbH
München
-
RamonS
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: search.js for generated skin
That I don't know...but with Chrome installed on some test system that should be easy enough to find out.
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U

Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U