Posts by João Paulo Saragossa • 603 points
15 posts
-
1
votes2
answers1948
viewsQ: HTML Audio - How to automatically go to the next song in a jQuery playlist
I’m creating a playlist with HTML5 and jQuery. My appointment: <ol class="playlist"> <li> audio 1 <audio class="track" preload="none"> <source src="<?php echo $siteroot;…
-
3
votes3
answers42
viewsQ: Formatting problem when injecting date into datetime attribute
I need to assign the current date in a field datetime one-paragraph, for that I implemented: ... var newDate = new Date(), date = newDate.getFullYear() + "-" + (newDate.getMonth() + 1) + "-" +…
-
1
votes1
answer112
viewsQ: Polymer - Assign a default value to a content tag
I’m creating a polymer element with this structure:: <template> <style> ... </style> <div class="card-header" layout horizontal center> <content…
-
3
votes1
answer77
viewsQ: Jquery - error accessing array
I need to compare two arrays, one with calendar days and the other with registered days. When the registered day corresponds to the property value innerHTML of the array of div he must paint the…
-
2
votes1
answer87
viewsA: Files. Sass do not compile
I forgot to import the file .sass at the end of the archive css/main.scss: @import "base", "layout", "syntax-highlighting", "header" /* nome do meu arquivo .sass, sem a extensão */ ; Now it’s…
-
2
votes1
answer87
viewsQ: Files. Sass do not compile
I’m working on a project using Jekyll with Github Pages. I’m trying to use a file .sass, saving it in the folder _sass, using the syntax recommended by the Jekyll website: --- --- .page-header…
-
2
votes4
answers21058
viewsQ: How to push local folder to Github
I would like to push a local repository to my Github. I did the standard procedure for this: git clone <chave ssh> Until then everything wonderful, he created a copy of the Gihub repository…
-
5
votes2
answers692
viewsQ: jQuery - Switching background-image of an element
I have a figure element with a series of images inside: <figure class="MiniModImgSlider"> <img src="img01.jpg" alt="img01"> <img src="img02.jpg" alt="img02"> <img…
-
4
votes1
answer2712
viewsQ: Media Queries does not work
I am developing a Wordpress site that needs to be responsive and for that I am using media queries: <head> ... <link rel="stylesheet" href="css/style.css"/> <link rel="stylesheet"…
-
3
votes2
answers1529
viewsQ: Image URL with the_post_thumbnail()
How can I extract only the URL (attribute value src) of an image generated by the function the_post_thumbnail and assign it to an image? The result I’m looking for would be something like: <img…
wordpressasked João Paulo Saragossa 603 -
0
votes1
answer131
viewsQ: Formatting and Commenting on Wordpress
I have two Section on my site, one shows the comments and the other is a form for comments: Section sec-aval - Shows comment <section id="sec-aval"> <aside class="sec-aval-asd first">…
wordpressasked João Paulo Saragossa 603 -
10
votes4
answers1193
viewsQ: Color loop in text
I have the following HTML structure: <font class="a">J</font> <font class="b">o</font> <font class="c">ã</font> <font class="d">o</font> <font…
-
2
votes2
answers915
viewsQ: Image Slider with Jquery
I created a small image gallery using this structure: <div class="slider"> <div class="dest"> <img…
-
-1
votes3
answers3057
viewsQ: Smooth Transition in Image Slider
I have a div that displays a series of images in its background: <div id="header-slider"> ... </div> For the images to loop I did the following code in Jquery: var imagens = […
-
9
votes4
answers601
viewsQ: Internal navigation with Jquery
I have the following structure in my header: <header> ... <div id="header-reserva" class="cf"> <a href="#header-reserva-iframe" class="scroll">Reserve aqui!</a> </div>…