js在线免费网页设计 第1篇
精选真实成功客户案例,让你近距离了解
......
代码如下(节选示例):
.nhbanner { width: 100%; height: 650px; position: relative } .slideBox_banner{ width: 100%; min-width: 1200px; height: 650px; position: relative; text-align: center; overflow: hidden; z-index: 12; } .slideBox_banner .hd{} .slideBox_banner .bd{ margin-top: -10px;} .slideBox_banner .bd img{width: 100%; height: 100%} .slideBox_banner .prev, .slideBox_banner .next { width: 45px; height: 99px; position: absolute; top: 200px; z-index: 3; filter: alpha(opacity=20); -moz-opacity: .2; opacity: .2; -webkit-transition: All .5s ease; -moz-transition: All .5s ease; -o-transition: All .5s ease; } .slideBox_banner .prev:hover, .slideBox_banner .next:hover{ filter: alpha(opacity=100); -moz-opacity: 1; opacity: 1; } .slideBox_banner .prev { background-image: url(../images/); background-position: -112px 0; left: 0; } .slideBox_banner .next { background-image: url(../images/); background-position: -158px 0; right: 0; } .nhbanner .homeBanneraAbout { padding: 18px 40px 0; } .nhbanner .homeBanneraAbout div { overflow: hidden; color: #ffffff; text-align: center; line-height: 22px; margin-bottom: 15px; } .nhbanner .homeBanneraAbout div h2 { margin:0; font-style: normal; font-weight: normal; font-size: 22px; } .nhbanner .homeBanneraAbout div span { font-size: 14px; height:14px; line-height:14px;margin-top:10px; display: block; } .nhbanner .try_out{ position: absolute; margin: 0 auto; left: 0; z-index: 99; right: 0; bottom: -50px; height: 165px; width: 960px; background: rgba(255, 88, 88, ); } .nhbanner .try_out:after { display: block; content: __; height: 10px; margin-top: 25px; background-color: #f5f5f5; background-size: 10px 20px; background-image: linear-gradient(45deg,rgba(255, 88, 88, ) 25%, transparent 25%, transparent), linear-gradient(-45deg, rgba(255, 88, 88, ) 25%, transparent 25%, transparent), linear-gradient(45deg, transparent 75%, rgba(255, 88, 88, ) 75%), linear-gradient(-45deg, transparent 75%,rgba(255, 88, 88, ) 75%); } .nhbanner .homeBanneraAbout input { display: block; float: left; border: none; font-size: 14px; border-radius: 4px; padding: 0 20px; height: 50px; margin-right: 10px; } .nhbanner .homeBanneraAbout { width: 310px; } .nhbanner .homeBanneraAbout { width: 390px; } .nhbanner .homeBanneraAbout { background-color: #fed900 !important; color: #fff; text-align: center; font-size: 18px; margin-right: 0 !important; cursor: pointer; width: 160px; } .nhbanner .homeBanneraAbout .delete_btn{position: absolute; right:10px; top:5px;z-index: 111; cursor: pointer} .homeBanneraAbout .touimg{position: absolute; width: 140px; height: 140px; left: 0px;top:-138px;} .index-entries { padding: 20px 0; background: #f5f5f5; } .index-entries .entries-item { float: left; box-shadow: 0 0 0 #fff; -webkit-transition: all .3s ease; transition: all .3s ease; opacity: 1; } .index-entries .entries-item a { display: block; width: 277px; height: 120px; padding: 23px 25px; background-color: #fff; } .entries-item .entries-item-info { float: left; text-align: left; } .entries-item .entries-item-title { font-size: 20px; line-height: 44px; color: #333; font-weight: 400; margin: 0px !important } .entries-item .entries-item-tip { display: block; font-size: 12px; line-height: 17px; color: #666; } .entries-item .entries-item-icon { display: block; float: right; background-image: url(../images/); background-image: -webkit-image-set(url(../images/) 1x,url(../images/) 2x); background-image: image-set(url(../images/) 1x,url(../images/) 2x); } .entries-item-icon-first { width: 101px; height: 72px; background-position: -7px -283px; } .index-entries .entries-item+.entries-item, .zzx-company-list+.zzx-company-list {margin-left: 20px;} .allFloor_title_box {text-align: center;margin-top: 30px;} .allFloor_title_box .floor-titles {height: 60px; line-height: 60px;text-align: center;} .allFloor_title_box .floor_summery {font-size: 14px;color: #606060;} .allFloor_title_box .floor-titles .line { display: inline-block; width: 79px; border-top: 1px solid #b5b5b5; vertical-align: 2px; } .index-entries .entries-item:hover { -webkit-box-shadow: 0 15px 30px rgba(0,0,0,.1); box-shadow: 0 15px 30px rgba(0,0,0,.1); -webkit-transform: translate3d(0,-2px,0); transform: translate3d(0,-2px,0); border-radius: 2px; } .allFloor_title_box .floor-titles .txt { color: #000; vertical-align: middle; font-size: 30px; padding: 0px 20px; } .allFloor_title_box .floor-titles .line { display: inline-block; width: 79px; border-top: 1px solid #b5b5b5; vertical-align: 2px; } .entries-item-icon-second { width: 75px; height: 72px; background-position: -136px -283px; } .entries-item-icon-third { width: 79px; height: 65px; background-position: -232px -287px; }
......
代码如下(节选示例):
$(document).ready(function(){ $(_.index-kgl-lower,.designer_intos ,.Column_name_sort,.photo_gallery_switch_).hover(function() { $(this).addClass(_hover_); $(this).find(_.Case_contect_).stop() .animate({ opacity:1 , height:_100%_}, _fast_) .css(_display_,_block_);
}, function() { $(this).removeClass(_hover_); $(this).find(_.Case_contect_).stop() .animate({ opacity: 1,height:_70px_}, _fast_) .css(_display_,_block_); }); $(_.case_list_content_).hover(function() { $(this).addClass(_hover_); },function() { $(this).removeClass(_hover_); }) //地图选择 /***********/ $(_#weixin_).hover(function() { $(_.erweima_style_).css(_display_,_block_); $(this).prepend().addClass(_hover_); },function(){ $(_.erweima_style_).css(_display_,_none_); $(this).prepend().removeClass(_hover_); }); $(_.imgFull_).each(function(index, element) { $(_.imgFull_).eq(index).css(_background-image_, _url(_ + $(_.imgFull_).eq(index).find(_img_).attr(_src_) + _)_); }); }); //置顶图标显示 $('#fixed_column').hide() $(window).scroll(function(){ if($(this).scrollTop() > 350){ $(_#fixed_column_).fadeIn(); } else{ $(_#fixed_column_).fadeOut(); } });
$(function() { var $this = $(_#reservation_list_); var scrollTimer; $(function() { clearInterval(scrollTimer); }, function() { scrollTimer = setInterval(function() { scrollNews($this); }, 2000); }).trigger(_mouseleave_);
function scrollNews(obj) { var $self = (_ul_); var lineHeight = $(_li:first_).height(); $({ _marginTop_: -lineHeight + _px_ }, 600, function() { $({ marginTop: 0 }).find(_li:first_).appendTo($self); }) } }); // custom formatting example $('#count-number').data('countToOptions', { formatter: function (value, options) { return ().replace(/\B(?=(?:\d{3})+(?!\d))/g, ','); } }); // $(function(){ $(_.select_).each(function(){ var s=$(this); var z=parseInt((_z-index_)); var dt=$(this).children(_dt_); var dd=$(this).children(_dd_); var _show=function(){(200);(_cur_);(_z-index_,z+1);}; //展开效果 var _hide=function(){(200);(_cur_);(_z-index_,z);}; //关闭效果 (function(){(_:hidden_)?_show():_hide();}); (_li_).click(function(){(_.text_).html($(this).html());_hide();}); //选择效果(如需要传值,可自定义参数,在此处返回对应的“value”值 ) $(_body_).click(function(i){ !$().parents(_.select_).first().is(s) ? _hide():__;}); }) }) // start all the timers $('.timer').each(count);
function count(options) { var $this = $(this); options = $.extend({}, options || {}, $('countToOptions') || {}); $(options); } $. = function (options) { _use strict_; options = options || {}; return $(this).each(function () { // set options for current element var settings = $.extend({}, $., { from: $(this).data('from'), to: $(this).data('to'), speed: $(this).data('speed'), refreshInterval: $(this).data('refresh-interval'), decimals: $(this).data('decimals') }, options); // how many times to update the value, and how much to increment the value on each update var loops = ( / ), increment = ( - ) / loops; // references & variables that will change with each update var self = this, $self = $(this), loopCount = 0, value = , data = $('countTo') || {}; $('countTo', data); // if an existing interval can be found, clear it first if () { clearInterval(); } = setInterval(updateTimer, ); // initialize the element with the starting value render(value); function updateTimer() { value += increment; loopCount++; render(value); if (typeof() == 'function') { (self, value); } if (loopCount >= loops) { // remove the interval $('countTo'); clearInterval(); value = ; if (typeof() == 'function') { (self, value); } } } function render(value) { var formattedValue = (self, value, settings); $(formattedValue); } }); };
$. = { from: 0, // the number the element should start at to: 0, // the number the element should end at speed: 300, // how long it should take to count between the target numbers refreshInterval: 100, // how often the element should be updated decimals: 0, // the number of decimal places to show formatter: formatter, // handler for formatting the value before rendering onUpdate: null, // callback method for every time the element is updated onComplete: null // callback method for when the element finishes updating };
function formatter(value, settings) { return (); } (function($){ var zp = { init:function(obj,pageinit){ return (function(){ (obj,pageinit); (obj,pageinit); }()); }, addhtml:function(obj,pageinit){ return (function(){ (); /*上一页*/ if ( > 1) { ('上一页'); } else{ ('.prevPage'); ('上一页'); } /*中间页*/ if ( >4 && > 4) { (''+1+''); (''+2+''); ('...'); } if ( >4 && <= ) { var start = - 2,end = + 2; }else if( >4 && > ){ var start = - 4,end = ; }else{ var start = 1,end = 9; }
......
js在线免费网页设计 第2篇
稿定设计是一个多场景在线商业视觉设计工具及内容平台,怀揣着“让设计更简单”的使命,聚焦于满足用户的商业视觉设计需求和第三代智能在线设计工具研发。让用户的想法和创意摆脱繁杂的专业软件桎梏,通过操作简单功能强大的工具轻松表达,尽享设计的乐趣。使用稿定,您将会获得如下的服务和体验:
稿定设计已上线5大终端应用,哪里有用户我们就会在哪里,让您随时随地做设计,不再错过任何一个热点,时刻为用户赋能。
稿定设计深入场景定制各类模板,10W+模板素材精准匹配用户需求,可以根据自己的喜好自由选择组合,制作出精美设计作品。
只需要您通过简单的拖、拉、拽,选择模板、替换文字图片,即可完成各类场景图片设计及短视频制作,1分钟轻松搞定设计。
50W+可商用创意模板和设计素材,国家版权中心认证保护,版权归属和来源明确,精美优质版权设计元素,多场景,全覆盖,每周实时更新。
基于实际需求,通过AI图形演算技术赋能,提供轻量但强大高效的抠图工具,实现抠图,抠头发,自动抠人像,自动抠文字等功能。
js在线免费网页设计 第3篇
H5设计是一种基于HTML5技术的网页设计和开发方式,它拥有丰富的交互效果和多媒体支持。H5设计具有良好的跨平台兼容性,可在各种设备上无缝展示,包括手机、平板和PC等。H5设计在实际应用中具有广泛的场景,包括品牌宣传、产品介绍、活动推广等。通过H5设计,可以实现多种形式的内容展示,如图片、视频、音频等,从而提升用户体验,吸引用户的注意力。
在进行H5设计时,需要注意一些要点和技巧。首先,要保持页面的简洁与清晰,避免信息过载,同时注意页面的加载速度,以提供良好的用户体验。其次,要充分发挥H5技术的优势,包括利用动画效果、滚动效果等,来增加页面的趣味性和用户的参与感。此外,还应注意设计的响应式布局,以适应不同设备和屏幕大小的展示,并确保页面在各种设备上都能正常展示。最后,与传统的网页设计不同,H5设计更注重用户的互动体验,可以引入游戏化的元素、社交分享等,从而增加用户的参与度和转化率。通过上述的要点和技巧,可以实现更优秀的H5设计作品。