Questions tagged as 'html'

2
answers

Run script in a div

I own this script. What should I add in it so that, when it runs, it appears in a <div> ? Here's the script: // Which flash versions are needed for given format var FLASH_VERSIONS = { '7/0/0': [5], '9/0/115': [18, 22, 33...
asked by 18.08.2014 / 18:34
2
answers

Check jQuery variables?

Is there a smarter way to write this verification code, IF ? jQuery("#oformulario").submit(function(){ var nome = jQuery("#nome").val(); var email = jQuery("#email").val(); var telefone...
asked by 09.08.2014 / 20:41
1
answer

How to pass values in an Action Link that are in HTML elements?

I have 2 HTML elements, a TextBox and a Hidden , which have values, how do I pass the values of these elements to the Action link in the Action link? Below the parameters docItemId and vlrImobIcms are giving error. &...
asked by 18.02.2014 / 13:58
2
answers

Automato for navigation in a WebForms application

Dear, it was not the first time nor last time that I needed to implement an automatic routine that accesses a Web site or system created in the WebForms platform to capture information. It has been extremely costly to make any form of automat...
asked by 04.04.2014 / 20:34
2
answers

Float: left, div falling by width of div

I'm having a problem with float:left; : for a width greater than the page the div drops, but I wanted it to continue to div earlier. HTML: <div id="menu" class="menu"> MENU </div> <div class="resto">...
asked by 05.03.2014 / 16:53
3
answers

Responsive Images

I am setting up a blog with responsive design and currently use width:100% to resize images within div . .eMessage>.pimg>img{ width:100%; -webkit-width: 100%; /*Chrome*/ -moz-width: 100%; /*Mozila*/ -ms-width: 100%; /*Intern...
asked by 03.02.2014 / 10:35
2
answers

Color of HTML code inside string in PhpStorm

When I insert an echo or a PHP variable that receives a string with HTML code, PhpStorm does not stay in the default color that would be all yellow, as in Sublime for example, and this ends up confusing enough when parsing the code. Example:...
asked by 28.10.2014 / 13:49
2
answers

Change the size of a chart with JS

I have the following chart: window.onload = function() { var can = document.getElementById('canvas'), spanProcent = document.getElementById('procent'), c = can.getContext('2d'); var posX = can.width / 2, posY...
asked by 04.01.2019 / 01:37
1
answer

Ways to put one site inside another? [closed]

I'm studying the iframe tag in HTML5, I saw that with it we can put sites and videos within a page. However, I did some testing, with PHP and HTML files. The only way that succeeded in appearing the site I wanted was in the .html file an...
asked by 18.10.2017 / 04:04
1
answer

Tree menu - Error when selecting element (ul: onclick)

I have a problem in the tree menu below. When I click on the child elements of ul-0 I perform the class exchange. How to avoid this? function ready (fn) { if (document.attachEvent ? document.readyState === "complete" : document.readySt...
asked by 04.04.2018 / 16:54