Posts by sistematico • 305 points
19 posts
-
1
votes1
answer37
viewsQ: Autoplay Cross-Browser
How do I give autoplay to all (or almost all) mobile and desktop browsers? <audio controls autoplay> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3"…
-
0
votes0
answers31
viewsQ: Mediaelementjs playing the cache instead of the current song
I have the following code: $(document).ready(function(){ var stream = 'http://somdomato.com:8000/stream.mp3'; var nocache = ''; $('#tocando').click(function(e) { e.preventDefault(); });…
-
0
votes1
answer1020
viewsA: Problem to raise Apache server with XAMPP on Ubuntu 17.04
update-rc.d -f apache2 remove or systemctl disable apache2 Using the root user.
-
0
votes1
answer124
viewsQ: jQuery Ajax generating image error
I have the following code: <table class="table" id="historico"> <thead> <tr> <th>Hora</th> <th>Música</th> </tr> </thead>…
-
2
votes0
answers41
viewsQ: e. preventDefault() does not work
I have the following code: <script type="text/javascript"> $.post( "pesquisar.php", { titulo: 'Luan' }) .done(function( data ) { $(".result").empty().html(data); });…
-
1
votes1
answer360
viewsQ: Full-Width Image Grid/Container with Semantic-UI
I know the question is kind of abstract, but how to do this: With the Semantic-UI? That is, a set of Thumbs without margin or edge, occupying 100% of the width and responsive mode? Fez here, but it…
-
0
votes1
answer67
viewsQ: Percentage of 0 to 5
I have an IMDB (Internet Movie Data Base) number, in case the number is 7.7 out of 10. I need to put this number on a scale from 0 to 5 (integers only). On the basis of this reply:…
-
1
votes0
answers44
viewsQ: Javascript Pushstate/Popstate turns off other scripts
I have this code on my site js/pushstate.js: $(document).ready(function() { var nav, conteudo, fetchAndInsert; //nav = $('div#navbar'); nav = $('.menu'); conteudo = $('#conteudo'); fetchAndInsert =…
-
0
votes3
answers52
viewsA: Positioning of a thumbnail
Changed function: get_the_image( array( 'size' => 'loop', 'link_to_post' => false, 'width' => 260, 'height' => 180 ) ); For: echo get_the_post_thumbnail( $post_id ); Sorry for the…
-
0
votes3
answers52
viewsQ: Positioning of a thumbnail
I have a site (using Wordpress) with several thumbnails, these Thumbs are centered vertically and horizontally as the image shows: How to make Thumbs show the top of the image and cut the bottom if…
-
0
votes0
answers17
viewsQ: Duplicated scrollbar with jQuery Vegas
Scrollbar appears twice by clicking on a tab that is larger than hers: I’m using the Vegas and the jQuery Hashchange. Maybe this is the code snippet from Vegas: body .vegas-container { overflow:…
-
1
votes1
answer39
viewsQ: Update link within a variable
I have the following code: // Vegas // $(".bg-fixed").vegas({ // slides: [ // { src: "/img/fundos/slide1.jpg" }, // { src: "/img/fundos/slide2.jpg" }, // { src: "/img/fundos/slide3.jpg" } // ], //…
-
0
votes1
answer43
viewsQ: Border-top appears in half on iOS
In the iOS the parameter border-top is shown up to half screen, on PC it appears with 100% width normally. How to make it appear 100% width on iOS also? This is the SCSS: .wrapper-masthead {…
-
3
votes1
answer1386
viewsQ: Font Awesome appears as "blocks" in Nginx under Freebsd 10.1
I have a website that I have transported from Centos to Freebsd using rsync + mysqldump. Centos + Apache ran normal on Freebsd + Nginx gave this error: I believe it is related to this code that…
-
1
votes1
answer59
viewsA: $. getJSON Google Images displaying incorrect results
I was looking for artist and music when the right thing would be just the artist. I altered: capa = nome.split('/').pop(); To: capa = nome.split('/').pop().split('-'); And use capa[0] instead of…
javascriptanswered sistematico 305 -
1
votes1
answer59
viewsQ: $. getJSON Google Images displaying incorrect results
Based on this code: function baixarCapa(capa, item) { $.getJSON("https://ajax.googleapis.com/ajax/services/search/images?callback=?", { q: '"' + capa + '"', v: '1.0' }, function(data) { var url =…
javascriptasked sistematico 305 -
0
votes2
answers110
viewsQ: Artist cover update generates many requests
I have the following code snippet: var musica_atual = ''; var capasplit = ''; function checaURL(endereco){ var http = new XMLHttpRequest(); http.open('HEAD', endereco, false); http.send(); return…
javascriptasked sistematico 305 -
3
votes1
answer225
viewsQ: Function $.getJSON returns Undefined
I’m having problems with a system that downloads the photo of 10 artists from a TOP 10. Follows the function: function baixarCapa(capa) {…
-
0
votes1
answer243
viewsQ: Flash iframe over div with z-index: 9999
Some components of my Flash chat are above the div header. As you scroll the screen, these components disappear and reappear. Follow the image: I don’t have access to Flash, that’s the problem,…