Find Jobs
Hire Freelancers

Adjust a small Jquery script

$10-30 USD

Abgeschlossen
Veröffentlicht vor mehr als 8 Jahren

$10-30 USD

Bezahlt bei Lieferung
Hello, Job description Jquery/Javascript (HTML code below job description) ------------------------------------------------------------------------------------- The script must first detect if <div id="page" contains layout1 in CLASS. Then the script must generate: jQuery(window).scroll(function() { if (jQuery(this).scrollTop() > 50){ jQuery('#masthead').addClass("zazasticky111111111111 animated slideInDown"); } else{ jQuery('#masthead').removeClass("zazasticky111111111111 animated slideInDown"); } }); ------------------------------------------------------------------------------------- But if the script detects if <div id="page" contains layout2 OR layout3 in CLASS. Then the script must generate: (without "111111111111") jQuery(window).scroll(function() { if (jQuery(this).scrollTop() > 50){ jQuery('#masthead').addClass("zazasticky animated slideInDown"); } else{ jQuery('#masthead').removeClass("zazasticky animated slideInDown"); } }); ------------------------------------------------------------------------------------- I also want to disable or enable the above script on different viewports. Lets say the script must execute on large and medium screens but not at mobile Or not at medium and mobile screens. Something like: Large = y Medium = N Small = N ------------------------------------------------------------------------------------- HTML ------------------------------------------------------------------------------------- <div id="page" class="hfeed site container <?php echo $zaza_optionsbase['container-shadow']; ?> <?php if($zaza_optionsbase['layout'] == '1') { echo 'layout1'; } elseif($zaza_optionsbase['layout'] == '2') { echo 'layout2'; } else { echo 'layout3'; } ?>"> <div class="second-header-width"><div class="second-header"><?php echo $zaza_optionsbase['header-secondary-editor']; ?></div></div> <header id="masthead" class="site-header columns"> <div class="header-width"> <div class="small-12 large-3 columns"> <?php if(true == $zaza_optionsbase['basic-logo']['url']) { echo '<a href="'. get_option('home'). '"/><img class="logo" alt="'. get_bloginfo('name') .'" title="'. get_bloginfo('name') .'" src="' . $zaza_optionsbase['basic-logo']['url'] . '" /></a>'; } elseif(true == $zaza_optionsbase['retina-logo']['ur bl']) { echo '<a href="'. get_option('home'). '"/><img class="logo" alt="'. get_bloginfo('name') .'" title="'. get_bloginfo('name') .'" src="' . $zaza_optionsbase['retina-logo']['url'] . '" /></a>'; } else { echo '<a href="'. get_option('home'). '"/><h1>'.get_bloginfo('name').'</h1></a>'; } ?> </div> <div class="small-12 large-9 columns"> <nav id="site-navigation" class="main-navigation" role="navigation"> <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_html_e( 'Primary Menu', 'zaza' ); ?></button> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu' ) ); ?> </nav><!-- #site-navigation --> </div> </div> </header><!-- #masthead -->
Projekt-ID: 9166034

Über das Projekt

12 Vorschläge
Remote Projekt
Aktiv vor 8 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
I am expert in js/jQuery. I will start this job right now and hopefully finish this in few hours. I am available to start this job right now. I am currently online please contact me via freelancer.com chat. For the time being please have a look at my Point Of Sale application [login to view URL] Above web application is full of Html, Css, js/jQuery, Ajax, php and mysql that show I am capable of these kind of work.
$30 USD in 1 Tag
5,0 (293 Bewertungen)
6,8
6,8
12 Freelancer bieten im Durchschnitt $26 USD für diesen Auftrag
Avatar des Nutzers
Hello Sir/Ma'am! I'm expert in web development. with more than 130 successful project; I assure you the highest quality of the work. Please discuss details in message. thank you!
$24 USD in 1 Tag
5,0 (239 Bewertungen)
8,3
8,3
Avatar des Nutzers
Hello, I understand your requirement and have experience to do this type of work. I assure you that we complete your product on time with quality. Please check your Private Message Box for more details. Thank you, Govind sharma
$34 USD in 1 Tag
5,0 (490 Bewertungen)
8,3
8,3
Avatar des Nutzers
A proposal has not yet been provided
$20 USD in 1 Tag
5,0 (206 Bewertungen)
6,4
6,4
Avatar des Nutzers
Ok, i am interested in taking this jquery job. Please award me. so i can start work right now. thanks,
$24 USD in 1 Tag
5,0 (55 Bewertungen)
5,7
5,7
Avatar des Nutzers
Hello. I am a devveloper with experience in using HTML, PHP, CSS, JQuery. Codeigniter, Bootstrap, etc. I can help you to adjust the jquery script. So, could we discuss it now? Thank you
$35 USD in 1 Tag
5,0 (28 Bewertungen)
5,5
5,5
Avatar des Nutzers
I have 8+years work experience in .NET,FLASH,C#,Linux,Visual Studio2010,Joomla,ASP,Javascript,Java,PHP,Python,Prestashop, MS access,SQL,Shell script,XML,moodle,AJAX,CMS,HTML,Drupal,SEO,CSS,wordpress,Bootstrap,Photoshop,Oscommerce, CSS,Paypal API technologies here.I am a web and tech savvy person.I have satisfied more clients successfully in short duration.I will give you very good quality and high level of Accuracy for this position.I can accept your payment terms and method here,Keep me posted. Specialization Areas Website Development Website Testing Project Management( Base camp) Data Collection Advanced VBA and Excel Macros E commerce PayPal Payment Gateway Integration Directory Automation Scraping Application Development Mobile Application Development Amazon Product services Graphic Design Windows and Linux Server Administration Thank you.
$25 USD in 0 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
i have wide knowledge about javascript, Jquery ,wordpress plugin, theme modification, CSS, HTML and PHP. i will update every work on day by day activities.
$19 USD in 1 Tag
0,0 (1 Bewertung)
0,0
0,0
Avatar des Nutzers
A proposal has not yet been provided
$15 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von NETHERLANDS
Almere, Netherlands
5,0
9
Zahlungsmethode verifiziert
Mitglied seit Juli 10, 2011

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.