Ring UI Web Module

제품 정보

$112.36
cart 장바구니에 담기 favorites 즐겨 찾기에 추가
사용 설명서 문서 스크린샷 비디오

inspectedPieceX에서 검사한 제품

개발자

avatar
Webology
×

가격 협상

코드 샘플 요청 다이렉트 메세지

Jul 31, 2019

공개 채팅

제품 세부 정보

Ring elements for your UI are very popular in modern webdesign. This project serves
as an easy way to add rings to your website UI without any real programming.
Simply add the markup to HTML and call to javaScript to change the fill and inner
content.
To put content/text around or underneath, that is all unrelated, you can treat this as
a div box and just put your additional content around. Line background color,
foreground color and font color can be set. Using ‘transparent’ is perfectly fine as a
value, as per usual in CSS, so making the background line vanish and only having the
active line is easy.
This tool is mainly written in JavaScript which writes HTML using CSS and SVG for
simple integration in websites.
How to Use:
Uses Jquery.

If you create any tag with the class ‘ring_ui’, this code will create a ring element for
you. This means that even this basic line, will yield a ring element:
>

All settings are in fact optional, to make the code more robust and usage more
flexible. Using default values when attributes are omitted.
The following example show you all attributes possible:
>
ring-frontcolor='orange' ring-backcolor='#444' ring-fontsize='64'
> ring-fontcolor='orange' ring-percent='33' > inner content

ring-size: Size in pixels, ring is square.
ring-thickness: The thickness of the line
ring-frontcolor: The color of the line in the foreground, the active percentage line.
ring-backcolor: The color of the background line.
ring-fontsize: Size of the font inside the inner content. In pixels.
ring-fontcolor: Color of the font inside the inner content.
ring-percent: You may set the initial percentage fill here, however this is mostly used
for the dynamic changes.
Colors can be specified in any format that CSS permits.
To change the inner content of the ring, use this call:
ringUI.changeContent(divbox, string of text or html);
You may use any HTML code in the content part. The parameter divbox denotes the
div of the ring_ui class.
Example:
> ringUI.changeContent($('#time-sec-ring'), now.getSeconds());
For changing the fill in percent:
ringUI.changePercent(divbox, integer of percentage);
Example:
> ringUI.changePercent($('#time-sec-ring'), parseInt((now.getSeconds()/60) *
> 100) );

File Tree

  • 📁 Ring UI Web Module

가격 정보

가격 통계

최고 가격
$112.36
평균 가격
$112.36
최저 가격
$112.36
AI 가격 예측
$76.58

인사이트

리뷰 및 등급
avatar
Dec 18, 2020
Great source Lots of info. Works just like it should.
ratingsratingsratingsratings ratings
avatar
Apr 20, 2020
Works perfect.
ratingsratingsratingsratings ratings

제한된 미리 보기


실제 제품에는 모든 파일과 전체 코드가 포함되어 있습니다.

종속성 확인

제품 외부 종속성 보기

무작위로 선택한 샘플 파일

프로젝트 파일 통계

계층구조

샘플 파일 선택
X
user-symbol

문의하기

비즈니스 개발자를 위한 최신 정보를 원하십니까? 소스 코드 프로젝트에 대한 PieceX 커뮤니티의 요구사항을 알아보세요. PieceX의 최신 무료 커뮤니티 코드를 빠르게 알려드립니다.