Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
Fogliasana_web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Danny Lopez
Fogliasana_web
Commits
2c0673d9
Commit
2c0673d9
authored
Nov 15, 2018
by
Ukita360
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nada
parents
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
135 additions
and
0 deletions
+135
-0
app.js
app.js
+42
-0
app2.js
app2.js
+0
-0
app3.js
app3.js
+3
-0
index.html
index.html
+90
-0
No files found.
app.js
0 → 100644
View file @
2c0673d9
var
arr
=
[
5
,
4
,
3
,
2
,
1
];
console
.
log
(
arr
);
console
.
log
(
arr
[
3
]);
arr
.
reverse
()
console
.
log
(
arr
);
arr
=
arr
.
map
(
function
(
elem
){
elem
*=
elem
;
return
elem
;
});
console
.
log
(
arr
);
arr
=
arr
.
map
(
Math
.
sqrt
);
console
.
log
(
arr
);
arr
=
arr
.
join
(
"
c
"
);
console
.
log
(
arr
);
arr
=
arr
.
split
(
"
c
"
);
console
.
log
(
arr
);
arr
.
push
(
"
6
"
);
console
.
log
(
arr
);
arr
.
unshift
(
"
0
"
);
console
.
log
(
arr
);
console
.
log
(
arr
.
toString
()
);
var
elimine
=
arr
.
pop
();
console
.
log
(
arr
,
elimine
);
console
.
log
(
elimine
);
arr
.
splice
(
1
,
0
,
"
10
"
);
console
.
log
(
arr
);
app2.js
0 → 100644
View file @
2c0673d9
app3.js
0 → 100644
View file @
2c0673d9
var
arr
=
[
5
,
4
,
3
,
2
,
1
];
console
.
log
(
arr
);
console
.
log
(
arr
[
0
]);
index.html
0 → 100644
View file @
2c0673d9
<html>
<head>
<title>
Menu Desplegable
</title>
<style
type=
"text/css"
>
*
{
margin
:
0px
;
padding
:
0px
;
}
#header
{
margin
:
auto
;
width
:
500px
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
}
ul
,
ol
{
list-style
:
none
;
}
.nav
>
li
{
float
:
left
;
}
.nav
li
a
{
background-color
:
#2885ed
;
color
:
#fff
;
text-decoration
:
none
;
padding
:
10px
12px
;
display
:
block
;
}
.nav
li
a
:hover
{
background-color
:
#434343
;
}
.nav
li
ul
{
display
:
none
;
position
:
absolute
;
min-width
:
140px
;
}
.nav
li
:hover
>
ul
{
display
:
block
;
}
.nav
li
ul
li
{
position
:
relative
;
}
.nav
li
ul
li
ul
{
right
:
-140px
;
top
:
0px
;
}
</style>
</head>
<body>
<div
id=
"header"
>
<ul
class=
"nav"
>
<li><a
href=
""
>
Inicio
</a></li>
<li><a
href=
""
>
Nosotros
</a>
<ul>
<li><a
href=
""
>
Submenu1
</a></li>
<li><a
href=
""
>
Submenu2
</a></li>
<li><a
href=
""
>
Submenu3
</a></li>
<li><a
href=
""
>
Submenu4
</a>
<ul>
<li><a
href=
""
>
Submenu1
</a></li>
<li><a
href=
""
>
Submenu2
</a></li>
<li><a
href=
""
>
Submenu3
</a></li>
<li><a
href=
""
>
Submenu4
</a></li>
</ul>
</li>
</ul>
</li>
<li><a
href=
""
>
Productos
</a>
<ul>
<li><a
href=
""
>
Submenu1
</a></li>
<li><a
href=
""
>
Submenu2
</a></li>
<li><a
href=
""
>
Submenu3
</a></li>
<li><a
href=
""
>
Submenu4
</a></li>
</ul>
</li>
<li><a
href=
""
>
Contacto
</a></li>
</ul>
</div>
</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