Adding a country flag and link in WebHelp

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

Moderators: Alexander Halser, Tim Green

Post Reply
Dave Gehman
Posts: 575
Joined: Sat Sep 23, 2017 9:05 pm

Adding a country flag and link in WebHelp

Unread post by Dave Gehman »

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.
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Adding a country flag and link in WebHelp

Unread post by Tim Green »

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.
Post Reply