Plasma - Responsive HTML Template

By JOGJAfile - www.jogjafile.com

Welcome To Plasma Template Documentation.

Firstly, a huge thanks for purchasing this theme, your support is truly appreciated!

This document covers the installation and use of this theme and often reveals answers to common problems and issues - read this document thoroughly if you are experiencing any difficulties. If you have any questions that are beyond the scope of this document, feel free to pose them in the dedicated support section.

Template Features

  • Cleand & Simple Design
  • HTML5 & CSS3
  • Fully Responsive Design
  • Ajax/PHP Contact Form
  • All files are well commented
  • Crossbrowser Compatible with IE9+, Firefox, Safari, Opera, Chrome
  • Extensive Documentation

Plasma - Responsive HTML Template

By JOGJAfile - www.jogjafile.com

Installing Template.

After unzip the download pack, you'll found a Template Folder with all the files.

You can view this Template in any browser, you can display or edit the Template without an internet connection.

The only section that will not work is the Contact Section which contains PHP code and requires a server enviroment for send messages.

Now open your FTP Client (like Filezilla) and upload the content of the Template on your server root.

Once the files are done uploading go to www.yourdomainname.com/index.html

Plasma - Responsive HTML Template

By JOGJAfile - www.jogjafile.com

HTML Structure

This Template has a Responsive layout and is based on the Bootstrap Framework. For more information about this visit Bootstrap Scaffolding.

The default Bootstrap grid system utilizes 12 columns, making for a 940px wide container without responsive features enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.

Basic Grid HTML

For a simple two column layout, create a .row and add the appropriate number of .span* columns. As this is a 12-column grid, each .span* spans a number of those 12 columns, and should always add up to 12 for each row (or the number of columns in the parent).

Given this example, we have .span4 and .span8, making for 12 total columns and a complete row.

                                                            
...
...

Nesting Columns

To nest your content with the default grid, add a new .row and set of .span* columns within an existing .span* column. Nested rows should include a set of columns that add up to the number of columns of its parent.

                                                            
Level 1 column
Level 2
Level 2

Plasma - Responsive HTML Template

By JOGJAfile - www.jogjafile.com

HEAD/CSS Structure

These are the css files that are loaded into templates in Head Section.

														
														
														
														
														
														 
														
														
														
														
														
														
														
														

                                                     
                                                    

Google Web Fonts

By default, the template loads this font from Google Web Font Services, you can change the font with the one that suits you best.


	

    
	
	
	
                                                    
                                                    

Remember to change the font into style.css

/* style.css / 

/*-----------------------------------------------------------------------------------*/
/*  CSS Reset & Clear
/*-----------------------------------------------------------------------------------*/

