Parameter steps.overlayColor | iGuider Product Tour

For each step, you can specify the different color values of the overlay layer.

It may take the values: Any color format '#000', 'rgb(0,0,0)' or 'black'

Start Tour

Element 1 Element 2 Element 3

Source

<script src="../js/jquery-3.1.1.min.js"></script>

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

<link rel="stylesheet" href="../themes/material/iGuider-theme-material.css">
<script src="../themes/material/iGuider-theme-material.js"></script>	
	
<script>
$(window).on('load',function(){
	$('.start-tour').on('click',function(){
		iGuider({
			tourTitle:'steps.overlayColor',
			steps:[{
				title:'Step 1',		
				content:'Step 1 Description',	
				target:'el-1',
				overlayColor:'magenta'
			},{
				title:'Step 2',		
				content:'Step 2 Description',	
				target:'el-2',
				overlayColor:'#f00'
			},{
				title:'Step 3',				
				content:'Step 3 Description',	
				target:'el-3',
				overlayColor:'rgb(0,43,183)'
			}]
		});
		return false;
	});
})
</script> 

<p><a class="btn start-tour" href="#">Start Tour</a></p>

<span class="custom-element" data-target="el-1">Element 1 </span>	
<span class="custom-element" data-target="el-2">Element 2 </span>	
<span class="custom-element" data-target="el-3">Element 3 </span>