Está en la página 1de 5

/* Añade aquí tu código JavaScript.

Si estás usando la biblioteca jQuery, entonces no olvides envolver tu código dentro


de jQuery.ready() así:

--

Si quieres enlazar a un archivo JavaScript que resida en otro servidor (como


<script src="https://example.com/your-js-file.js"></script>), entonces, por favor,
usa
la página «Añadir código HTML» , ya que es un código HTML que enlaza a un archivo
JavaScript.

Fin del comentario */

jQuery(document).ready(function( $ ){
$('#box').mouseenter(function(){

$('#titulo-box h2').css({
"color": "#fff"
});

$('#texto-box').css({
"color": "#fff"
});

$('#boton-box .elementor-button').css({
"color": "#000",
"background-color": "#eae30f"
});
});

$('#box').mouseleave(function(){

$('#titulo-box h2').css({
"color": "#000"
});

$('#texto-box').css({
"color": "#000"
});

$('#boton-box .elementor-button').css({
"color": "#eae30f",
"background-color": "#000"
});
});
/*******/
$('#box2').mouseenter(function(){

$('#titulo-box2 h2').css({
"color": "#fff"
});

$('#texto-box2').css({
"color": "#fff"
});
$('#boton-box2 .elementor-button').css({
"color": "#000",
"background-color": "#eae30f"
});
});

$('#box2').mouseleave(function(){

$('#titulo-box2 h2').css({
"color": "#000"
});

$('#texto-box2').css({
"color": "#000"
});

$('#boton-box2 .elementor-button').css({
"color": "#eae30f",
"background-color": "#000"
});
});

/****/

$('#box3').mouseenter(function(){

$('#titulo-box3 h2').css({
"color": "#fff"
});

$('#texto-box3').css({
"color": "#fff"
});

$('#boton-box3 .elementor-button').css({
"color": "#000",
"background-color": "#eae30f"
});
});

$('#box3').mouseleave(function(){

$('#titulo-box3 h2').css({
"color": "#000"
});

$('#texto-box3').css({
"color": "#000"
});

$('#boton-box3 .elementor-button').css({
"color": "#eae30f",
"background-color": "#000"
});
});

/******/
$('#box4').mouseenter(function(){

$('#titulo-box4 h2').css({
"color": "#fff"
});

$('#texto-box4').css({
"color": "#fff"
});

$('#boton-box4 .elementor-button').css({
"color": "#000",
"background-color": "#eae30f"
});
});

$('#box4').mouseleave(function(){

$('#titulo-box4 h2').css({
"color": "#000"
});

$('#texto-box4').css({
"color": "#000"
});

$('#boton-box4 .elementor-button').css({
"color": "#eae30f",
"background-color": "#000"
});
});
});

Fin del comentario */

jQuery(document).ready(function( $ ){
// Your code in here
$('#showPosts').click(function() {
$('#escondeme').hide();
$('#hiddenPosts').show("slow");

});
});

'menu' => [
[
'text' => 'Buscar',
'search' => true,
'topnav' => true,
],
[
'text' => 'blog',
'url' => 'admin/blog',
'can' => 'manage-blog',
],
[
'text' => 'pages',
'url' => 'admin/pages',
'icon' => 'far fa-fw fa-file',
'label' => 4,
'label_color' => 'success',
],
['header' => 'account_settings'],
[
'text' => 'profile',
'url' => 'admin/settings',
'icon' => 'fas fa-fw fa-user',
],
[
'text' => 'change_password',
'url' => 'admin/settings',
'icon' => 'fas fa-fw fa-lock',
],
[
'text' => 'multilevel',
'icon' => 'fas fa-fw fa-share',
'submenu' => [
[
'text' => 'level_one',
'url' => '#',
],
[
'text' => 'level_one',
'url' => '#',
'submenu' => [
[
'text' => 'level_two',
'url' => '#',
],
[
'text' => 'level_two',
'url' => '#',
'submenu' => [
[
'text' => 'level_three',
'url' => '#',
],
[
'text' => 'level_three',
'url' => '#',
],
],
],
],
],
[
'text' => 'level_one',
'url' => '#',
],
],
],
['header' => 'labels'],
[
'text' => 'important',
'icon_color' => 'red',
],
[
'text' => 'warning',
'icon_color' => 'yellow',
],
[
'text' => 'information',
'icon_color' => 'aqua',
],
],

También podría gustarte