html, body, div, span, figure, h1, h2, h3, h4, p, a, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, article, aside, details, figure, figcaption, footer, header, hgroup, nav, section, img { margin: 0; padding: 0; border: 0; vertical-align: baseline; font: inherit; font-size: 100%; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
.clearfix:after { display: block; visibility: hidden; clear: both; height: 0; content: "."; }
.clearfix { display: inline-block; } 
.clearfix { display: block; }
.none { display: none; }

body {
  line-height: 1;
}
ol, ul, dl {
	margin: 0;
	padding: 0;
}

img {
	-ms-interpolation-mode: bicubic;
}
a {
	text-decoration: none;	
	-moz-transition: all 0.15s linear;
	-webkit-transition: all 0.15s linear;
	-ms-transition: all 0.15s linear;
	-o-transition: all 0.15s linear;
	transition: all 0.15s linear;
}
a:hover, a:active, a:focus {
	color: #EC5F24;	
	outline: none;	
}
strong {
	font-weight: bold;	
}

                                                    

Plasma - Responsive HTML Template

By JOGJAfile - www.jogjafile.com

JS Structure

These are the JS files that are loaded into templates in end of the Body Section.

Only Modernizr.js is loaded in Head Section.

                                                        
														<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> 
                                                        <script src="_include/js/bootstrap.min.js"></script> 
                                                        <script src="_include/js/supersized.3.2.7.min.js"></script> 
                                                        <script src="_include/js/waypoints.js"></script> 
                                                        <script src="_include/js/waypoints-sticky.js"></script> 
                                                        <script src="_include/js/jquery.isotope.js"></script> 
                                                        <script src="_include/js/jquery.fancybox.pack.js"></script> 
                                                        <script src="_include/js/jquery.fancybox-media.js"></script> 
                                                        <script src="_include/js/jquery.tweet.js"></script> 
                                                        <script src="_include/js/plugins.js"></script> 
                                                        <script src="_include/js/main.js"></script> 
                                                        
                                                    

This is the complete code for main.js, is responsible for all events in the Template. You can edit the following file according to your requirements.

------------------------------------------------------------------------------*/
/*	TABS
/*-----------------------------------------------------------------------------------*/
$(document).ready( function() {
  $('#services-container').easytabs({
	  animationSpeed: 300,
	  updateHash: false
  });
});



/*===========================================================*/
/*	Preloader 
/*===========================================================*/	

//


      
	/*===========================================================*/
	/*	Revolution Slider
	/*===========================================================*/	
	var tpj=jQuery;
	//tpj.noConflict();

	tpj(document).ready(function() {

	if (tpj.fn.cssOriginal!=undefined)
		tpj.fn.css = tpj.fn.cssOriginal;

		tpj('.fullwidthbanner').revolution(
			{
				delay:9000,
				startwidth:1024,
				startheight:490,

				onHoverStop:"on",						// Stop Banner Timet at Hover on Slide on/off

				thumbWidth:100,							// Thumb With and Height and Amount (only if navigation Tyope set to thumb !)
				thumbHeight:50,
				thumbAmount:3,

				hideThumbs:200,
				navigationType:"none",				// bullet, thumb, none
				navigationArrows:"verticalcentered",				// nexttobullets, solo (old name verticalcentered), none

				navigationStyle:"square",				// round,square,navbar,round-old,square-old,navbar-old, or any from the list in the docu (choose between 50+ different item), custom


				navigationHAlign:"center",				// Vertical Align top,center,bottom
				navigationVAlign:"bottom",					// Horizontal Align left,center,right
				navigationHOffset:0,
				navigationVOffset:0,

				soloArrowLeftHalign:"left",
				soloArrowLeftValign:"center",
				soloArrowLeftHOffset:0,
				soloArrowLeftVOffset:0,

				soloArrowRightHalign:"right",
				soloArrowRightValign:"center",
				soloArrowRightHOffset:0,
				soloArrowRightVOffset:0,

				touchenabled:"on",						// Enable Swipe Function : on/off
				
				stopAtSlide:-1,							// Stop Timer if Slide "x" has been Reached. If stopAfterLoops set to 0, then it stops already in the first Loop at slide X which defined. -1 means do not stop at any slide. stopAfterLoops has no sinn in this case.
				stopAfterLoops:1,						// Stop Timer if All slides has been played "x" times. IT will stop at THe slide which is defined via stopAtSlide:x, if set to -1 slide never stop automatic

				fullWidth:"on",

				shadow:0								//0 = no Shadow, 1,2,3 = 3 Different Art of Shadows -  (No Shadow in Fullwidth Version !)

			});
	});
	
	
	
	
	//---------------------------------- Google map location -----------------------------------------//
	

	// Create an array of styles.
	var styles = [
					{
						stylers: [
							{ saturation: -300 }
							
						]
					},{
						featureType: 'road',
						elementType: 'geometry',
						stylers: [
							{ hue: "#16a085" },
							{ visibility: 'simplified' }
						]
					},{
						featureType: 'road',
						elementType: 'labels',
						stylers: [
							{ visibility: 'off' }
						]
					}
				  ],
					
					// Lagitute and longitude for your location goes here
				   lat = -7.79722,
				   lng = 110.36880,
			
				  // Create a new StyledMapType object, passing it the array of styles,
				  // as well as the name to be displayed on the map type control.
				  customMap = new google.maps.StyledMapType(styles,
					  {name: 'Styled Map'}),
			
				// Create a map object, and include the MapTypeId to add
				// to the map type control.
				  mapOptions = {
					  zoom: 12,
					scrollwheel: false,
					  center: new google.maps.LatLng( lat, lng ),
					  mapTypeControlOptions: {
						  mapTypeIds: [google.maps.MapTypeId.ROADMAP],
						
					  }
				  },
				  map = new google.maps.Map(document.getElementById('map'), mapOptions),
				  myLatlng = new google.maps.LatLng( lat, lng ),

				  marker = new google.maps.Marker({
					position: myLatlng,
					map: map,
					icon: "images/marker.png"
				  });
			
				  //Associate the styled map with the MapTypeId and set it to display.
				  map.mapTypes.set('map_style', customMap);
				  map.setMapTypeId('map_style');



                                                    

Plasma - Responsive HTML Template

By JOGJAfile - www.jogjafile.com

Slider Settings

We see the main settings of the slider and how it works.

For more information I advise you to view the documentation on Revolution Plugin(Codecanyon).

HTML Syntax

This is the html syntax of the slide.



			
  • Image 18
    Image 18
    Image 16
    Flexible and customizable
    Cross Browser Compatibility
    Looks Great on Large Displays
    Resizable down to iPhone
  • .............

CSS

These are the CSS properties of the slider.

                                                    /* Browser Resets */

/*************************
	-	CAPTIONS	-
**************************/

.tp-hide-revslider,.tp-caption.tp-hidden-caption	{	visibility:hidden !important; display:none !important;}

.tp-rightarrow:hover { background-position:0 -45px;background-color:#323232}
.tp-leftarrow:hover { background-position:-5px -45px; background-color:#323232}

.tp-caption { z-index:1;}
.tp-caption.sprta_bigboldgrey{
	color: #252525;
	font-size: 28px;
    font-weight:700;
  font-family: 'Open Sans',sans-serif;
  line-height:30px;
}

.tp-caption.sprta_bigboldwhite{
	color: #ffffff;
	font-size: 28px;
    font-weight:700;
  font-family: 'Open Sans',sans-serif;
  line-height:30px;
  text-shadow:0px 0px 2px rgba(0,0,0,.3);
}

.tp-caption.sprta_boldgrey{
	color: #252525;
	font-size: 18px;
  font-family: 'Open Sans',sans-serif;
}

.tp-caption.sprta_bigboldinverse{
	color: #1abc9c;
	font-size: 28px;
  font-family: 'Open Sans',sans-serif;
}

.tp-caption.sprta_boldinverse{
	color: #1abc9c;
	font-size: 18px;
  font-family: 'Open Sans',sans-serif;
}


                                                    

JS

This is the portion of the js script that affects the slider, as you can see you can change the default parameters of the slider. Enter the path for images, insert text, a thumb (assuming you want a slider with the thumb clickable) and a URL for a possible link. This does not include any slider thumb or link, then you should see the plugin documentation in the case and act on the CSS.

                                                    /* ==================================================
                                                       Slider Options
                                                    ================================================== */
                                                    
                                                    
	/*===========================================================*/
	/*	Revolution Slider
	/*===========================================================*/	
	var tpj=jQuery;
	//tpj.noConflict();

	tpj(document).ready(function() {

	if (tpj.fn.cssOriginal!=undefined)
		tpj.fn.css = tpj.fn.cssOriginal;

		tpj('.fullwidthbanner').revolution(
			{
				delay:9000,
				startwidth:1024,
				startheight:490,

				onHoverStop:"on",						// Stop Banner Timet at Hover on Slide on/off

				thumbWidth:100,							// Thumb With and Height and Amount (only if navigation Tyope set to thumb !)
				thumbHeight:50,
				thumbAmount:3,

				hideThumbs:200,
				navigationType:"none",				// bullet, thumb, none
				navigationArrows:"verticalcentered",				// nexttobullets, solo (old name verticalcentered), none

				navigationStyle:"square",				// round,square,navbar,round-old,square-old,navbar-old, or any from the list in the docu (choose between 50+ different item), custom


				navigationHAlign:"center",				// Vertical Align top,center,bottom
				navigationVAlign:"bottom",					// Horizontal Align left,center,right
				navigationHOffset:0,
				navigationVOffset:0,

				soloArrowLeftHalign:"left",
				soloArrowLeftValign:"center",
				soloArrowLeftHOffset:0,
				soloArrowLeftVOffset:0,

				soloArrowRightHalign:"right",
				soloArrowRightValign:"center",
				soloArrowRightHOffset:0,
				soloArrowRightVOffset:0,

				touchenabled:"on",						// Enable Swipe Function : on/off
				
				stopAtSlide:-1,							// Stop Timer if Slide "x" has been Reached. If stopAfterLoops set to 0, then it stops already in the first Loop at slide X which defined. -1 means do not stop at any slide. stopAfterLoops has no sinn in this case.
				stopAfterLoops:1,						// Stop Timer if All slides has been played "x" times. IT will stop at THe slide which is defined via stopAtSlide:x, if set to -1 slide never stop automatic

				fullWidth:"on",

				shadow:0								//0 = no Shadow, 1,2,3 = 3 Different Art of Shadows -  (No Shadow in Fullwidth Version !)

			});
	});
	
	
                                                    

Plasma - Responsive HTML Template

By JOGJAfile - www.jogjafile.com

Atom image loader still loading

perhaps it's no problem about twitter, if you do not want to use, I suggest to remove the script as below in file main.js:

                                                        $(".twitter-feed").tweet({ 
                                                            join_text: "auto", 
                                                            username: ["envato"], 
                                                            modpath: "inc/twitter/", 
                                                            count: 10, 
                                                            loading_text: 
                                                            "loading ..." 
                                                        });
                                                    

Twitter Latest Tweets Plugin

Plugin is based on jquery.tweet.js-mod plugin by Stan Scates. It is simple to use and configure.

First, you need to have a twitter App for your usage in order to obtain OAuth credentials, see https://dev.twitter.com/apps for help.

After obtaining OAuth credentials, put them to inc/twiter/index.php. Find and edit following code:

                                                        /* Configure your twitter API access params below */
                                                        // Your Twitter App Consumer Key
                                                        $consumer_key = 'YOUR_CONSUMER_KEY';
                                                         
                                                        // Your Twitter App Consumer Secret
                                                        $consumer_secret = 'YOUR_CONSUMER_SECRET';
                                                         
                                                        // Your Twitter App Access Token
                                                        $user_token = 'YOUR_ACCESS_TOKEN';
                                                         
                                                        // Your Twitter App Access Token Secret
                                                        $user_secret = 'YOUR_ACCESS_TOKEN_SECRET';
                                                    

Then, go to js/main.js and find this code:

                                                        jQuery(".twitter-feed").tweet({
																join_text: "auto",
																username: [""],
																modpath: "inc/twitter/",
																count: 3,
																template: "{text}
{time}", loading_text: "loading tweets..." .............. });

You can alter the amount of loaded tweets here, by setting needed number:

count: 1,

You may also specify twitter username to fetch tweets from. By default it is blank, because it will fetch tweets from user, who owns the Twitter App, that you configured at inc/twitter/index.php. So, for example, if you put "envato" here:

username: [""],

The plugin will fetch tweets for envato user, but not for owner of the Twitter App. Pay attention to the syntax of this line. Do not erase the square brackets.

Further documentation about jquery.tweet plugin is at GitHub https://github.com/StanScates/Tweet.js-Mod

Plasma - Responsive HTML Template

By JOGJAfile - www.jogjafile.com

Contact Form

This is a PHP Script for sending messages to your email, you should edit email default to your email to start receive messages.

                                                    // Go To File (contact.php ) in main folder and change email :
                                                    // Customize this parameters
                                                    if( empty($errors))
														{
															$to = 'francescapinky4@gmail.com';
															$email_subject = "Contact form submission from Plasma  Demos: $username";
															$email_body = "You have received a new message. ".
															" Here are the details:\n Name: $username \n Email: $email_address \n Message \n $comments \n URL : \n $url"; 
															.
															.
															.
															.
                                                    

and below is the structure of the contact form in main folder at index.html:

														
														

Plasma - Responsive HTML Template

By JOGJAfile - www.jogjafile.com

Scripts

These are the scripts used in the template with their related link for documentation.

Plasma - Responsive HTML Template

By JOGJAfile - www.jogjafile.com

Scripts

Again, thank you for purchasing this Template!

If you have any questions that are beyond the scope of this document, feel free to pose them in the dedicated support section.

If you are interested you can follow me on: