Posts by Phellipe Lins • 1,261 points
40 posts
-
3
votes0
answers238
viewsQ: How to attach a file using Mandrill API?
Yo, yo, y'all! I’ve been trying for two days, but I haven’t succeeded yet. I know I’m close, but I need your help. I usually take a lot of Jobs with only fixed data (front-end). So I use the API of…
-
0
votes0
answers195
viewsQ: Sync issues when sharing objects with Factory and $watch
I am trying to make a list of places by neighborhood. This data comes from different Urls: www.example.com/api/lugares/bairro/1 www.example.com/api/lugares/bairro/2 the ID neighborhood is generated…
-
1
votes1
answer2186
viewsQ: How to filter, with angular, objects of a JSON by an id that belongs to another object within the array
My question is how can I filter objects from an array by comparing the id which is inside a "sub-object". Type: animais [ { id: 34, nome: baleia, categoria: { id: 2, nome: mamifero }, { id: 23,…
-
3
votes0
answers53
viewsQ: How to make three curved shadows with CSS in a rectangular element
I would like to make curved shadows on the left, right and bottom edges of a rectangular element. Knowing that I only have one :after and a :before, slightly I would use them to shadow the edges of…
cssasked Phellipe Lins 1,261 -
1
votes3
answers616
viewsQ: Carousel bootstrap with two items upright
The challenge is this: Make a Carousel, using the Bootstrap, which displays two items at a time, aligned vertically. Follows an outline of the idea: I found some examples of Carousel using multiple…
-
2
votes2
answers1260
viewsQ: Restart script after load() function
I wanted to know how to use my script inside the content that will be loaded by the function load(). The function: $(document).ready(function() { $('.submenu').click(function(event) {…
-
8
votes1
answer14926
viewsQ: Pointed Buttons and Text Balloons
I would like to know some alternatives to use some button'custom s and also the famous text balloon. Currently I use a <div id="container-button"></div> that inside has the <span…
-
0
votes1
answer436
viewsQ: Carousel or Cycle displaying 6 elements in grid format
In the HTML code that follows below, I have a listing of images within a container. I would like to limit the display of these images in a table of 2 lines and 3 columns and paginate to look better…
-
1
votes2
answers651
viewsQ: How to use onload on DIV elements?
I am set some similar functions for different pages on a website. So these functions are in the same file. When the JS file is loaded the functions $(function() { /*function1*/ }); and $(function()…
-
7
votes3
answers2143
viewsQ: How to let Divs self-adjusting vertically?
I’m having trouble trying to leave some divs self adjustable vertically. There is the space needed for the div stay exactly below the one above it, but it does not rise, there is an empty space…
-
1
votes1
answer704
viewsQ: Doubts about how Requirejs works
I am making an application that will consume some Twitter data. I am using the library recommended by API developers, as my application is only to consume API I use only Javascript and jQuery, so I…
-
1
votes0
answers34
viewsQ: How to apply Blur-like effects to images that work outside of Chrome?
When trying to apply the effect Blur in images, I had problems with some browsers, as you can see in the link below. BLUR EFFECT I wonder if there’s any effect that resembles Blur and that works in…
-
3
votes5
answers5334
viewsQ: How to convert datetime to short date Brazilian model
I have an object JSON that gives me an attribute datetime. However, I would like to display it in an abbreviated Brazilian format. Example 24 JUN 2014. JSON attribute : data { date: "2014-06-16…
-
0
votes1
answer72
viewsQ: Twitter API user_timeline request error
I’m having a hard time finding any material that explains how I use the Twitter API for take the most recent publications of a particular user and display them on my website. According to the…
-
5
votes1
answer5113
viewsQ: How to add HTML dynamic code snippets with Javascript/jQuery
Usually when we want to list data on front-end using the tags of back-end<%= %> or others. The stalemate I’ve come across now was: "How to do this in jQuery?". To explain better, I am…
-
5
votes1
answer2249
viewsQ: How to apply a Loading effect before loading the page?
Is there any way to use Javascript/jQuery to measure the loading of a page and display an image. GIF until it is loaded? I see examples, like Preloader CSS3, which use only CSS3, which makes me…
-
0
votes1
answer83
viewsQ: Toggle Animate() in Divs in the same position
I was able to do the effect of displaying a div, when hover, that is hidden and below the visible. However, the effect gets kind of "crazy" when I keep moving the mouse inside the container. Someone…
-
3
votes2
answers1980
viewsQ: Blur effect on different browsers
I’m trying to put a Blur Effect in some images of a page. From the first I saw that the Blur does not work (as far as I know) in all modern browsers. But since "Mission given is mission…
-
3
votes1
answer73
viewsQ: Disable page drag on a mobile device
I’m developing a page where we have a <input type="range" min="1" max="10" value="5">. Whenever I have to drag this input, If I miss the finger, I end up unintentionally dragging the full…
-
0
votes1
answer57
viewsQ: Unexpected character in Countdownjs
I am using a countdown (countdown) on my page. After some searches I found the Countdownjs. I was following this tutorial until I realized that even without changing anything in the code of the…
javascriptasked Phellipe Lins 1,261 -
5
votes2
answers3305
viewsQ: How to search images in Google with Javascript?
I am developing a web page where it was of interest of the project to display some images of Google, where these would be displayed from some significant name. I was reading something related and I…
-
5
votes1
answer6160
viewsQ: Capture data from Facebook users
I am trying to collect with JAVASCRIPT/JQUERY some data from specific users that are not part of my friends list. I’d like to capture dice as: likes, friends, posts and groups. I did some tests and…
-
2
votes3
answers379
viewsA: How to get the value of the user ID in Cgridview - Yii
I bypassed the situation in this way. However, I do not consider the question answered. <?php $this->widget('zii.widgets.grid.CGridView', array( 'id'=>'usuario-grid',…
-
0
votes3
answers379
viewsQ: How to get the value of the user ID in Cgridview - Yii
In place of {{ VALOR DO ID }} I’d like to put the ID of the respective user. Seeing that this is a Row of a Grid. <?php $this->widget('zii.widgets.grid.CGridView', array(…
-
2
votes2
answers579
viewsA: Loading View only (No Layout) - Yii Framework
I have succeeded with two amendments: 1º) change the address of load for load('/MyProject/index.php?r=usuario/admin'). where he accesses the UsuarioController looking for the function actionAdmin().…
-
1
votes2
answers579
viewsQ: Loading View only (No Layout) - Yii Framework
I’m customizing a website on Yii. And I’m having doubts about how to access a file that’s inside the directory protected/. I’m using a javascript function to load only the view of admin, but I think…
-
3
votes3
answers216
viewsQ: CSS selector for tables
I’m doing a refactoring in a code and there’s a CSS rule that’s changing the display of all tables. A specific table is visually broken because of this change. Since I haven’t seen all the code, I’m…
-
1
votes1
answer176
viewsQ: Problems creating media queries for Samsung Galaxy S4
I’m developing a responsive website and in it I set some CSS tags with media queries, but I still suffer with some devices, as an example, the Samsung Galaxy S4. I believe it’s because it contains…
-
4
votes1
answer483
viewsQ: Scope of variables within $.getJSON
The variable role receives a new value in each Loop, when she’s inside the $.getJSON it takes the second value of the array and changes no more. There are two console.log(); in the code, I put their…
-
2
votes1
answer194
viewsQ: How to access script control with Jekyllcms
I’m using the Jekyllcms to develop a CMS (Content Management System), but as I don’t know him very well and even after reading the documentation, I find it difficult to "hide" some data that I use…
-
2
votes1
answer1350
viewsQ: How to send emails using Javascript?
As all good Content Management System (CMS), is trivial a contact page. In mine is no different. However, I wanted to do it without having to use some other language and/ or technology, except…
-
8
votes2
answers4021
viewsQ: Cryptography in Javascript
On my site I use the Facebook API, through ACCESS_TOKEN. This 'key' of access to everything that the corresponding application can provide, that is, it is not feasible to leave it public. In view of…
-
4
votes1
answer265
viewsQ: Filter JSON from Facebook Graph Api Feed
The JSON that the Graph API returns from Feed of a page using the address "Graph.facebook.com/ID/feed? access_token=_ACCESS_TOKEN_" displays the Feed complete, but I just wanted the posts made by…
-
1
votes2
answers1647
viewsQ: How to get (in object) Facebook data?
I’m creating a Feed (dynamic content list) with the content of a Facebook group’s wall. I know there are some features that Facebook itself provides, such as the Social Plugin - Like Box. After a…
-
3
votes2
answers166
viewsQ: Customizing the Scroll of a div
As there are many resolutions from several different devices, I’m having a hard time displaying a feed list. Follows an image of how I think best to display such a DIV (list), in view that the page…
-
11
votes2
answers1395
viewsQ: Problem using 'Google Fonts'
I would like to use a Google source without needing Connection (internet). I saw that the @font-face has this power. Just download the source in one of the formats (I preferred the .EOT also…
-
5
votes2
answers2143
viewsQ: Take measurements of an element and play in variables? How to do?
Is there any way (using Sass maybe) to get the measurements (width and/or height) of already defined elements and store them in variables to use in calculations of other elements?…
-
0
votes3
answers3981
viewsA: Problem with Hover in CSS
I believe you have something overlaying your color attribute. Use the Browser Inspecter to see who is overriding your code. ***But before that, try using the class info_table in DIV who is inside…
-
4
votes4
answers51666
viewsQ: Responsive font-size depending on screen size
Can anyone explain/teach me how to make my text increase or decrease along with the screen dimension? I read a little about REM, but I didn’t quite understand. I don’t even know if that applies to…
-
1
votes2
answers848
viewsQ: How to adjust the height of sidebar elements?
I’m having this problem where something from "DIV Feed" is going beyond the size of your "parent DIV". I am willing to explain further the problem if necessary. HTML : <div class="container">…
cssasked Phellipe Lins 1,261