Đã Đóng

Javascript needed (pushState, popState, replaceState, or?)

Job Description:

I have a web page (attached) that opens modal popups for audios, videos, and multiple levels of text. Clicking ESCAPE calls a function that closes one popup (just one level). If there are more than two popups open, it closes the top one.

REQUEST: I want the browser back button to do the same thing as clicking "Escape". In other words, I want the browser back button to have the effect of closing one popup.

HOWEVER: If there are no popups open, then clicking the back button should take user away from the page. Therefore, using a [login to view URL] method won't work here. Such a solution would lose all modal/popup levels anyway.

I believe the solution needs some combination of pushState, popState, replaceState, and/or perhaps something I'm not aware of.

*This is a request for JavaScript. Please NOT jQuery.

At minimum, the solution should work on Firefox and Chrome. And preferably Safari, but that's not required.

Kĩ năng: JavaScript, AJAX

Về khách hàng:
( 261 nhận xét ) San Francisco, United States

ID dự án: #36259296

16 freelancer chào giá trung bình$40 cho công việc này


Hello sir, I will modify your javascript not jquery to solve the popup issue and I will add clean code to make it work. I will also check each browser chrome, firefox, safari then I will deliver it to you. Regard's

$30 USD trong 2 ngày
(20 Nhận xét)

Hi, how are you? I am a professional web developer with more than 6+ years of experience. I have strong knowledge of web development using NodeJS. In addition, I also have good experience with JS frameworks such as Re Thêm

$30 USD trong 1 ngày
(12 Nhận xét)

Hey, I read your requirements, I can do this for you, have prior experience working with such tasks. Let me know if you are interested, I will be more happy to serve you. Sincerely Rajesh

$150 USD trong 7 ngày
(7 Nhận xét)

I have more than 10 years of experience working with PHP, CodeIgniter, Prestashop, Laravel, MySQL, PostgreSQL, API, HTML, Javascript, Node Js, Vue Js Css, Git, C#, TLV, QR Code, BarCode, SQL Server, Devexpress, and int Thêm

$30 USD trong 2 ngày
(10 Nhận xét)

Hello There, I am excited to offer my services as a JavaScript developer for your web page project. I understand that you need the browser back button to function as the "Escape" button, closing one popup at a time. I Thêm

$30 USD trong 7 ngày
(3 Nhận xét)

Greetings! I have read your description carefully and understand what you actually need. I am an experienced developer and can handle this project easily and in perfect manner. I am available now and can start right aw Thêm

$50 USD trong 2 ngày
(0 Nhận xét)

Greetings ✋ I just read your posting I will do this project according to your requirements.☑️ I can provide you immaculate quality work that can add valuce in your audience and is budget-friendly.✅ Kindly share your s Thêm

$23 USD trong 7 ngày
(0 Nhận xét)

Dear Sir, Thank you for considering me for your project. I understand that you have a web page with modal popups for audios, videos, and multiple levels of text, and you require a JavaScript solution that makes the br Thêm

$23 USD trong 7 ngày
(0 Nhận xét)

Dear Client, I am excited to submit my proposal for the Project posted on Freelancer. As an experienced in Javascript, I believe I have the skills and expertise required to deliver high-quality work on this project. Thêm

$23 USD trong 9 ngày
(0 Nhận xét)