IOS 7 Segmented Control
How do I make an ios 7 segmented control?
This is an example of the iOS 7 segmented control using the ChocolateChip-UI framework. It works on Safari 6 to 7 or on iOS devices running version 6 to 7.. What is a ios 7 segmented control? How do you make a ios 7 segmented control? This script and codes were developed by Robert Biggs on 24 August 2022, Wednesday.
IOS 7 Segmented Control - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>iOS 7 Segmented Control</title> <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="msapplication-tap-highlight" content="no"> <link rel='stylesheet prefetch' href='https://s3-us-west-2.amazonaws.com/s.cdpn.io/77047/chui.ios-3.0.4.min.css'>
</head>
<body> <nav> <h1>Segmented: Dynamic</h1>
</nav>
<article id="main" class="current"> <section> <div id='segmentedPanel' class='horizontal centered'></div> <div id="toggle-panels"> <div> <ul class='list'> <li class='comp'> <aside> <img title='Imagine Dragons' src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/77047/Imagine_Dragons.png" height="80px"> </aside> <div> <h3>Imagine Dragons</h3> <h4>Radioactive</h4> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> </li> </ul> </div> <div> <ul class='list'> <li class='comp'> <aside> <img title='Hurry and Harm' src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/77047/Hurry_and_Harm.png" height="80px"> </aside> <div> <h3>The Hurry and the Harm</h3> <h4>Hurt</h4> <p>Nam omnium facilis volumus at, eam noster reprehendunt mediocritatem at. Enim urbanitas reprimique quo no. Duo dico munere partem cu, tollit bonorum duo cu.</p> </div> </li> </ul> </div> <div> <ul class='list'> <li class='comp'> <aside> <img title='Willy Moon' src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/77047/Willy_Moon.png" height="80px"> </aside> <div> <h3>Willy Moon</h3> <h4>Yeah Yeah</h4> <p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint.</p> </div> </li> </ul> </div> </div> <ul class='list' id='output'> <li> <h3>You selected panel: <span></span>.</h3> </li> </ul> </section>
</article> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://s3-us-west-2.amazonaws.com/s.cdpn.io/77047/chui-3.0.4.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
IOS 7 Segmented Control - Script Codes JS Codes
$(function() { var segmentedOptions = { id: 'mySegmented', labels : ['Radioactive','Hurt','Yeah, Yeah'], selected: 2 }; var segmentedResponse = function(e) { e.stopPropagation(); $('#output').find('h3 > span').html(($(this).index() + 1)); }; var newSegmented = $.UICreateSegmented(segmentedOptions); $('#segmentedPanel').append(newSegmented); $('.segmented').UISegmented({callback:segmentedResponse}); $('.segmented').UIPanelToggle('#toggle-panels',function(){$.noop;}); var selectedPanel = $('.segmented').find('.selected').index(); $('#output').find('span').html(selectedPanel + 1);
});
Developer | Robert Biggs |
Username | rbiggs |
Uploaded | August 24, 2022 |
Rating | 3 |
Size | 2,577 Kb |
Views | 42,504 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
IOS 7 Horizontal Paging | 2,133 Kb |
Simple List | 1,674 Kb |
Select List for Android | 2,002 Kb |
Tab Bar App | 7,112 Kb |
IOS 7 Deletable List | 2,180 Kb |
Navigation List | 1,903 Kb |
IOS 7 Switch | 2,235 Kb |
Slide out Menu | 4,936 Kb |
Simple Navigation List | 2,261 Kb |
Dynamic List | 2,257 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
A Pen by Huan Nghiem | Nightshade | 10,646 Kb |
Basic template | Tomcat | 1,675 Kb |
CardMove | Thompsonemerson | 3,699 Kb |
Resizable SASS Icons | Marianarlt | 7,611 Kb |
Countdown Timer | Massiebn | 3,001 Kb |
Pure CSS Spinners | Jlong | 2,043 Kb |
Stylize Stories | Jvhti | 2,465 Kb |
Experiment - SCSS SVG Background Image with Variables | See8ch | 3,270 Kb |
Angular Route | Arun_v606 | 1,837 Kb |
Animate a paper plane along an SVG path, looking ahead | PotatoDie | 3,734 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!