如何在使用滑块时增加字体大小 [英] how to increase the font size in using slider

查看:59
本文介绍了如何在使用滑块时增加字体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想实现滑块。

增加滑块字体大小的长度会增加。

减少滑块字体大小的长度会减少。

Hello i want to implement slider .
on increasing the length of slider font size is increase .
on decrease the length of slider font size is decrease.

推荐答案

<!doctype html>
<html lang="us">
<head>
    <meta charset="utf-8">
    <title>jQuery UI Example Page</title>
    <link href="css/ui-lightness/jquery-ui-1.10.2.custom.css" rel="stylesheet">
    <script src="js/jquery-1.9.1.js"></script>
    <script src="js/jquery-ui-1.10.2.custom.js"></script>
    <script>


(function(){
(function () {


('#slider')。slider({
change:function (event,ui){
if(event.originalEvent){
('#slider').slider({ change: function (event, ui) { if (event.originalEvent) {


这篇关于如何在使用滑块时增加字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