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
c2bc76b3
Commit
c2bc76b3
authored
Nov 11, 2010
by
Vadim Makeev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default frame size
parent
3920e599
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
frame.htm
frame.htm
+7
-4
No files found.
frame.htm
View file @
c2bc76b3
...
@@ -35,11 +35,14 @@
...
@@ -35,11 +35,14 @@
</style>
</style>
<script>
<script>
function
update
()
{
function
update
()
{
var
url
=
document
.
location
.
hash
.
substr
(
1
).
split
(
'x'
),
var
url
=
document
.
location
,
hash
=
url
.
hash
.
substr
(
1
).
split
(
'x'
);
frame
=
document
.
querySelector
(
'iframe'
);
frame
=
document
.
querySelector
(
'iframe'
);
if
(
url
.
length
==
2
)
{
if
(
hash
.
length
==
2
)
{
frame
.
style
.
width
=
url
[
0
]
+
'px'
;
frame
.
style
.
width
=
hash
[
0
]
+
'px'
;
frame
.
style
.
height
=
url
[
1
]
+
'px'
;
frame
.
style
.
height
=
hash
[
1
]
+
'px'
;
}
else
{
url
.
hash
=
'640x480'
;
}
}
}
}
function
init
()
{
function
init
()
{
...
...
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