Questions tagged as 'html5'

1
answer

Add or reduce a value in .top when clicking the link for ID

I have a jQuery function that does a smooth scrolling on the page by clicking the ID link. $(function() { $('a[href*="#"]:not([href="#"])').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')...
asked by 19.01.2017 / 06:14
2
answers

How to pause CSS animation while music is stopped?

I made an example: function play() { //Fazer animação } function pause() { //Para animação, ficar toda linha roxa; } #animacao { position: relative; margin: 30px; } #bloco { display: block; bottom: 0px; w...
asked by 01.12.2016 / 18:55
1
answer

Trigger ~ Attribute Download HTML5

Good morning everyone, I need to download some text files (.txt) with the download attribute but I need to do this automatically when I load the page or a trigger that activates it, the problem is that I do not know how activate the eleme...
asked by 11.11.2016 / 12:47
1
answer

How to show PDF using server Viewer.js?

On the View page, I have the following code: <iframe style="width:800px; height:550px;" id="FileReload" src="@Url.Action("GetPDF", "Account", new { id = Model.Id })" onerror="function_documenthide();"></iframe> Each browser has...
asked by 01.12.2016 / 22:06
2
answers

How to center a checkbox on a div

I have an aside that contains 4 checkbox, so: <aside id="filtro"> <input type="checkbox" value="azul" class="check">Azul <input type="checkbox" value="verde" class="check">Verde <input type="checkbox" value="am...
asked by 31.10.2016 / 21:23
1
answer

AngularJs - directives do not work via ajax

I have a page: index.php and app.js . on my app I make a load to main.php which is the initial loading of the site. within main it will get select , div with ng-repeat , ng-source...
asked by 02.11.2016 / 07:27
1
answer

Google Maps Geolocation API

I want to check the status of my client to show the establishments near that region. How do I get this information through the Google Maps Geolocation API? Is there a better way? The site I've been working on is PiscouAchou.com     
asked by 24.10.2016 / 19:47
1
answer

Refresh PartialView [closed]

How do I update a partialview (asp. net) after I select some parent information, for example: I have a list of invoices and a partialview on the side to show the items in this note. When selecting one of the invoices my partialview should fet...
asked by 29.12.2015 / 13:14
1
answer

Preload with Cookie or Session

Hello everyone, how are you? I'm using a preload code this is working fine, but the problem is that every time you access the site loads the preload this bothers a lot .. I would like it to load only once per access, example if you continue brow...
asked by 18.11.2016 / 23:59
2
answers

How to send a complete PHP page by email?

I'm having trouble sending an email template. I have the following page: <?php session_start(); ?>               Contact Us - PiscouAchou                                        Email successfully sent !          <section...
asked by 27.10.2016 / 16:45