Posts by Thallyson Dias • 409 points
18 posts
-
1
votes1
answer367
viewsQ: How to check whether or not there is a rel=""
I’m mounting a function for wordpress, in which one can navigate between the posts through the Keyboard. With difficulties, I managed to create the following function: <script>…
-
1
votes1
answer19
viewsQ: Save value to an input after inserting them automatically using Javascript
I have a select box that defines how many items will be displayed for the user to fill. http://jsfiddle.net/thallysondias/dsqBf/55/ However, when it stops filling in one of the inputs, it displays…
javascriptasked Thallyson Dias 409 -
1
votes1
answer824
viewsQ: List sights via the Google Maps API
I at the moment oblige the user to fill the hand all tourist spots by making a loop in the code. However, I wanted to know how to get this information from the sights automatically, more or less the…
-
0
votes2
answers3229
viewsA: Open new page and scroll to page anchor
I found the solution: /** * Check a href for an anchor. If exists, and in document, scroll to it. * If href argument ommited, assumes context (this) is HTML Element, * which will be the case when…
htmlanswered Thallyson Dias 409 -
0
votes2
answers3229
viewsQ: Open new page and scroll to page anchor
I have a problem that when I open a link that directs to an anchor from another page and is hidden by the Fixer header. I have a menu on my page: Inside Index.html I have this menu <a…
htmlasked Thallyson Dias 409 -
1
votes1
answer1388
viewsA: Send date parameter without "/" bars in PHP GET method
http://jsfiddle.net/KyleKatarn/6e03wgLL/2/ The solution was to use replace: $('form').submit(function () { $('#dpd1').val( $('#dpd1').val().replace(/\//g, '') ); $('#dpd2').val(…
-
1
votes1
answer1388
viewsQ: Send date parameter without "/" bars in PHP GET method
I have a booking form that sends the data to a URL and on the URL page the data is processed. However I have the problem, the URL cannot read the variable of the data fields, because the date Picker…
-
1
votes2
answers1880
viewsQ: Send different emails to me and the customer after filling in the form by phpmailer
I have a form that sends the customer data to an email, but I need the customer to also receive a copy of this email and with additional text, for example: Thank you for registering, below you can…
-
0
votes1
answer722
viewsQ: Send URL with variables in PHP
I am trying to submit a URL that has variables that will be treated on another site. I have the code: <form action="OUTROSITE.COM/default.aspx?q=1136&lang=pt-PT&CheckIn=<?php echo…
-
0
votes1
answer2256
viewsQ: Anchor using Animate.scrollTop with custom height
I need to edit the content anchor to a lower height than the content. I’m using the js $(".white-felling").click(function(){…
jqueryasked Thallyson Dias 409 -
1
votes1
answer164
viewsQ: Improve javascript function that enables checkbox
In my form I have inputs that can only be edited after a confirmation of the corresponding checkbox, I have it works at this time: http://jsfiddle.net/thallysondias/rwn73gnp/ I use the function of…
javascriptasked Thallyson Dias 409 -
0
votes2
answers1671
viewsA: Is it possible to add an overflow behavior with scroll only in tbody of a table?
It is possible to put the overflow only in tbody HTML <table> <thead> <tr> <td>Campo1</td> <td>Campo 2</td> </tr> </thead> <tbody>…
-
1
votes1
answer269
viewsA: Footer buttons like the old Symbian with Twitter Bootstrap
Inside the footer div add this div: <div class="btn-group btn-group-justified"> <div class="btn-group"> <button type="button" class="btn btn-default">Sair</button>…
-
9
votes2
answers664
viewsA: Redirection: Location vs Refresh
The two functions serve to redirect/refresh a page, however they have different ways of working. With the Location the browser does not have to download all the content of the page before making the…
-
1
votes1
answer881
viewsA: Accentuation in pdf for HTML2PDF library
HTML2PDF uses the encoding latin1_swedish_ci to generate your pdf. to fix this just you set setar as utf8_encode() or iconv() and generate again. For more information on utf8_encode…
-
0
votes3
answers247
viewsA: Background Reponsivo
If the goal is to display this image in different Vices, use media queries. Here below an example to be used a large image pro desktop and other custom made for phones. In addition to displaying a…
-
2
votes2
answers3732
viewsA: Mouse over image to show information box
What you want is this: http://jsfiddle.net/greypants/zgCb7/ Edit the div below with the content you want: <div class="tooltip">I am a tooltip!</div>…
-
1
votes3
answers3156
viewsA: Position image to the right and top
I’m almost sure that the bootstrap puts automatic padding, both in the image and link. img{ border:none; padding:0; margin:0 } and check the class: navbar-Brand navbar-right tbm are with padding and…