ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How to make auto slider ( banner ) with the easiest code using jquery and css ? with minimum codes ?

user-image
تم إضافة السؤال من قبل مستخدم محذوف‎
تاريخ النشر: 2015/10/17
Aadil Dedmari
من قبل Aadil Dedmari , IT Administrator & Programmer , Saudi Rubber Products Co.

You can use fancybox or lightbox for banner slider in an easiest way and with loads of transition effects

shweta tyagi
من قبل shweta tyagi , Specialist - Backend Development , taqnia

With the help of bootstrap carousel, it will become very easy to draw auto slider.

http://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_ref_js_carousel2&stacked=h

jahanzaib siddiqui
من قبل jahanzaib siddiqui , ERP system operator , Dawlance Private

<div id="slideshow"> <div> <img src="//farm6.static.flickr.com//_2bb7da9c_m.jpg"> </div> <div> <img src="//farm6.static.flickr.com//_ae4f_m.jpg"> </div> <div> Pretty cool eh? This slide is proof the content can be anything. </div> </div>

#slideshow { margin:px auto; position: relative; width:px; height:px; padding:px; box-shadow:px rgba(0,0,0,0.4); } #slideshow > div { position: absolute; top:px; left:px; right:px; bottom:px; }

$("#slideshow > div:gt(0)").hide(); setInterval(function() { $('#slideshow > div:first') .fadeOut() .next() .fadeIn() .end() .appendTo('#slideshow'); },);

Muhammad Tahir  Khan
من قبل Muhammad Tahir Khan , Coordination Officer , Opal Enterprises Contracting Company

Its very easy and simple you can give that problem on google search. So you will find your solution with less of time. If you want to save your time then everything are available in Internet. Many types of Sliders you can possible your work easy. Such as wow slider, hi slider and so on.

 

ala' qaffaf
من قبل ala' qaffaf

this is very useful link u can lern from it 

https://css-tricks.com/snippets/jquery/simple-auto-playing-slideshow/

Shamim Akhtar
من قبل Shamim Akhtar

You can use carousel along with css and jquery and instantiate JQuery Carousel $("selector").carousel();

soheer aljarrah
من قبل soheer aljarrah , trainee , SDK training center

  • $("#slideshow > div:gt(0)").hide();setInterval(function(){$('#slideshow > div:first').fadeOut(1000).next().fadeIn(1000).end().appendTo('#slideshow');},3000);--jquery

#slideshow {margin: 55px auto;position: relative;width:245px;height:245px;padding:11px;box-shadow: 1 120px rgba(0,0,0,0.4);}#slideshow > div {position: absolute;top: 11px;left:11px;right:11px;bottom:11px;

--css }

احمد سليمان  فايز  ابو معيلق
من قبل احمد سليمان فايز ابو معيلق , مهندس مدني , الشركة المطروحة للعمل

Drafting some simple letters and words indicating the content

Ameer Abbas
من قبل Ameer Abbas , JUNiOR SOFTWARE ENGiNEER , GOL Technologies (pvt)

First, create your slider :

<div id="slideshow"> <div> <img src="//farm6.static.flickr.com/5224/5658667829_2bb7d42a9c_m.jpg"> </div> <div> <img src="//farm6.static.flickr.com/5230/5638093881_a791e4f819_m.jpg"> </div> <div> You can also add some text. </div> </div>

Slides need to be absolutely positioned within the wrapper. Now do some CSS styling.

#slideshow { margin: 50px auto; position: relative; width: 240px; height: 240px; padding: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.4); } #slideshow > div { position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; }

 

Run after DOM is ready.

JQuery:

$("#slideshow > div:gt(0)").hide(); setInterval(function() { $('#slideshow > div:first') .fadeOut(1000) .next() .fadeIn(1000) .end() .appendTo('#slideshow'); }, 3000);

 

 

rabeh belalmi
من قبل rabeh belalmi , ملحق بالمخبر , وزارة التربية و التعليم الجزائرية

How to make auto slider ( banner ) with the easiest code Is the element :marquee 

 

 

المزيد من الأسئلة المماثلة