+HuntingB Posted January 21, 2019 Share Posted January 21, 2019 Hello, for my geocaching page, I want to create the functionality to add 4 flags for 4 different languages, so that if you click on a flag, you get the listing in the chosen language. I have tried to do this on a normal HTML webpage, and it works, but when I try it on geocaching.com, the links are not working. Is there somebody who can help me with this. Below is the code like I have it now. The flags are shown, but it does not link to the correct part. <center> <table style="width:80%;"> <tr> <td> <center><a href="#NL"><img src="https://s3.amazonaws.com/gs-geo-images/1155bb71-82b4-43fd-b769-6d2ae7812dab_l.png" height="60" width="120" /></a></center> </td> <td> <center><a href="#FR"><img src="https://s3.amazonaws.com/gs-geo-images/77858e32-18bd-4135-837b-d403c589b15a_l.png" height="60" width="120" /></a></center> </td> <td> <center><a href="#GE"><img src="https://s3.amazonaws.com/gs-geo-images/e8443adb-d95e-48f9-8c27-e40525a85c97_l.png" height="60" width="120" /></a></center> </td> <td> <center><a href="#UK"><img src="https://s3.amazonaws.com/gs-geo-images/1666d8ea-b55c-49ad-8f9c-1a1230d3d89c_l.png" height="60" width="120" /></a></center> </td> </tr> <tr> <td> <center><a href="#NL">Nederlands</a></center> </td> <td> <center><a href="#FR">Frans</a></center> </td> <td> <center><a href="#GE">Duits</a></center> </td> <td> <center><a href="#UK">Engels</a></center> </td> </tr> </table> </center> <br /> <br /> <br /> <h2>Nederlands</h2> Deze is de Nederlandse tekst<br /> <br /> <br /> <br /> <br /> <br /> <h2>Frans</h2> Deze is de Franse tekst<br /> <br /> <br /> <br /> <br /> <br /> <h2>Duits</h2> Deze is de Duitse tekst<br /> <br /> <br /> <br /> <br /> <br /> <h2>Engels</h2> Deze is de Engelse tekst Quote Link to comment
+HuntingB Posted January 21, 2019 Author Share Posted January 21, 2019 When I posted the first message I noticed not all code that entered was shown... In my original code there were lines like this: <h2 id="NL">Nederlands</h2> But this id is always removed. Quote Link to comment
+arisoft Posted January 21, 2019 Share Posted January 21, 2019 (edited) I found this feature a long time ago but managed to avoid the problem by using an anchor: <a name="NL" id="NL"></a><h2>Nederlands</h2> This works Edited January 21, 2019 by arisoft 1 Quote Link to comment
+HuntingB Posted January 22, 2019 Author Share Posted January 22, 2019 Hello, thank you for your response! It is working now!!! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.