Header Scrolling Javascript Function

Updated September 29, 2021

Content Key

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
Scrolling Javascript Function

jQuery(document).ready(function($){
var scroll_pos = 0;
scroll_pos = $(this).scrollTop();
if(scroll_pos > 2) {
$("#top-nav").css('background-color', '#ffffffff');
$("#top-nav ul li a").addClass('top-nav-links');
} else {
$("#top-nav").css('background-color', '#ffffff00');
$("#top-nav ul li a").removeClass('top-nav-links');
}
$(document).scroll(function() {
scroll_pos = $(this).scrollTop();
if(scroll_pos > 2) {
$("#top-nav").css('background-color', '#ffffffff');
$("#top-nav ul li a").addClass('top-nav-links');
} else {
$("#top-nav").css('background-color', '#ffffff00');
$("#top-nav ul li a").removeClass('top-nav-links');
}
});

$( document ).on( 'click', '.close-popup', function( event ) {
elementorProFrontend.modules.popup.closePopup( {}, event );
} );

});

 38,863 total views,  472 views today

David Joaquin
Author: David Joaquin

Website

Join our email list for marketing strategies, website tips and ux improvements, and business insights.

Leave a Reply

About Justin Young

Justin is the founder and operator of 702 Pros. He has been at the forefront, managing the design and strategy of various marketing, SAAS, and business management systems.

His vast knowledge of web technologies and marketing techniques has been recognized by businesses and associates. Remarking on his vision and business savvy decisions. Side note, he also has some pretty sweet dance moves.

Subscribe to our newsletter
How is your website SEO?

We can analyze your website and give you expert feedback. In addition to a plan of action to increase website traffic.

FAQs

There are definitely benefits associate with hiring a local website hosting provider over a large hosting provider like Godaddy. One, you have a clear company
There are definitely benefits associate with hiring a local website hosting provider over a large hosting provider like Godaddy. One, you have a clear company
Why – in a world of website builder tools would someone possibly hire a professional web designer to do a website for them? Short
Hiring a web designer can be a tough decision for any business to make. It can be even more of a challenge working with
702 Pros was created in 2015 and registered as a business in Las Vegas, NV in early 2016.
Our web design services include service business web design, e-commerce web design, artist portfolio web design, photography portfolio web design, restaurant website design, entertainment

Meet Our Team

I’m Justin Young, the Founder and CEO of 702 Pros. Let’s build something amazing, challenge our minds with creative and insightful development.

Justin Young

Founder and CEO

Hi All! I oversee complete operations at 702 Pros. I’m passionate and dedicated to helping continue innovation and growth of local businesses.

Ashley Mathews

Chief Operations Officer

Hey there! I manage all technical and design components for our clients. I enjoy creating designs and websites as well. 🙂

Michael Pothos

Chief Technical Officer

Kyla Sloan

Administrative Assistant

eCommerce Website Maintenance Las Vegas

Do you need help with eCommerce Website Maintenance Las Vegas, NV—We’re here to help! Our team of eCommerce website maintenance Las Vegas pros are ready

 26,970 total views,  430 views today

Your cart is currently empty.

Return to shop

Ready to Discuss your digital strategy?

Free 30 minute phone consultation.

Setup Your Web Support Account
Professional setup and transfer includes: email, websites, app, database, and server setting transfers. This is an additional cost and will be determined on your business needs, current server situation and additional factors that may effect transfer.
Setup Your Hosting Account
Professional setup and transfer includes: email, websites, app, database, and server setting transfers. This is an additional cost and will be determined on your business needs, current server situation and additional factors that may effect transfer.