Adding a country flag and link in WebHelp

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Adding a country flag and link in WebHelp

Unread postby Dave Gehman » Sat Mar 10, 2018 8:45 pm

Skin: WebHelp_SlateGrey

We are translation tyros...

Now that we have both an English and a Japanese Web help, how can I add a little Japanese flag + link to the English version (and vice-versa)?

We have placed the help project version number in the Header at far right. Is there a way to shoe-horn in the flag + link in this area (which is automatically generated from variables in the H+M project)?

I can't decipher where the code originates in Firefox's inspector, or I might be able to answer this myself.
Dave Gehman
 
Posts: 282
Joined: Sat Sep 23, 2017 9:05 pm

Re: Adding a country flag and link in WebHelp

Unread postby Tim Green » Mon Mar 12, 2018 7:23 am

Hi Dave,

You would basically just add the flag image along with the same code you used to insert your version number, using the image as a link, like this:

Code: Select all
<a href="../help/japanese/index.html"><img src="japan.gif" alt="Japanese Version" width="30px" height="12px" border="0" /></a>

You need to adjust the references to your Japanese WebHelp and the flag image and dimensions, of course... 8)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20364
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany


Return to Help & Manual 7 Forum

Who is online

Users browsing this forum: No registered users and 7 guests