Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
my-cucumbers-ru-github-io
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
Лотуга Данила Сергеевич
my-cucumbers-ru-github-io
Commits
ae5aa03f
Commit
ae5aa03f
authored
Nov 03, 2010
by
Vadim Makeev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iframes support is dropped
parent
02c7d19c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
39 deletions
+50
-39
index.htm
examples/index.htm
+25
-0
index.htm
index.htm
+2
-9
script.js
scripts/script.js
+8
-1
projection.css
styles/projection.css
+14
-20
screen.css
styles/screen.css
+1
-9
No files found.
examples/index.htm
0 → 100644
View file @
ae5aa03f
<!DOCTYPE HTML>
<html
lang=
"en-US"
>
<head>
<title>
Shower
</title>
<meta
charset=
"UTF-8"
>
<style>
BODY
{
background
:
#FFF
;
}
H1
{
position
:
absolute
;
top
:
50%
;
left
:
0
;
margin-top
:
-100px
;
width
:
100%
;
color
:
#000
;
text-align
:
center
;
font
:
bold
150px
Georgia
,
serif
;
}
</style>
</head>
<body>
<h1>
★ Demo ★
</h1>
</body>
</html>
\ No newline at end of file
index.htm
View file @
ae5aa03f
...
@@ -114,21 +114,14 @@
...
@@ -114,21 +114,14 @@
</article>
</article>
<img
src=
"pictures/image.jpg"
alt=
""
>
<img
src=
"pictures/image.jpg"
alt=
""
>
</section>
</section>
<section
class=
"slide frame"
id=
"Frame"
>
<article>
<h2>
Shower on GitHub
</h2>
<p><a
href=
"http://github.com/pepelsbey/shower"
>
http://github.com/pepelsbey/shower
</a></p>
</article>
<iframe
src=
"http://github.com/pepelsbey/shower"
frameborder=
"0"
scrolling=
"no"
></iframe>
</section>
<section
class=
"slide shout"
id=
"JustAshout"
>
<section
class=
"slide shout"
id=
"JustAshout"
>
<article>
<article>
<h2>
Shout!
</h2>
<h2>
Shout!
</h2>
</article>
</article>
</section>
</section>
<section
class=
"slide shout"
id=
"Shout
Link
"
>
<section
class=
"slide shout"
id=
"Shout
Demo
"
>
<article>
<article>
<h2><a
href=
"
#ThankYou"
>
Link!
</a></h2>
<h2><a
href=
"
examples/index.htm"
target=
"_blank"
>
Demo
</a></h2>
</article>
</article>
</section>
</section>
<section
class=
"slide last"
id=
"ThankYou"
>
<section
class=
"slide last"
id=
"ThankYou"
>
...
...
scripts/script.js
View file @
ae5aa03f
...
@@ -3,14 +3,21 @@ var url = document.location,
...
@@ -3,14 +3,21 @@ var url = document.location,
slides
=
[],
backhash
=
{},
slides
=
[],
backhash
=
{},
linkScreen
=
document
.
querySelector
(
'link[title=screen]'
),
linkScreen
=
document
.
querySelector
(
'link[title=screen]'
),
linkProjection
=
document
.
querySelector
(
'link[title=projection]'
),
linkProjection
=
document
.
querySelector
(
'link[title=projection]'
),
iframes
=
window
.
frames
,
fullscreen
=
false
;
fullscreen
=
false
;
for
(
var
i
=
0
,
len
=
domSlides
.
length
;
i
<
len
;
i
++
)
{
for
(
var
i
=
0
,
iLength
=
domSlides
.
length
;
i
<
iLength
;
i
++
)
{
var
id
=
domSlides
[
i
].
id
;
var
id
=
domSlides
[
i
].
id
;
slides
[
i
]
=
'#'
+
id
;
slides
[
i
]
=
'#'
+
id
;
backhash
[
'#'
+
id
]
=
i
;
backhash
[
'#'
+
id
]
=
i
;
}
}
for
(
var
j
=
0
,
jLength
=
iframes
.
length
;
j
<
jLength
;
j
++
)
{
iframes
[
j
].
onfocus
=
function
()
{
window
.
top
.
focus
();
}
}
function
enterFull
()
{
function
enterFull
()
{
fullscreen
=
true
;
fullscreen
=
true
;
updateView
();
updateView
();
...
...
styles/projection.css
View file @
ae5aa03f
...
@@ -125,6 +125,15 @@ A {
...
@@ -125,6 +125,15 @@ A {
.slide
ARTICLE
EM
{
.slide
ARTICLE
EM
{
font-style
:
italic
;
font-style
:
italic
;
}
}
.slide
ARTICLE
KBD
,
.slide
ARTICLE
CODE
{
padding
:
0.1em
0.3em
;
-webkit-border-radius
:
0.3em
;
-moz-border-radius
:
0.3em
;
border-radius
:
0.3em
;
background
:
#EEE
;
font-family
:
Consolas
,
'Droid Sans Mono'
,
monospace
;
}
/* Quote */
/* Quote */
.slide
ARTICLE
BLOCKQUOTE
{
.slide
ARTICLE
BLOCKQUOTE
{
...
@@ -185,8 +194,9 @@ A {
...
@@ -185,8 +194,9 @@ A {
}
}
.slide
ARTICLE
PRE
CODE
{
.slide
ARTICLE
PRE
CODE
{
display
:
block
;
display
:
block
;
padding
:
0
;
background
:
none
;
white-space
:
pre
;
white-space
:
pre
;
font-family
:
Consolas
,
'Droid Sans Mono'
,
monospace
;
}
}
.slide
ARTICLE
PRE
CODE
:before
{
.slide
ARTICLE
PRE
CODE
:before
{
position
:
absolute
;
position
:
absolute
;
...
@@ -200,9 +210,9 @@ A {
...
@@ -200,9 +210,9 @@ A {
.slide
ARTICLE
PRE
EM
,
.slide
ARTICLE
PRE
EM
,
.slide
ARTICLE
PRE
STRONG
{
.slide
ARTICLE
PRE
STRONG
{
padding
:
0.1em
0.3em
;
padding
:
0.1em
0.3em
;
-webkit-border-radius
:
.3em
;
-webkit-border-radius
:
0
.3em
;
-moz-border-radius
:
.3em
;
-moz-border-radius
:
0
.3em
;
border-radius
:
.3em
;
border-radius
:
0
.3em
;
}
}
.slide
ARTICLE
PRE
EM
{
.slide
ARTICLE
PRE
EM
{
background
:
#FAFAA2
;
background
:
#FAFAA2
;
...
@@ -286,19 +296,3 @@ A {
...
@@ -286,19 +296,3 @@ A {
.slide.shout
:after
{
.slide.shout
:after
{
content
:
''
;
content
:
''
;
}
}
\ No newline at end of file
/* Frame
---------------------------------------- */
.slide.frame
{
background
:
#FFF
;
}
.slide.frame
IFRAME
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
}
.slide.frame
:after
{
content
:
''
;
}
\ No newline at end of file
styles/screen.css
View file @
ae5aa03f
...
@@ -237,11 +237,3 @@ A {
...
@@ -237,11 +237,3 @@ A {
text-align
:
center
;
text-align
:
center
;
font-size
:
60px
;
font-size
:
60px
;
}
}
/* Frame
---------------------------------------- */
.slide.frame
{
}
.slide.frame
IFRAME
{
display
:
none
;
}
\ No newline at end of file
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