Posts by Roger Barretto • 2,640 points
64 posts
-
3
votes1
answer2712
viewsA: Media Queries does not work
Try using media query inline in your mobile.css Example: Use-media-query-inline-style @media only screen and (max-device-width: 480px) { /* Change to whatever media query you require */ .bg {…
-
1
votes1
answer300
viewsA: Parameterize trip count in a select VBA routine
The problem can be solved with 3 queries/steps Step 1 explained: SELECT * INTO TEMP1 --Crio uma tabela temporária através da consulta FROM (SELECT *, IIF( --Teste logico para verificar se é final de…
-
2
votes3
answers3033
viewsA: Load page only when image is loaded
Use the image LOAD event in question $('#IDdaImagem').on('load',function(){ //'Código para carregar a página/conteúdo' }) Img inside a DIV $('#IDdaDIV img').on('load',function(){ //'Código para…
jqueryanswered Roger Barretto 2,640 -
1
votes2
answers1288
viewsA: How to store checkbox status
One solution I usually do to deal with this is to have an Hidden field with the user code and same name, and in the checkboxes I concatenate their name with the Hidden field code, this way on the…
-
2
votes1
answer555
viewsA: How to use an object attribute to increment a counter?
In the employee class Voce can have a list of clients agariados (0 for N) In the customer class have a reference of 0 for 1 with the employee who participated In the agariar method (in the employee…
javaanswered Roger Barretto 2,640 -
3
votes2
answers2905
viewsQ: Automato for navigation in a Webforms application
Guys, it wasn’t the first time or the last time I had to implement an automatic routine that accesses a website or system created on the Webforms platform to capture information. It has been…
-
1
votes1
answer45
viewsA: How to put sub menus down centered with menus
put in your sub Uls this: margin-left: -50px; to adjust this 50 in each so that it is centralized
css-centeringanswered Roger Barretto 2,640 -
2
votes5
answers501
viewsA: Hover only on some columns
Imagi in Voce want not only the first 4, but actually link X lines to a context determnnado, can be 1, 2 or N lines. This way I consider using a context identifier ex: data-codigo on each line and…
-
2
votes4
answers6360
viewsA: Break row into table cell in CSV format to be read by Excel
Considering the new context presented, to solve the problem should put double quotes " indicating the text that will have multiple lines, ie: context.Response.Write("\"aa\rb\rccc\""); Reference: CSV…
-
0
votes4
answers6360
viewsA: Break row into table cell in CSV format to be read by Excel
The presented scenario seems that you are generating the content in a WEB application. This way I suggest you create a <table> in HTML and break the text inside the <TD>. and display as…
-
2
votes1
answer274
viewsA: How to concatenate Radiobuttons values into Razor/HTML?
As @cigano said the solution of this problem may be better in Javascript. Follow example using HTML + Javascript with Jquery and the JSFIDDLE working HTML: <form> <fieldset>…
-
5
votes7
answers3901
viewsA: What does incrementing mean?
Increment = Sum Increment 5 to result > resultado = resultado + 5 Increment the result > resultado = resultado + 1
terminologyanswered Roger Barretto 2,640 -
1
votes2
answers83
viewsA: Redeem http service result in another function
Stores your output in a root (global) scope object or variable and calls a function that makes use of this value. var globalResultado = null;…
-
5
votes4
answers3942
viewsA: jQuery does not see content loaded via ajax
You need to use a function that will be called as soon as the page is loaded (callback) For example: $('div').load('http://pagina',function(){ /* Codigo da função quando o conteúdo existir */ }) If…
jqueryanswered Roger Barretto 2,640