I'm creating a website, they asked me to play a joke on the team part. According to this image, when it is done: hover in one of the parts, all text and image are sorted:
Idonotknowhowtotakeoffthisboot,becausejavascriptisnotmystrong.Iwishyouc...
I'm using a template with the Responsive layout. I have a banner on the right side of a website. What I'm doing is that by scrolling the page the banner accompanies the page. When I lower the window, the banner goes over the content. What he wan...
Function I am using:
$(".push-description-top").each(function() {
var text = $(this).text();
var carac = text.length;
if (carac > 0) {
var query = text.split(" ", 14);
query.push('<a href="">... Veja mais...
In my Componente I get HTML in the form of a String and use [innerHtml] to insert this HTML into the Component View.
Component:
test(){
alert('Teste :D');
}
html_string = '<input type="button" (click)="test()">';
View:...
I have a table with summaries about a particular client, where the first line is the main content to be displayed, and the rest is a mere complement.
I know I could apply display: none , but I do not think that should be the best way to...
I know that in should be used instead of px in sources for good application performance on mobile phones, but I only use this in font size.
Should I use in also in places like margins, paddings, line-height, etc?
Thanks
Hello, I need some help. I would like to know how to get values from an html tag using javascript.
such as: grabbing the marginLeft value of an image that was determined by a css file.
I hope I have been clear, thank you ...
My page has a selectbox, with some segments, when a user selects a segment, through the on change event of jQuery, it takes the value of the selected <option> and inserts an input hidden with the value of this option within a...
The problem: I have a html formatted text and I need to count how many characters (ringtones for journalists) I have. I'll use JavaScript. Some solutions came to mind, but as this will be done repetitively, I decided to analyze better before lea...