Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shower-presentation
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Шардт Максим Александрович
shower-presentation
Commits
abbb7c28
Commit
abbb7c28
authored
Mar 01, 2012
by
Oleg Roschupkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update code to make slide id's optional.
Closes issue #60.
parent
92ce9511
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
en.htm
en.htm
+2
-2
ru.htm
ru.htm
+2
-2
script.js
scripts/script.js
+6
-0
No files found.
en.htm
View file @
abbb7c28
...
...
@@ -27,7 +27,7 @@
<h1>
Shower Presentation Template
</h1>
<p>
Vadim Makeev, Opera Software
</p>
</header>
<div
class=
"slide cover"
id=
"Cover"
><div>
<div
class=
"slide cover"
><div>
<section>
<header>
<h2>
Shower Presentation Template
</h2>
...
...
@@ -35,7 +35,7 @@
<img
src=
"pictures/cover.jpg"
alt=
""
>
</section>
</div></div>
<div
class=
"slide"
id=
"Header"
><div>
<div
class=
"slide"
><div>
<section>
<header>
<h2>
Header
</h2>
...
...
ru.htm
View file @
abbb7c28
...
...
@@ -27,7 +27,7 @@
<h1>
Шаблон презентаций Shower
</h1>
<p>
Вадим Макеев, Opera Software
</p>
</header>
<div
class=
"slide cover"
id=
"Cover"
><div>
<div
class=
"slide cover"
><div>
<section>
<header>
<h2>
Шаблон презентации Shower
</h2>
...
...
@@ -35,7 +35,7 @@
<img
src=
"pictures/cover.jpg"
alt=
""
>
</section>
</div></div>
<div
class=
"slide"
id=
"Header"
><div>
<div
class=
"slide"
><div>
<section>
<header>
<h2>
Заголовок
</h2>
...
...
scripts/script.js
View file @
abbb7c28
...
...
@@ -7,6 +7,12 @@
l
=
slides
.
length
,
i
;
for
(
i
=
0
;
i
<
l
;
i
++
)
{
// Slide ID's are optional. In case of missing ID we set it to the
// slide number
if
(
!
slides
[
i
].
id
)
{
slides
[
i
].
id
=
i
+
1
;
}
slideList
.
push
({
id
:
slides
[
i
].
id
,
hasInnerNavigation
:
null
!==
slides
[
i
].
querySelector
(
'.next'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment