Popular
- Manage License (Add on)
- Bulk Revoke
- Generating Access Code
- Direct Distribution (Add On)
- Creating Single User or Multiple Users (Bulk Upload)
- Admin Center and Profile and Settings
- Revoking Content
- Distributing Content
- Signing in to Kitaboo
- Promote User/Transfer
- Create Class/Update Class
- Selective Oneroster Sync with API/ZIP/SFTP
- Account Management
- Direct Distribution (Add-on)
- Bulk Revoke
- Revoking Content
- Promote Class
- Create Class
- Admin Center and Profile Settings
- Signing in to Kitaboo
- Distributing Content to Users & Classes
- Creating Single User or Multiple Users (Bulk Upload)
- Bulk Revoking Content
- Generating Access Code
- Banner Design
- Promote Student
- Help Screen: Your Personal Guide
- Easy Steps to Create or Upload a Cover Page
- Creating a structured Table of Contents (TOC)
- Choosing the Perfect Layout
- #1. Add content using the Authoring
- 1.1. Title: A Simple Way to Add Clear, Catchy Headings!
- 1.2. Explore the smart “Header” Element!
- 1.3. Discover the Power of Text in Authoring!
- 1.4. Make Your Pages Come to Life with Images!
- 1.5. Add Engaging Videos to Your Pages!
- 1.6. Add Engaging Sounds to Your Pages
- 1.7. Explore HTML Interactivity!
- 1.8. Organize your data with the Table element!
- 1.9. Callout Box: A Handy Way to Highlight Important Information!
- #2. Explore Fun and Interactive Widgets with the Authoring Platform
- 2.1. Multiple Choice activity
- 2.2. Create Engaging Presentations with the Slideshow Component!
- 2.3. Image Labelling: Make Your Pictures Interactive!
- 2.4. Fill in the Blanks: Fun and Interactive Learning!
- 2.5. Highlighter: Your Handy Tool for Highlighting Important Text!
- 2.6. Correction Element: Make Learning Fun and Interactive!
- 2.7. Sorting Component – Organize with Ease!
- 2.8. Match the Pairs: An Interactive Learning Tool!
- 2.9. Easy-to-Use Sidebar for Your Content
- 2.10. Click to Reveal activity – Making Learning Fun!
- 2.11. Explore the Fun World of Wordsearch
- 2.12. Discover the Flashcard Element for Your Learning Journey!
- 2.13. Explore the “Group Activity” Element
- 2.14. Discover the Fun of Categorizing with the “Categorize” widget
- 2.15. Explore the Question and Answer Activity
- #3. Unlock the Power of Gradable Activities in Kitaboo’s Authoring Platform
- 3.1. Creating a Gradable Activity
- 3.2. Adding a Gradable Activity in an eBook
- 3.3. Students Accessing the Activities
- 3.4. Standalone Gradable Activity
- 3.5. Grade Assessment: Activity Management for Admins and Teachers
- 3.6. Customizable Certificates for Course Completion
- #4. K.AI: Transforming Content Creation with AI-Driven Interactivity
- 4.1. K.AI Automatic Quiz Generation from PDF
- 4.2. Automatic Generation of Quiz from PDF Using K.AI Markup
Code Midnight Deep Theme
Effortless Online Documentation WordPress Theme, the Way It Should Be
Code Default Theme
JavaScript Inline code
To create inline code using JavaScript for a "Twilight" theme, you can use the element and apply CSS styles to it. Here's an example:
calculateIfScrolledTo(el) {
if (window.scrollY + this.browserHeight > el.offsetTop) {
console.log("calculated")
let scrollPercent = (el.getBoundingClientRect().y / this.browserHeight) * 100
if (scrollPercent < this.threshholdPercent) {
el.classList.add('reveal-item--is-visible')
el.isRevealed = true
if (el.isLastItem) {
window.removeEventListener('scroll', this.scrollThrottle)
}
}
}
}
PHP Inline code
To create inline code using PHP for a "Twilight" theme, you can use the element and apply CSS styles to it. Here's an example:
<?php
include_once('dbh.inc.php');
// it's the global variable POST that assigns the value first (the name attribute from the form) to $first
$first = $_POST['first'];
$last = $_POST['last'];
$email = $_POST['email'];
$uid = $_POST['uid'];
$pwd = $_POST['pwd'];
// The SQL code to query - you can use any kind of SQL statement
$sql = "insert into users ( user_first, user_last, user_email, user_uid, user_pwd) VALUES (
'$first',
'$last',
'$email',
'$uid',
'$pwd'
);";
// querying the SQL and assigning to the variable result
$result = mysqli_query($conn, $sql);
header("location: ../index.php?signup=success");
CSS Inline code
To create inline code using CSS for a "Twilight" theme, you can use the element and apply CSS styles to it. Here's an example:
@font-face {
font-family: Chunkfive; src: url('Chunkfive.otf');
}
body, .usertext {
color: #F0F0F0; background: #600;
font-family: Chunkfive, sans;
--heading-1: 30px/32px Helvetica, sans-serif;
}
@import url(print.css);
@media print {
a[href^=http]::after {
content: attr(href)
}
}
HTML Inline code
To create inline code using HTML for a "Twilight" theme, you can use the element and apply CSS styles to it. Here's an example:
<form action="/action_page.php">
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname" autofocus><br><br>
<label for="lname">Last name:</label>
<input type="text" id="lname" name="lname"><br><br>
<input type="submit">
</form>
SQL Inline code
To create inline code using SQL for a "Twilight" theme, you can use the element and apply CSS styles to it. Here's an example:
CREATE TABLE users (
user_id INT(11) AUTO_INCREMENT PRIMARY KEY NOT NULL,
user_first VARCHAR(256) NOT NULL,
user_last VARCHAR(256) NOT NULL,
user_email VARCHAR(256) NOT NULL,
user_uid VARCHAR(256) NOT NULL,
user_pwd VARCHAR(256) NOT NULL
);
SCSS Inline code
To create inline code using SCSS for a "Twilight" theme, you can use the element and apply SCSS styles to it. Here's an example:
@import "compass/reset";
// variables
$colorGreen: #008000;
$colorGreenDark: darken($colorGreen, 10);
@mixin container {
max-width: 980px;
}
// mixins with parameters
@mixin button($color:green) {
@if ($color == green) {
background-color: #008000;
}
@else if ($color == red) {
background-color: #B22222;
}
}
button {
@include button(red);
}
div,
.navbar,
#header,
input[type="input"] {
font-family: "Helvetica Neue", Arial, sans-serif;
width: auto;
margin: 0 auto;
display: block;
}
.row-12 > [class*="spans"] {
border-left: 1px solid #B5C583;
}
// nested definitions
ul {
width: 100%;
padding: {
left: 5px; right: 5px;
}
li {
float: left; margin-right: 10px;
.home {
background: url('http://placehold.it/20') scroll no-repeat 0 0;
}
}
}
.banner {
@extend .container;
}
a {
color: $colorGreen;
&:hover { color: $colorGreenDark; }
&:visited { color: #c458cb; }
}
@for $i from 1 through 5 {
.span#{$i} {
width: 20px*$i;
}
}
@mixin mobile {
@media screen and (max-width : 600px) {
@content;
}
}