Search found 133 matches

by Darren Rose
Thu Jun 25, 2020 1:37 pm
Forum: HelpXplain Infographics Tool
Topic: Show different image / animation depending on what browser being used?
Replies: 21
Views: 450

Re: Show different image / animation depending on what browser being used?

Update script below as previous one only went to specified slide, if you actually want it to go to a specified slide and then play that slide and next slide(s) then you need to replace "xplain.goto(3,true);" with "xplain.play(3);" </script> <script src="https://cdn.jsdelivr.net/npm/bowser@latest/es5...
by Darren Rose
Thu Jun 18, 2020 3:53 pm
Forum: Help+Manual 8 Forum
Topic: Show different image depending on what browser being used?
Replies: 10
Views: 211

Re: Show different image depending on what browser being used?

Discussion continued on forum below as decided using Bowser script with HelpXplain was best solution for me

http://helpman.it-authoring.com/viewtop ... 369216ceb8
by Darren Rose
Thu Jun 18, 2020 1:34 pm
Forum: HelpXplain Infographics Tool
Topic: Show different image / animation depending on what browser being used?
Replies: 21
Views: 450

Re: Show different image / animation depending on what browser being used?

Thank you all for your input. I now have a working xplain which meets my needs. For anyone else reading this trying to achieve similar below is the Javascript entered via File > Properties > Custom Scripts It detects the current browser using Bowser and then jumps to relevant slide to show my conten...
by Darren Rose
Tue Jun 16, 2020 6:02 pm
Forum: HelpXplain Infographics Tool
Topic: Show different image / animation depending on what browser being used?
Replies: 21
Views: 450

Re: Show different image / animation depending on what browser being used?

Okay so after inserting a shape, setting its click action to goto a specific slide, and publishing I could then look at the HTML source to see the code I needed to go to a specific slide was xplain.goto(2,true) N.B. For some reason couldn't find answer to this in manual hence having to look at creat...
by Darren Rose
Tue Jun 16, 2020 5:49 pm
Forum: HelpXplain Infographics Tool
Topic: Show different image / animation depending on what browser being used?
Replies: 21
Views: 450

Re: Show different image / animation depending on what browser being used?

@Simon Yes I can certainly see your logic and going forward (especially if add more explanations for each browser) that might be a good way to go. Initially I just want to get it working in one single xplain as per my reply earlier, mainly as a way to learn how to do it and to learn more about using...
by Darren Rose
Tue Jun 16, 2020 5:22 pm
Forum: HelpXplain Infographics Tool
Topic: Show different image / animation depending on what browser being used?
Replies: 21
Views: 450

Re: Show different image / animation depending on what browser being used?

Okay thank you both Excuse the questions but this is first time I have really played with HelpXplain to try and do something like this As I would potentially use the Xplain in other places and not just in my H&M webhelp I wanted to try and keep this "self contained" if possible So I can see that I c...
by Darren Rose
Tue Jun 16, 2020 12:35 pm
Forum: HelpXplain Infographics Tool
Topic: Show different image / animation depending on what browser being used?
Replies: 21
Views: 450

Re: Show different image / animation depending on what browser being used?

Tim Green wrote:
Tue Jun 16, 2020 12:28 pm
You can still use it. All licenses are perpetual; maintenance is only for updates and upgrades. 8)
Yes I know I can still use it, but new versions bring improvements and fixes - hence making it clear what version I currently have to test on..
by Darren Rose
Tue Jun 16, 2020 11:55 am
Forum: HelpXplain Infographics Tool
Topic: Show different image / animation depending on what browser being used?
Replies: 21
Views: 450

Re: Show different image / animation depending on what browser being used?

P.S. Currently on version 1.2 of HelpXplain and my maintenance has expired, but if using Xplain's will allow me to achieve what I need then will be more than happy to renew for another year!!

Edit - just renewed maintenance for another 12 months...
by Darren Rose
Tue Jun 16, 2020 11:53 am
Forum: HelpXplain Infographics Tool
Topic: Show different image / animation depending on what browser being used?
Replies: 21
Views: 450

Show different image / animation depending on what browser being used?

Hi I had originally thought of just showing an specific image depending on what browser the viewer is using - using below code to detect the browser. <script src="https://cdn.jsdelivr.net/npm/bowser@latest/es5.js"></script> <script type="text/javascript"> var result = bowser.getParser(window.navigat...
by Darren Rose
Tue Jun 16, 2020 11:50 am
Forum: Help+Manual 8 Forum
Topic: Show different image depending on what browser being used?
Replies: 10
Views: 211

Re: Show different image depending on what browser being used?

Thanks Simon

Actually I hadn't thought of the idea of using a HelpXplain - that may be a better solution if I can get it to jump to certain part depending on browser

Will perhaps ask more on relevant forum
by Darren Rose
Mon Jun 15, 2020 11:44 pm
Forum: Help+Manual 8 Forum
Topic: Show different image depending on what browser being used?
Replies: 10
Views: 211

Re: Show different image depending on what browser being used?

If anyone can help/advise on the next stage it would be much appreciated

How can I insert this script into a specific point of my page and how do I replace the document.write with code to show specific image?
by Darren Rose
Mon Jun 15, 2020 9:55 pm
Forum: Help+Manual 8 Forum
Topic: Show different image depending on what browser being used?
Replies: 10
Views: 211

Re: Show different image depending on what browser being used?

The use case is for several pages on my website with instructions for customers to download an executable file - a lot of my user base are not very tech savvy so rather than lots of different instructions covering different browsers I wanted to only show the browser instructions relevant to the brow...
by Darren Rose
Mon Jun 15, 2020 5:22 pm
Forum: Help+Manual 8 Forum
Topic: Show different image depending on what browser being used?
Replies: 10
Views: 211

Re: Show different image depending on what browser being used?

I am no expert on JS but this looks like it might do as I need, as it certainly seems quite accurate in detecting browser, and can even determine between original Edge and the new Chromium Edge if I check engine.name as well This JS seems to work when testing in an online JS editor e.g. https://js.d...
by Darren Rose
Fri Jun 12, 2020 2:24 pm
Forum: Help+Manual 8 Forum
Topic: Show different image depending on what browser being used?
Replies: 10
Views: 211

Show different image depending on what browser being used?

Is it at all possible - using javascript or similar - to be able to choose what image is shown dependent on what browser my help is being viewed in?

Or if not possible to show different image, perhaps to be able to show a message like "You are using Chrome" etc?

Thanks