Questions tagged as 'html'

2
answers

Make jQuery-Tools handle a team

I use jQuery-Tools to create a custom effect of scroll on a div as in the following example : "use strict"; var id_label_ms = document.getElementById("count_label_ms"); var range = document.getElementById("area"); var...
asked by 21.08.2015 / 17:24
1
answer

Is it a good idea to insert inline SVG files?

I've been stalling on websites and those who use SVG logos often put them in a file separately. This brings up the convenience of when you change the file, on all pages it changes, but you make one more request. Is it a good idea instead of c...
asked by 14.06.2015 / 00:56
1
answer

Is there any way to use a "custom-attribute" as the value of a CSS property?

I wonder if there is a possibility to use custom-attribute of type data-*=" " as a value for a CSS style or even use this custom date as value for a variable in the CSS. For example, I'll explain my idea. I'd like to put in t...
asked by 18.09.2018 / 16:56
2
answers

Internal search form

I have an internal search form on the site. <form method="get" id="searchform" action="/search/"> <div> <input type="text" value="Pesquisar..." name="q" id="s" onfocus="defaultInput(this)" onblur="clearInput(this)" /> <in...
asked by 31.01.2014 / 08:55
1
answer

Dynamically manipulating the DOM with jQuery

The system I'm currently working on requires a lot of AJAX and DOM manipulation, so I started learning (not long ago), jQuery. In the feature I'm currently developing, there's a jQuery plugin called multi-select , which aims to select a few...
asked by 28.10.2014 / 13:51
1
answer

How do I always get the latest video from a YouTube channel?

I have a% div of% and within it, I want the last video posted to a channel to always appear. I have this structure in jQuery, however I can not get it to pull only 1. Here is the structure: $(function() { // Baixar URLs do feed do canal...
asked by 13.11.2014 / 14:24
2
answers

How to use fadeIn () in addClass ()?

I have 10 elements with class "hide", less the first one. When I click on a button I remove the next hide and add the class "show", but when I add it I want to put a fadeIn () effect. Is it possible?     
asked by 20.02.2014 / 15:06
1
answer

How to change the window.location of a frame

I wanted to know if you can enter a target here: window.location='www.google.com'; I do not want to open a new page, otherwise I would use window.open . I want to use target="topFrame" to control a player. I'm using an old l...
asked by 17.07.2014 / 18:33
1
answer

Difference between using the main element versus a div with role="main"?

Thinking in terms of accessibility, described by the WAI-ARIA , you need to define the element with the main content of the page with role="main" , in order to improve page accessibility for users with assistive technologies. For examp...
asked by 23.07.2014 / 03:40
1
answer

How to have your site featured on the right side on Google

I searched for the term "brainstorm9" on Google, and I noticed that Google highlighted the right side of the page for the G + page on the site. I thought there was only Wikipedia information. See the image: My question is: Do I need...
asked by 03.09.2014 / 14:59