Find Jobs
Hire Freelancers

Write a CSS-class (keep expanded list)

$10-30 USD

已完成
已发布大约 7 年前

$10-30 USD

货到付款
I have a CSS-menu that I make in PHP. Each menu-item can be set by adding the css-property "active" to each <li> item. Pretty simple that way. This remains/survives even on page-load thanks to PHP, I write out "active" class to do this. So far so good! However, a few top-level menu-items have sub-items I use toogle on. Javascript toogle works and shows all sub-items and even writes "active" on correct item. But I don't know how to keep the toogle or the <ol>-item around it open. Basically, I need help to write a css-property .open to <ol sub-nav>. The goal is to keep the <ol>-open if an item in its list is active, like you see in the picture. The PHP-code has support to detect and write whatever css I want, so it is only the CSS-part I need help with.
项目 ID: 13423952

关于此项目

19提案
远程项目
活跃7 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hey, In case you haven't found any solutions yet, there is no way you can do it only using CSS since CSS does not have any selector to get the parents or ancestors :( However you can use JQuery to solve the issue, just define a <script> tag in your PHP file and add the following code. $( document ).ready(function() { $( "[login to view URL]" ).parents("ol").css( "add preferred style here" ); }); I believe it should work, in case it doesn't give me a buzz and I will do my best to help you :D Cheers
$20 USD 在1天之内
4.9 (5条评论)
4.1
4.1
19威客以平均价$45 USD来参与此工作竞价
用户头像
Give me chance to prove my ability and also quality work i am waiting your positive replay from your side i am highly interested to work with you We have 8 years’ experience in this field and completed many project have good portfolio if you want to see massage me Thanks
$34 USD 在1天之内
4.9 (789条评论)
8.2
8.2
用户头像
Hi there I can do it ASAP. Please share details. Lets Start................. Thanks...................................................................................................
$15 USD 在0天之内
5.0 (150条评论)
6.2
6.2
用户头像
Hello! my name is Viktor. We are IT Company «Webin». We provide website design and web and app development services for organizations, public and government institutions, company or private web-pages. We got acquainted with Your description of the task, our devs can start the work on Your website as soon as You need. We have gained years of experience and expertise working in CMS(Wordpress, Drupal, OpenCart, MoDx), Mockup Designs, Template Customizations, PHP, php-frameworks(Yii/Yii2,laravel), Software Architecture, JavaScript, jQuery, HTML5, CSS3 and Responsive. Our team specialized on developing from the simplest website to the most complex web-based internet applications, electronic businesses, corporate portals and social network services. Now, we are ready to start working on your project. However, we are looking forward to hear from you the detailed descriptions of the task. We are glad to chat with You and discuss all in details. Contact us and we will reply immediately. Waiting for Your reply! With regards, Webin team
$17 USD 在1天之内
4.9 (23条评论)
5.7
5.7
用户头像
Hello, Check our profile we have 100 % completion rate with on time delivery . We have expert developers here and they are fast so you will have guaranteed delivery on time . We also worked on penalty for late delivery but we never failed . Looking forward to hear from you. Thanks. collonmade
$15 USD 在1天之内
5.0 (21条评论)
5.2
5.2
用户头像
Hi, This is Norhan, web front end developer. As i got .. you want to open all sub menus when it's item be active , right ? . if right i will need to see the code of the menus live to can detecated if it is a CSS issue Or JS issue ( as i think Best Regards, Norhan
$35 USD 在2天之内
5.0 (19条评论)
4.6
4.6
用户头像
Hi I will make a CSS menu in php . ready to start right now thanks
$15 USD 在1天之内
3.9 (30条评论)
5.0
5.0
用户头像
Dear Employer, As you have mentioned, it's a simple job to do. I am able to complete it in few mins.I am ready to start right now. Please contact me. Thanks and Regards, Mayank
$10 USD 在1天之内
4.8 (19条评论)
4.2
4.2
用户头像
Hello sir, I read project description and understood it. I have good knowledge of PHP and MySQL. I have developed so many projects in PHP. Looking forward to hear from you. Thanks Ashish
$17 USD 在1天之内
5.0 (9条评论)
2.5
2.5
用户头像
Hello sir, I have well experiences in PHP, My SQL, J-Query, HTML and CSS. I require 2days to done. For this I expect $10. I can finish early but I want to assign 2-days for this work. You can leave message over chat-box to discuss further. Awaiting reply, Thank you
$15 USD 在2天之内
5.0 (3条评论)
2.1
2.1
用户头像
Benefits To Hire Us: Fast Turnaround Time Mon to Sat Working -> 9 years of experience -> Affordable Pricing Plans -> 100% satisfaction assured -> Reliable - Friendly and Professional -> No need to release any money upfront -> 100% support consultation after delivering the project -> Fast Delivery - Able to come back to you with a great progress within 24 hour -> Server Management , Domain purchase , Email account management services Our primary focus is around:- -Web Designing (Responsive Websites, Responsive, Angular JS,PSD to HTM5, PSD to CMS Template Design, HTML/XHTML, CSS, Jquery) -Web Development ( Wordpress , CMS, Magento, Core PhP,codeiginter,Woocomeerce,Angular js) -Corel Draw, Adobe Photoshop, Adobe Illustrator, Adobe Indesign, Powerpoint, 2D Designing, 3D Designing, Flash, Max, Maya -Expertise In Brochures, PPT, LOGO, Flyer, Poster, Websites -Graphic Designing (Corporate Identity, Logo , Banner, Brochure, Flyer, Poster, PPT, PDF Designs, CD Covers, Labels, Business Cards, T-Shirt Designs, Infographic, Illustrations, Invitation Cards, Business/Visiting Cards, Website Mockup Designing, Landing Pages, Facebook/Social Profile Images, Youtube Banners ) Let me know your views to kick start of your project thanks
$25 USD 在1天之内
5.0 (1条评论)
1.7
1.7
用户头像
Hi,We have 7+ experienced developers who can work for you. 1. Web/Software Development & Web Programming (.Net, PHP) 2. Web Designing(Photoshop, HTML designing, corporate website design, PSD to XHTML/HTML, LOGO etc) 3. E-Commerce Portal Development/ Online Store Development(Woocommerce, Magento, OS Commerce, Nop Commerce etc..) 4. Open Source Cutomisation/ CMS (WORDPRESS, DRUPAL, JOOMLA & MAGENTO etc...) 5. Customized Application Development 6. iPhone/iOS/iPad Application Development 7. Android Application Development We offer a wide range of web/mobile/software development solutions using latest technologies such as PHP, ASP.NET, SharePoint, Open Source Solutions (Magento, WordPress, Drupal, OpenCart, Shopify, etc.), and leading popular frameworks such as ASP.NET MVC, CakePHP, Zend, CodeIgniter, Symphony, Laravel, Yii, etc. We also develop applications for iPhone, Android, Windows Mobile, Tablets (both native applications as well as cross platform technologies such as PhoneGap.)
$25 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

NORWAY的国旗
OSLO, Norway
5.0
93
付款方式已验证
会员自6月 14, 2002起

客户认证

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