Posts by Luiz Felipe • 456 points
48 posts
-
1
votes1
answer49
viewsQ: Tabs in css - line break when page limit is exceeded
I’m doing CSS tabs. However, when it comes to a certain number, it breaks to the bottom line. I wanted you to stay on line at all times, even if you’re not on the page. .tabs { list-style: none;…
cssasked Luiz Felipe 456 -
1
votes2
answers931
viewsQ: Materialize CSS - sticky label at the top
How do I always pin my label to Top? Normal behavior: stays in input, when we click on input (Focus) it sits on top of the input <div class="input-field col s6"> <input…
-
0
votes2
answers137
viewsA: Angular 4 - Input / Output Access parent event via Typescript
A partial solution I found was Create an abstract class! Put in it some abstract methods (as long as necessary and mandatory) and feed the constructor of the abstract class (my needs). Having done…
-
0
votes2
answers137
viewsQ: Angular 4 - Input / Output Access parent event via Typescript
At Angular 4, how do I access the functions of the parent being in the child or the functions of the child being in the direct parent by Typescript instead of traditionally accessing via tag…
-
0
votes1
answer263
viewsQ: Angular / Javascript - Re-organizing positions in the Array
let meuArray = [ {codigo: 1, nome: Jose, idade: 33} ,{codigo: 2, nome: Jose, idade: 32} ,{codigo: 3, nome: Maria, idade: 31} ,{codigo: 4, nome: Joao, idade: 30} ,{codigo: 5, nome: Aroldo, idade: 29}…
-
0
votes1
answer2461
viewsQ: Angular 4 - Perform function only when variable is changed
I need to execute a function, but it can only run if the variable is false. What context: When pressing TAB the system calls the function (fnTab). This function performs a search in the database and…
-
1
votes2
answers4133
viewsQ: Angular 4 - Calling Component function through service
As Do, while in service, to call a function of the component that prompted this service?
-
0
votes1
answer39
viewsQ: Include components in different parts of the page
Suppose I have the following structure: <table> <tbody> </tbody> </table> <form> </form> The pages that inherit this template will define which rows and columns…
-
0
votes0
answers61
viewsQ: Angular 2 - Template?
In a structure like this: <header></header> <main> div1: <router-outlet></router-outlet> div2: <router-outlet></router-outlet> div3:…
-
0
votes1
answer522
viewsQ: Angular 2 - Component Creation (Tags)
How do I create components in Angular? I want my team to put an Ex TAG: <campoBusca></campoBusca> and on the screen is already printed a input all straight, with the Divs necessary, etc!…
-
1
votes1
answer1087
viewsQ: Laravel 5.4 - Send e-mail with text attached?
The case is simple: I need to generate a text on Laravel based on Array and then attach this text file with Attachments via Mail::to()!
-
0
votes3
answers261
viewsA: Take the value of the Jquery variable out of if
Friend, the problem is that your variable his is out of click function! Declare the variable his out of click context that works var his = 0; $("#passo_4").click(function(){ if($("#horario_ini_seg…
jqueryanswered Luiz Felipe 456 -
-2
votes3
answers1702
viewsA: Create button with border and gradient text
.MeuBotao { padding: 10px; border-radius: 4px; font-weight: 600; background-image: linear-gradient(to bottom, white, purple); } .MeuBotao h3 { font-size: 40px; background:…
-
0
votes0
answers80
viewsQ: Subistituir Requestcontext by Facescontext
I currently use the following functions which are from Primefaces: RequestContext.getCurrentInstance().update("ComponentTal") RequestContext.getCurrentInstance().execute("FuncaoJavaScript") How can…
-
0
votes1
answer168
viewsQ: Relative Position of the Table row
I have a table with 50 lines Of these only 10 are visible Added the css class "ux-select" to line 5 The code $('table tbody tr:visible.ux-select').index() will tell me what the row number in the…
-
1
votes2
answers28
viewsQ: CSS Selector - Run a loop from a particular loop item
Good morning. Let’s say I have a table with 100 rows, the more I’d like my each (Jquery) to start from line 15. Which Css selector should I use? Or Jquery has some resource for this? Thanks to all…
-
0
votes2
answers174
viewsQ: CSS - Tbody and TR with different measurements
How do I make my Tbody to be 100% tall and my TR to have n pixel size? occurs that when I have only one line, the line gets 100%, corresponding to Tbody, and I would like it to be thin! I could…
-
0
votes1
answer997
viewsQ: Logico Javascript Operator Error on JSF page
I have a JSF page where I use the primefaces. When I use the logic operator in my javascript functions, it displays this problem: the entity name must immediately follow the '&' in the entity…
-
0
votes1
answer80
viewsA: Primefaces 6.0 and 6.1 - Jquery error
The function . delegate() was discontinued in Jquery, but the Primefaces class used it in version 6.1 RC1, but now in version 6.1 RC2, this error has been corrected! More obituated to all.
-
0
votes1
answer80
viewsQ: Primefaces 6.0 and 6.1 - Jquery error
When including any Primefaces component in my HTML body, it raises this error: Uncaught Typeerror: N.delegate is not a Function. You know what would be? The error is in this second line of…
-
2
votes1
answer344
viewsQ: Primefaces - Select Datatable line via Jquery, Javascript or PF
How do I select a line from a Datatable, using Jquery, pure Javascript or the PF javascript command?
-
0
votes1
answer1100
viewsQ: Select Datatable Line via Javascript
How do I select a line from a Datatable via jQuery or pure Javascript?
-
0
votes4
answers182
viewsA: How can I get a specific snippet inside a string using PHP?
Explode function: http://php.net/manual/en/function.explode.php Count function: http://php.net/manual/en/function.count.php roughly, all that is not banner and . jpg are your numbers. Soon we could…
phpanswered Luiz Felipe 456 -
0
votes2
answers1024
viewsA: How to create a "template" for pages?
That is a very comprehensive question! There are several ways. In PHP, ASP, C# and other languages: Criar Includes Loading via ajax in javascript frameworks: Angular Ionic Laravel You can all work…
-
-2
votes2
answers506
viewsA: CSS - How I do this effect in the div of this site
Here’s what I wanted * {margin:0; padding: 0;} html, body { height:100%; } .header { width:100%; height:auto; min-height:100%; /* aqui é onde acontece a mágica, a propriedade height:auto e…
-
-3
votes2
answers506
viewsQ: CSS - How I do this effect in the div of this site
Galley, In the link below, the top of the site, that is, the header that is the background photo along with the menu, they occupy the whole screen of the browser, indifernete de ser pc, tablet ou…
-
0
votes0
answers430
viewsQ: Ionic2 - Download Images and Save to Gallery
You guys, simple doubt for you How do I download an image that be in a server and then save them in the device Gallery (IOS and Android). PS: I’m using Ionic 2 From now on I thank you all…
-
0
votes2
answers503
viewsQ: ionic2 - photo upload via server
Following guys. I have an application in Ionic 2. The action is simple: take a photo or select a photo from the gallery. So far so good. however, at the time of uploading, it will go on the server,…
-
0
votes1
answer86
viewsQ: Angularjs - Filter ng-repeat checkbox
Keeping in mind that I have an ng-repeat, how do I pick up only the items I marked in the checkbox?
-
1
votes1
answer85
viewsA: Angularjs - directives do not work via ajax
Here is what happened: i was doing everything else, everything else wrong! I was calling the main.php file via http.get(). What I have done: 1 - I transformed the . php files into . html as…
-
0
votes1
answer85
viewsQ: Angularjs - directives do not work via ajax
I have a page: index.php and the app.js. in my app I make a load for main.php which is the initial loading of the site. within the main he will bring select, div with ng-repeat, ng-source, etc.. But…
-
1
votes0
answers149
viewsQ: Phonegap plot Route
How do I plot a route through the Phonegap and follow the route so that at the end it tells me what my route and how many km, mts, etc I miss?
-
0
votes1
answer592
viewsQ: Click on a Google Map API marker and open a page
I’m making a website that will contain multiple bookmarks, but how to do so when clicking on the bookmark, rather than opening the default window with bookmark information, it directs to another…
-
-1
votes1
answer220
viewsQ: Application does not run with Visual Studio 2013
I made two small applications in Visual Studio 2013, which do the following: The first mounts the serial and saves that serial in the windows registry; The second reads key in windows registry. When…
-
0
votes2
answers230
viewsQ: Search with date range
In Mysql I have a table that has two DATE fields: data_inicial and data_final. In the System I have a Field (Textfield) where I type a date. This date does not need to be precise, but corresponds to…
-
0
votes1
answer136
viewsQ: How to make the menu go to the top using Bootstrap?
I see on many sites like this that at the start of the scrolling the Menu goes to the top and when it is at the top it is at its place of origin (as if it were floating). How I apply this effect?…
-
3
votes1
answer168
viewsQ: Mysql.Entity version compatible with Mysql 5.6
What versions of: Mysql.Data Mysql.Data.Entity EPH Compatible with Mysql version 5.6?
-
1
votes0
answers795
viewsQ: Locaweb Publishing Error - ASP.NET with Mysql
I published a site on Locaweb: . Net + Mysql + MVC 4 + EF6 For more details of the error: http://locvip.tempsite.ws/ Detail: wheel location normally. But when I published it occurs the following:…
-
1
votes2
answers231
viewsQ: EF 6 Code First: Decimal field gives error when trying to save
You guys, good morning. I have a class that has a decimal field where I keep the price. So far so good. When it is displayed in the /Edit/ page, also ta beauty. But here’s the problem: 1 - The MVC…
-
3
votes1
answer1027
viewsQ: Code First Migrations Mysql - Specify the '-Verbose' flag to view the SQL statements being Applied to the target database
I am creating a web application in C# and because of the hosting server, the database is in Mysql. Then I installed Mysql.Data.Entity, EF6, enabled Migrations, added the Migrations class, but when…
-
0
votes1
answer144
viewsQ: Jquery - For loop inside a DIV
You guys, good morning. Simple: I’m giving a For a div: <div class="Laço"> <div class="ItemLaco"></div> <div class="ItemLaco"></div> <div…
-
1
votes1
answer1626
viewsQ: C# decimal field in the form
Simple question: I have a currency decimal field on my model. It happens that when I insert a decimal value in the form field, it arrives as integer in the Controller: Example: Value of KM Wheelset:…
-
2
votes2
answers179
viewsQ: Photo saved in Directory does not appear in Solution Explorer
After a lot of pain, be able to save the photo in the directory and not in the bank. However it does appear on my tablet there in my Solution Explorer, more when opening the photo by windows explore…
-
2
votes1
answer2632
viewsQ: Bootstrap - Merge lines
How do I make Melclar two or more cells in Bootstrap? I’ll post the code: <div class="container"> <div class="row-fluid"> <div class="span4">4</div> <div…
-
3
votes1
answer943
viewsQ: MVC 5 and EF 6 Putting Form from another view
Keeps giving comment error null in this line: ViewBag.PostId = new SelectList(db.Posts, "PostId", "Titulo", comentario.PostId); Probably why you didn’t sing in the ModelState.IsValid. I’m doing a…
-
2
votes1
answer2497
viewsQ: Ckeditor with MVC5 and EF6
I put the Ckeditor in my project. It works fine, but when I click the button Save it returns Essee error: A possibly dangerous Request.Form value has been detected in the client (Content="<p>…
-
1
votes2
answers7317
viewsQ: How to create user with encryption password?
As I do in my ASP.Net MVC 5 and EF 6 application to save encrypted passwords in MD5 format when creating users?
-
3
votes1
answer68
viewsQ: Entityframework 6 - Load Model and its dependencies in Home
I have a college project where I decided to do a blog. Something very simple, author, post and comments. only these three. Well First I wanted to home of the project he carried the Posts (Articles)…