Results 1 to 1 of 1
Mar 13, 2014, 06:37 #1
- Join Date
- Mar 2014
- 0 Post(s)
- 0 Thread(s)
Making 'jquery.tr' Client Side Language Switching with Hyper Link, not Select Option
To-date, I've been using the following to provide a Client-Side text content translation functionality without any problems:
jQuery Cookie Plugin v1.4.0
I'm aiming to amalgamate this into a new Responsive landing page I've been working on. But, by default - jquery.tr.js uses Select Option to allow language switching - I've been trying to figure out how I should replace the Select Option with Text Hyperlinks.
I wonder if anyone could please help me narrow down possible options.
I've considered: Set selected option via hyperlink using jQuery, which made me realise that jQuery .toggle() might be the proper way.
I've made this stripped down version to show above Plugins in action on JS Bin:
Edit View: http://jsbin.com/gufup/1/edit
As you can see, the Select Option allows switching between two languages (...Welsh). How should I edit the jQuery to replace Select Option with Text Hyperlinks?