# scrollsequence/0.9.92/admin/partials/scrollsequence-admin-display.php

Scrollsequence – Cinematic Scroll Image Animation Plugin, version 0.9.92. 358 lines.

- Page: https://pluginprobe.com/plugins/scrollsequence/0.9.92/code/admin/partials/scrollsequence-admin-display.php
- Raw: https://pluginprobe.com/plugins/scrollsequence/0.9.92/raw/admin/partials/scrollsequence-admin-display.php
- Modified: 2020-08-29T19:02:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/scrollsequence/0.9.92/code/admin/partials/scrollsequence-admin-display.php#L10-L20`.

```php
<?php

/**
 * Provide a admin area view for the plugin
 *
 * This file is used to markup the admin-facing aspects of the plugin.
 *
 * @link       www.scrollsequence.com
 * @since      0.7.0
 *
 * @package    Scrollsequence
 * @subpackage Scrollsequence/admin/partials
 */
?>

<style>

* {box-sizing: border-box}

/* Set height of body and the document to 100% */
body, html {
  height: 100%;
  margin: 0;
  font-family: Arial;
}

/* Style tab links */
.tablink {
  background-color: lightgrey;
  /*color: white;*/
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 1px;
  font-size: 17px;
  width:25%;
}

.tablink:hover {
  background-color: #777;

}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  /*color: white;*/
  display: none;
  padding: 100px 20px;
  height: 100%;
 border: 1px solid #ccd0d4;
}

#GettingStarted {background-color: #fff;}
#Settings {background-color: #fff;}
#GetPro {background-color: #fff;}
/*#Contact {background-color: grey;}
#About {background-color: grey;}*/

.menulink{
  text-decoration: none;
  color: black;
}

.ssq-heading{
  font-size:23px;
  font-weight: 400;
  padding: 9px 0 4px 0;
  line-height: 1.3;
}


.ssq-welcome{
background-color: white;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='540' height='450' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='.05'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/svg%3E");
  } 


</style>



<div class="wrap">

	<div  class="ssq-welcome" style="height:200px" >
		<div style=" padding: 30px; width: 190px; float:left; ">
      <svg  width="128" height="128" viewBox="-150 -150 1300 1300">
          <defs>
            <linearGradient id="ssq-logo-gradient" x1="0%" y1="50%" x2="100%" y2="0%">
              <stop offset="0%" style="stop-color:rgb(23,48,66);stop-opacity:1" />
              <stop offset="100%" style="stop-color:rgb(35,110,119);stop-opacity:1" />
            </linearGradient>
          </defs>
        <!-- Background  -->
          <rect x="-150" y="-150" rx="225" ry="225" width="1300" height="1300"
          style=" fill:url(#ssq-logo-gradient);" />
        <!-- Mid Left  -->
            <polyline points="162,322 500,500 340,575 0,400 162,322" 
            style="fill:rgb(40,183,107);stroke:rgb(40,183,107);stroke-width:5;" />
            <polyline points="500,500 500,650 340,575"
            style="fill:rgb(74,108,47);stroke:rgb(74,108,47);stroke-width:5;"/>
        <!-- Mid Right  -->
            <polyline points="845,675 500,500, 650,425 1000,600 845,675"
            style="fill:rgb(40,183,107);stroke:rgb(40,183,107);stroke-width:5;" />
            <polyline points="500,500, 500,350 650,425" 
            style="fill:rgb(74,108,47);stroke:rgb(74,108,47);stroke-width:5;  "/>
        <!-- TOP TOP CHEVRON  TOP TOP  -->
          <polyline points="500,0 1000,250, 1000,400 500,150 0,400 0,250 500,0"
          style="fill:rgb(207,223,218);stroke:rgb(207,223,218);stroke-width:5;"/>
        <!--  BOTTOM BOTTOM CHEVRON BOTTOM  -->
          <polyline points="0,600 500,850 1000,600  1000,750 500,1000 0,750 0,600" 
          style="fill:rgb(207,223,218);stroke:rgb(207,223,218);stroke-width:5;"/>
      </svg>
    </div>
    <div >
  		<p class ="ssq-heading" style="padding-top: 60px;"><b>Scroll</b>sequence

 <?php 
echo  'Free' ;
?>

      </p>
  		<p>You are working with Beta version. Use with caution. Backup your work before updating.</p>
    </div>
	</div> 











<button class="tablink" onclick="openPage('GettingStarted', this, 'darkgrey')" id="defaultOpen"> Get Started</button>
<!-- <button class="tablink" onclick="openPage('Settings', this, 'darkgrey')"  style="width:18%"> Settings</button> -->


<?php 
// CODE IN ELSE STATEMENT IS  F R E E plan only
?>
  <a href="<?php 
echo  admin_url( 'admin.php?page=scrollsequence-pricing' ) ;
?>">
  <button class="tablink" style="width:20%">Get PRO</button>
  </a>
<?php 
// END OF ELSE
?>



<a href="https://scrollsequence.com/examples/" class="menulink" target="_blank">
	<button class="tablink" ><i aria-hidden="true" class="dashicons dashicons-external"></i>Examples</button>
</a>

<a href="https://scrollsequence.com/documentation/" class="menulink" target="_blank">
	<button class="tablink" style="width:30%"><i aria-hidden="true" class="dashicons dashicons-external"></i>Documentation</button>
</a>


<div id="GettingStarted" class="tabcontent">



  
  <p  class ="ssq-heading">Getting Started is easy as one two three! </p> <br>

  <table class="form-table" >
  <tbody>
  <tr>
  <th scope="row"><label >Tutorial Video: </label></th>
    <td>
     
      <iframe src="https://player.vimeo.com/video/413362050" width="640" height="336" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
    </td>
  </tr>

  <tr>
  <th scope="row"><label >Create a new page:  </label></th>
    <td>
      Click on <i><strong>(1) Add New Scrollsequence</strong></i>, set a <i><strong>(2) title</strong></i> name and  <i><strong>(3) add page</strong></i>.<br><br>
      <img src="<?php 
echo  plugin_dir_url( __FILE__ ) . '../img/add-new-scrollsequence-images.png' ;
?>" width="640">
    </td>
  </tr>

  <tr>
  <th scope="row"><label for="default_post_format">Select images: </label></th>
    <td>
      Click on <i><strong>(4) Select Images</strong></i> (5) confirm selection that you want to use. Hold down CTRL or SHIFT for multiple selection.<br> Take care about the order you select your images. After you made and confirmed your selection, you can easily drag and drop to reorder.  <br><br>
      <img src="<?php 
echo  plugin_dir_url( __FILE__ ) . '../img/select-images.png' ;
?>" width="640">
      <br><br>
      <img src="<?php 
echo  plugin_dir_url( __FILE__ ) . '../img/add-content.png' ;
?>" width="640">
    </td>
  </tr>


  <th scope="row"><label for="default_post_format">Animate: </label></th>
    <td>
      Click on <i><strong>(6) Add Animation</strong></i>.The most basic is In/Out Animation.<br>Three basic parameters are required for each animated element. You can add more element animations with the little plus sign. <br>
      <img src="<?php 
echo  plugin_dir_url( __FILE__ ) . '../img/animation.png' ;
?>" width="640">
      <br>
      <p>Selector example use: </p> 

      <table class="widefat" style="width:640px;">
      <thead>
          <tr>
              <th>Selector</th>
              <th>Description</th>       

          </tr>
      </thead>
      <tbody>
         <tr>
           <td>#my-id</td>
           <td>Select a HTML element with id="my-id". Id's should be unique. This means that only one HTML element can have the same id. </td>
         </tr>
      </tbody>
      <tbody>
         <tr>
           <td>.my-class</td>
           <td>Select each HTML element with class="my-class". Multiple elements can have same class attribute. </td>
         </tr>
      </tbody>
      </table>
      <br>
      Start and End example use: 
      <table class="widefat" style="width:640px;">
      <thead>
          <tr>
              <th>
               <div style="width:70%"><p style="text-align:left;">Start<span style="float:right;">End</span></p><div>
              </th>
              <th>Description</th>       
          </tr>
      </thead>
      <tbody>
         <tr>
           <td>
           <div style="width:70%"><p style="text-align:left;">0<span style="float:right;">15</span></p><div>
           </td>
           <td>Element is visible when page is loaded. Once user starts scrolling down, element is hidden once user reaches the fiteenth image.</td>
         </tr>
      </tbody>
      <tbody>
         <tr>
           <td>
             <div style="width:70%"><p style="text-align:left;">5<span style="float:right;">30</span></p><div>
           </td>
           <td>Element is hidden when page is loaded. Once user starts scrolling down, element is displayed from 5th to 30th image in the sequence. </td>
         </tr>
      </tbody>
      </table>

     
      
      
    </td>
  </tr>
  </tbody></table>

  <p style="padding-top: 45px;"  class ="ssq-heading">Tips and Tricks  </p> <br>

  <table class="form-table" >
  <tbody>
  <tr>
  <th scope="row"><label >Basic Use: </label></th>
    <td>
      <ul style=" list-style-type: circle; padding-left: 50px">
        <li>Add another page to the sequence. Each page contains image sequence, content and setting like duration, alignment and scale. Pages can be re-ordered by drag and drop. If you wish you can make a copy of a similar page.</li>
        <li>Add "Classic content" after the sequence. This section will allow you to add information after the animated sequence.</li>
        <li>Change background. As a default the content has transparent background. You can pick your own background color if required.</li> 
        
      </ul>
    </td>
  </tr>
  <tr>
  <th scope="row"><label >Advanced Use: </label></th>
    <td>
      <ul style=" list-style-type: circle; padding-left: 50px">
        <li>Custom CSS is a great way how to add a magic touch to your design. Simply write or paste CSS code.</li>
        <li>Read our <a href="https://scrollsequence.com/documentation/" target="_blank">documentation</a>, learn the basics, have a look at some examples and get inspiration for your project. </li>
        <li>Debug mode gives you information when you fall into trouble. If you stumble upon an issue, don't hesitate and <a href="<?php 
echo  admin_url( 'admin.php?page=scrollsequence-contact' ) ;
?>">contact us</a>.</li>
      </ul>
    </td>
  </tr>





</div>

<div id="Settings" class="tabcontent">
  <p>Settings</p>
  <p><strong>Show tips </strong></p>
  <p>Image optimisation (coming soon)</p>
  <p>Image sizing for desktop/mobile (coming soon)</p>
  <p>Custom CSS (coming soon)</p>
  <p>Custom Javascript (coming soon)</p>
  <p>Preloading options (coming soon)</p>
  <p>Animation settings (coming soon)</p>
  <p>Debug console</p>
</div>

<!-- <div id="GetPro" class="tabcontent">
  <h3>GetPro</h3>
  <p>There is a Scrollsequence PRO version coming soon. It will become available as soon as Beta testing is over. Keep an eye on this section. </p>
</div> -->

<!-- <div id="Contact" class="tabcontent">
  <h3>Contact</h3>
  <p>Get in touch, or swing by for a cup of coffee.</p>
</div> -->

<!-- <div id="About" class="tabcontent">
  <h3>About</h3>
  <p>Who we are and what we do.</p>
</div> -->


<script>
function openPage(pageName,elmnt,color) {
  var i, tabcontent, tablinks;
  tabcontent = document.getElementsByClassName("tabcontent");
  for (i = 0; i < tabcontent.length; i++) {
    tabcontent[i].style.display = "none";
  }
  tablinks = document.getElementsByClassName("tablink");
  for (i = 0; i < tablinks.length; i++) {
    tablinks[i].style.backgroundColor = "";
  }
  document.getElementById(pageName).style.display = "block";
  elmnt.style.backgroundColor = color;
}

// Get the element with id="defaultOpen" and click on it
document.getElementById("defaultOpen").click();
</script>
   




</div>

```
