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
8f4638a2
Commit
8f4638a2
authored
May 19, 2011
by
Vadim Makeev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing frame removed
parent
e41a294e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
70 deletions
+0
-70
frame.htm
frame.htm
+0
-70
No files found.
frame.htm
deleted
100644 → 0
View file @
e41a294e
<!DOCTYPE HTML>
<html
lang=
"en-US"
>
<head>
<title>
Shower
</title>
<meta
charset=
"UTF-8"
>
<link
rel=
"stylesheet"
href=
"styles/reset.css"
>
<style>
BODY
{
overflow
:
hidden
;
padding
:
40px
50px
;
background
:
#666
;
color
:
#FFF
;
font
:
15px
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
;
;
}
UL
{
overflow
:
hidden
;
}
UL
LI
{
float
:
left
;
padding
:
8px
10px
3px
;
-webkit-border-radius
:
5px
5px
0
0
;
-moz-border-radius
:
5px
5px
0
0
;
border-radius
:
5px
5px
0
0
;
cursor
:
pointer
;
}
UL
LI
:target
{
background
:
#000
;
}
IFRAME
{
width
:
640px
;
height
:
480px
;
border
:
10px
solid
#000
;
border-radius
:
0
10px
10px
10px
;
}
</style>
<script>
function
update
()
{
var
url
=
document
.
location
,
hash
=
url
.
hash
.
substr
(
1
).
split
(
'x'
);
frame
=
document
.
querySelector
(
'iframe'
);
if
(
hash
.
length
==
2
)
{
frame
.
style
.
width
=
hash
[
0
]
+
'px'
;
frame
.
style
.
height
=
hash
[
1
]
+
'px'
;
}
else
{
url
.
hash
=
'640x480'
;
}
}
function
init
()
{
var
links
=
document
.
querySelectorAll
(
'ul li'
);
for
(
var
i
=
0
,
linksLength
=
links
.
length
;
i
<
linksLength
;
i
++
)
{
links
[
i
].
onclick
=
function
()
{
document
.
location
.
hash
=
this
.
id
;
update
();
}
}
update
();
}
window
.
onload
=
init
;
</script>
</head>
<body>
<ul>
<li
id=
"640x480"
>
640 × 480
</li>
<li
id=
"800x600"
>
800 × 600
</li>
<li
id=
"1024x768"
>
1024 × 768
</li>
<li
id=
"1280x1024"
>
1280 × 1024
</li>
</ul>
<iframe
src=
"index.htm"
frameborder=
"0"
></iframe>
</body>
</html>
\ 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