All Questions

1
answer

Make button to change href="" every new access on a certain page

I have a small question in a project I'm developing. The following happens, I have 2 buttons on the page, like these ( identical in different positions ): Top of the page: <a target="_blank" class="btn-primary" href="http://localh...
asked on 11.10.2016 / 05:20
2
answers

Live video playback using websocket

I would like to stream a video that is in my database (MySQL) and would like to know if it is possible to play live media content using websocket, and if that is how I could build? I have in mind that I will use html5 and JS and a back end langu...
asked on 01.08.2014 / 17:15
1
answer

About size verification

I have already found several explanations about, but not conclusive. Is it possible to determine the size (in bytes) of an image after it is loaded and using Javascript? Apparently browser security would prevent us from pulling this information...
asked on 16.07.2014 / 15:57
1
answer

Smooth scrolling on page

I would like to know how I can do that once I click the link of a page in the main menu, the page will gently scroll to the desired page that was clicked? Example: link I wanted an example using links, there is a question using buttons h...
asked on 06.07.2014 / 06:31
1
answer

Because when I write in div it changes position?

I write something in one of <div> and it changes position. Why? Here's what's happening: link HTML: <div class = "wrap1"> <div>algo</div> <div></div> <div></div> <...
asked on 30.06.2014 / 07:21
1
answer

How do I delete the "shadow" from the focus of a button / button?

After clicking on the button it has a shadow effect (blue) around it ... I leave an image for you to understand my doubt. How to remove this outside line?     
asked on 10.07.2014 / 04:20
1
answer

Translate datepicker Kendo UI with AngularJS

I need to translate the kendo date picker into Portuguese, I've already inserted the i18n file into my html but it did not work, I did the same in angle and ran angled My html <head> <script src="angular-locale_pt-br.js"></...
asked on 14.08.2014 / 14:29
1
answer

DateTime field display in View without part of Hours

With the code below I'm retrieving the DateTime with the time beyond the date, which I do not like. cursos.Data = DateTime.Parse(collection["Data"]); I tried to format using the substring within DateTime.Parse, but I did not succeed. My...
asked on 01.08.2014 / 14:41
1
answer

Block files in asp.net mvc folder

I have a folder named "app" I want to block access to all files if the user is not logged in. I tried this way: <location path="app"> <system.web> <authorization> <deny users="?"/> </authorizat...
asked on 15.08.2014 / 01:26
2
answers

What are the possible cases of using a persistent connection?

I've been reading about SignalR for the past few days and I've basically realized that one of its key features is to maintain a persistent connection of the server to the possible clients by accessing the server. Basically, it allows us to cre...
asked on 06.07.2014 / 01:18