Find Jobs
Hire Freelancers

Adjust a small Jquery script

$10-30 USD

已完成
已发布超过 8 年前

$10-30 USD

货到付款
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 -->
项目 ID: 9166034

关于此项目

12提案
远程项目
活跃8 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
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 在1天之内
5.0 (293条评论)
6.8
6.8
12威客以平均价$26 USD来参与此工作竞价
用户头像
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 在1天之内
5.0 (239条评论)
8.3
8.3
用户头像
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 在1天之内
5.0 (490条评论)
8.3
8.3
用户头像
A proposal has not yet been provided
$20 USD 在1天之内
5.0 (206条评论)
6.4
6.4
用户头像
Ok, i am interested in taking this jquery job. Please award me. so i can start work right now. thanks,
$24 USD 在1天之内
5.0 (55条评论)
5.7
5.7
用户头像
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 在1天之内
5.0 (28条评论)
5.5
5.5
用户头像
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 在0天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在1天之内
0.0 (1条评论)
0.0
0.0
用户头像
A proposal has not yet been provided
$15 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

NETHERLANDS的国旗
Almere, Netherlands
5.0
9
付款方式已验证
会员自7月 10, 2011起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。