liMarquee / Template
№ 2

RESULT

Puse
Play
A fool may ask more questions in an hour than a wise man can answer in seven years

CODE


<!--///// If you have already use jquery, then this line is not necessary /////-->

    <script src="https://code.jquery.com/jquery-3.1.0.js"></script>


<!--///// Google Font for Text of Marquee  /////-->

    <link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>


<!--///// Plugins files /////-->

    <link rel="stylesheet" href="css/liMarquee.css">
    <script src="js/jquery.liMarquee.js"></script>


<!--///// Initialization /////-->

	<script>
    $(window).on('load',function(){
        <!--///// Initialization of plugin  /////-->
        var strMain = $('.strMain');
        strMain.liMarquee();
        
        <!--///// Initialization of Buttons  /////-->
        $('.strPause').on('click',function(){
            strMain.liMarquee('stop');
            $('.strPause, .strPlay').toggle();
        })
        $('.strPlay').on('click',function(){
            strMain.liMarquee('start');
            $('.strPause, .strPlay').toggle();
        })
    })
    </script>


<!--///// HTML code /////-->

    <div class="tpl_2">		
        <div class="strTools">
            <div class="strPause">Puse</div>
            <div class="strPlay">Play</div>
        </div>				
        <div class="strMain mWrap">
            A fool may ask more questions in an hour than a wise man can answer in seven years
        </div>
    </div>


<!--///// Style for Template  /////-->

    <style>
	.tpl_2 .mWrap { margin:0;}
	.tpl_2 {
		background:#a0ce4e;
		border-bottom:1px solid rgba(255,255,255,0.3);
		border-top:1px solid rgba(0,0,0,0.1);
		line-height:60px;
		
		font-size:26px;
		font-family: 'Montserrat', sans-serif;
		color:#fff;
		text-transform:uppercase;
	}
	
	.tpl_2 .strTools {
		float:right;
	}
	.tpl_2 .strTools .strPause {
		width:60px;
		height:60px;
		position:relative;
		text-indent:-9999px;
		display:block;
		cursor:pointer;
	}
	.tpl_2 .strTools .strPause:after {
		content:'';
		height:20px;
		width:16px;
		border:5px solid #fff;
		border-width:0 5px;
		position:absolute;
		top:50%;
		left:50%;
		margin:-10px 0 0 -8px;
	}
	.tpl_2 .strTools .strPlay {
		width:60px;
		height:60px;
		position:relative;
		text-indent:-9999px;
		display:none;
		cursor:pointer;
	}
	.tpl_2 .strTools .strPlay:after {
		content:'';
		border:10px solid transparent;
		border-left-color:#fff;
		border-right:0;
		border-left-width:16px;
		position:absolute;
		top:50%;
		left:50%;
		margin:-10px 0 0 -8px;
	}
	.tpl_2 .strTools .strPlay:active,
	.tpl_2 .strTools .strPause:active {
		background-color:rgba(0,0,0,0.05);
	}
	</style>
                

Universal Marquee for Text, HTML and Images
More than 10 000 people have been using it

DOWNLOAD PLUGIN LIMARQUEE