Đã hoàn thành

hide/show a div based on a part of the URL string

This project should be a copy-paste kind of project for experienced web developers.

We are building a multilingual website and webstore on the DudaMobile (DudaOne) platform. Although Duda fully supports multilingual features, the content of the webshop surprisingly isn't. In other words: the description of a product can only be shown in one language.

As we can edit the content related HTML code of the website, we want to build a simple workaround by hiding and showing div's, based on the URL of the website. We would then group the product description in a div per language...

The code's logic should be something like this:

Each div has a reference: 'NL', 'EN', 'FR' and 'DE'

Break up the URL: it looks like '[url removed, login to view]', it should only look at what comes directly after the first dash: the language ref.

By default, 'NL' should be shown, all other divs should be hidden.

IF the content after the first dash contains the following exact strings:

-"en-gb": hide 'NL' and show 'EN'

-"fr": hide 'NL' and show 'FR'

-'de': hide 'NL and show 'DE'

Website's URL and pw (it's not public yet) available upon request.

Last but not least: if you react on this project and want us to take you seriously, type the word "APPLE" in capital letters in the first line of your proposal. This way we know you have actually red our question all the way through.

Kĩ năng: CSS, HTML, Javascript, Thiết kế trang web

Xem nhiều hơn: hide div based content, hide div based condition jsp, displaying div based url, included div based variable url, hide paragraph based url parameter, php load div based url, show div based url, dynamic menu based url string php, display div content based url, html css div based design, create div based site, text hide div javascript, text based url php, div based layout css creator, html based url parameter

Về Bên Thuê:
( 3 nhận xét ) Wommelgem, Belgium

ID dự án: #15442947

Được trao cho:


APPLE I have just two questions: 1) you want a pure(core) javascript code or it may be jquery for example? 2) The lang reference in the div wrapper would be done how(so it can be tied with the code)? Relevant Skills a Thêm

€15 EUR trong 0 ngày
(75 Đánh Giá)

17 freelancer đang chào giá trung bình €21 cho công việc này


APPE Hi, I have done several projects like this. And I am well qualified for this job. I will complete the job within a reasonable timeframe. Thanks Kiran Relevant Skills and Experience . Proposed Milestones €2 Thêm

€23 EUR trong 1 ngày
(38 Nhận xét)

Hi. I readed your project very carefully. I developed website for 5+ years. Relevant Skills and Experience I am good at PHP, MYSQL, HTML, CSS, JAVASCRIPT. Proposed Milestones €23 EUR - My effort I am sure I can do y Thêm

€23 EUR trong 1 ngày
(33 Nhận xét)

APPLE Show and hide based on URL parameters Relevant Skills and Experience I am an expert in the following: PHP, WordPress, HTML, CSS, JQUERY, JAVASCRIPT, AJAX, MONGO, DATABASE, Website Design and Development, Respo Thêm

€22 EUR trong 1 ngày
(21 Nhận xét)

APPLE Hi This task can be done using Javascript/HTML/CSS. Code will show the DIV based on the language (from URL) slug. My code will be placed on top of every page. Plz share URL/pw. Relevant Skills and Experience I h Thêm

€15 EUR trong 1 ngày
(36 Nhận xét)

APPLE hi there! i have more than 7 years of experience in wordpress development. Please do not ignore as a new profile. I can give you more quality work on time. Thank you Relevant Skills and Experience web design we Thêm

€23 EUR trong 3 ngày
(36 Nhận xét)

APPLE. I have gone through your project description and I can help you out on this within no time! Relevant Skills and Experience I have been working as a full stack PHP based developer for the last 3+years. You can Thêm

€23 EUR trong 1 ngày
(26 Nhận xét)

APPLE, Hey i can help out. I understand the issue. Aptitudini și experiență relevante Developer 5 years. Plăți intermediare propuse €29 EUR - Job done.

€29 EUR trong 1 ngày
(24 Nhận xét)

hi Relevant Skills and Experience hi Stay tuned, I'm still working on this proposal.

€23 EUR trong 1 ngày
(14 Nhận xét)
€29 EUR trong 1 ngày
(5 Nhận xét)

Hi Nice to meet you I have enough experience in javascript I want know more details You can check my profile and reviews Best regards Stay tuned, I'm still working on this proposal.

€23 EUR trong 1 ngày
(10 Nhận xét)

Hello sir, I can use Java script to do this task. Let me help handle this task for you. Thanks. Relevant Skills and Experience Javascript, HTML/CSS Proposed Milestones €20 EUR - for amount

€20 EUR trong 1 ngày
(10 Nhận xét)

Hello, I am very interested in the project and you would like to apply to it. I'm a web developer with 7 years experience in PHP, MYSQL, CSS3, HTML5 and deep knowledge Wordpress, WP pluggin, development issues Thêm

€23 EUR trong 1 ngày
(5 Nhận xét)

APPLE I read you job in details and noticed that i can do it. Relevant Skills and Experience html, php, css, bootstrap, ajax calls, javascript, react, angular ruby on rails, postgresql, django, python Proposed Miles Thêm

€23 EUR trong 1 ngày
(0 Nhận xét)

Please hire me to get the job done, i can fix it for you within one day, i hope you will like my fast work please accept my bid,, so i can get on track in this website. Thanks Relevant Skills and Experience I have mo Thêm

€8 EUR trong 0 ngày
(0 Nhận xét)

This should be no problem using JS and it will take not so long to complete. Relevant Skills and Experience 3+ years in js technologys, pure js, [url removed, login to view], react.js and angular.js from frontend development. Proposed Thêm

€23 EUR trong 2 ngày
(0 Nhận xét)

APPLE A web developer beginner like all the challenge Expérience et Compétences appropriées Javascript / Only personal project Étapes proposées €12 EUR - Javascript , Angular2 , vueJs , nodeJs

€12 EUR trong 2 ngày
(0 Nhận xét)