Posts by Alexandre Lopes • 2,769 points
97 posts
-
2
votes2
answers143
viewsQ: JQuery problem of a MENU with two <ul> ’s
I’m having a problem with a menu. It turns out that when the person hovers the mouse on the link Attending, happens a dropdown, the menu appears because it is with display:none and when it passes…
-
-4
votes1
answer503
viewsQ: Because sometimes, when you add images to a page, if you mouse over it, does it move?
Because sometimes when we add some images on a page, some move and others don’t? That’s a problem browsers? Or the problem must be in the CSS? Why "damn" when you mouse over the image it moves? SEE…
-
0
votes1
answer581
viewsQ: How to control a SWF (Flash) player via Parameters <param> HTML?
I have a player for streaming de áudio and would like to make it easier to change server data (IP and Port). Download Currently I use the free software Swix to edit the data of Player. Data (IP and…
htmlasked Alexandre Lopes 2,769 -
2
votes2
answers11265
viewsQ: How to edit the CSS of an iframe?
I need to put a iFrame on my website using the following code: <iframe allowtransparency="true" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"…
cssasked Alexandre Lopes 2,769 -
3
votes2
answers807
viewsQ: How to remove a Meta Tag created by a Wordpress plugin?
How can I remove a meta tag in Wordpress? More precisely the meta tag generator created by Visual Composer. <meta name="generator" content="Powered by Visual Composer - drag and drop page builder…
wordpressasked Alexandre Lopes 2,769 -
3
votes2
answers4031
viewsQ: How to change the /wp-admin/ Wordpress directory? and how to change the Wordpress admin Urls?
I would like to change the directory name /wp-admin/ for example /admin/ in Wordpress, however I have no idea how to do this the right way. I see that this type of change is not very common. I would…
wordpressasked Alexandre Lopes 2,769 -
1
votes2
answers564
viewsQ: How to remove the "Wordpress" word from the <title> panel?
How can I remove the name "Wordpress" from the titles within the administrative panel? Ex: When you enter the Panel (Dashboard), all pages in the title are named Wordpress, how could I remove that…
wordpressasked Alexandre Lopes 2,769 -
1
votes1
answer310
viewsQ: How to restrict access to some Wordpress plugins?
I’m creating a website in Wordpress, but it has some plugins that even though being logged in as autor, the plugins appear in the menu at WP. Is there any plugin for wordpress that allows me to…
-
2
votes1
answer169
viewsQ: Display only comments made on author posts in Wordpress
By default Wordpress shows for all accounts all the comments the site has already received. I wish that when I logged in as Autor only showed comments made on posts from Autor. Behold: The comments…
wordpressasked Alexandre Lopes 2,769 -
3
votes2
answers1776
viewsQ: How to approve author posts in Wordpress?
I’m having a "plobleminha". Today I came across the need to add a function that is not native to Wordpress. Is the following: This site has several authors, I would like whenever a Autor post a…
wordpressasked Alexandre Lopes 2,769 -
4
votes4
answers3935
viewsQ: Automated tool to join multiple style sheets (CSS) into 1 and to join Scripts (JS) into 1 Sheet only
I searched the internet for ways to join Stylesheet CSS and Script Sheets JS in an automated way, however, I did not obtain good results. I own about 17 Style Sheets and 15 Scripts, if I do it…
-
2
votes2
answers1779
viewsQ: How to add a class to a <li> when the person is on the link page accessed?
I’m creating a website using PHP with includes for better maintenance, but I’m having a problem. If I only used HTML this problem would not be occurring, because as I am using includes for pull up…
-
8
votes3
answers2834
viewsA: Run action after 2 minutes without moving the mouse
Code adapted from @Rod $(function() { timeout = setTimeout(function() { window.location.href = "http://answall.com"; }, 120000); }); $(document).on('mousemove', function() { if (timeout !== null) {…
-
5
votes2
answers1924
viewsQ: How to pull content via AJAX from a site that has a menu header and a fixed audio player?
How can I create a website that uses AJAX for loading the pages ? What is the best way to do this without bugs occurring and that are really functional? I have plans to create some websites that…
-
1
votes2
answers522
viewsA: How to disable Godaddy server cache?
With .htaccess (which is recommended) First of all, create a file called .htaccess and send to the root of your site (public_html). Control the Cache Inside the file insert the following code: #5…
-
2
votes1
answer621
viewsQ: Increment and decrease value with slider (slider)
How can I create a flexible price list similar to this. Is there any Javascript/jQuery plugin to implement these functions, that I can customize it?…
-
2
votes3
answers4401
viewsQ: How to break lines when sending an email?
How do I break lines in an email that will be sent via PHP ? If I use <br/> It only works that the email arrives in the spam box. Part of PHP code: if(count($errors) == 0){ $user =…
phpasked Alexandre Lopes 2,769 -
3
votes2
answers1227
viewsQ: <div> that works like a <textarea> does not break line when it is sent
I’m with a comments plugin for WordPress who’s in a little trouble. It works that way: Is a <div> that works as if it were a <textarea>, only because it works like this, when the person…
-
1
votes4
answers107
viewsQ: How to use ' inside an array?
I’m facing a problem with an adaptation on functions.php of my theme Wordpress. What happens, I want to put: ':'(' => 'choro.png', Only it’s not possible by the second ' I tried to use: ':\'('…
-
0
votes2
answers57
viewsQ: How to edit or create new smileys in wordpress?
How do I create new ones smileys or edit existing ones? Which file are these settings? I already have the smileys now just need to create the codes Ex: (:feliz:) so they can show up, only I don’t…
wordpressasked Alexandre Lopes 2,769 -
1
votes2
answers958
viewsA: Mask wp-admin/wp-login with . htaccess
Yes it is possible! For this use the plugin Hide Login+ it serves precisely for this, with it you can create new Urls as www.meusite.com/login and it blocks access to other Urls such as /wp-login…
-
1
votes1
answer3083
viewsA: Wordpress plugin to create a visit counter (with text)?
I found a script PHP + TXT so there is no need for database. Link: http://www.codigofonte.net/scripts/php/contador/1352_jcr-contador-v1-0 I downloaded the script and sent it to the theme directory,…
-
0
votes1
answer3083
viewsQ: Wordpress plugin to create a visit counter (with text)?
How can I put a visit counter on my website Wordpress so that each access goes up +1 ? I tried to search for plugins, but I did not find any that showed only the number of accesses in text form,…
-
1
votes1
answer292
viewsQ: How to re-create a URL with Accept-Language + split ?
I have a code on PHP created by @Maia, it informs the browser language and returns with a redirecting. Code <?php $lang = $_SERVER['HTTP_ACCEPT_LANGUAGE']; header("Location:…
phpasked Alexandre Lopes 2,769 -
3
votes1
answer664
viewsQ: How to create redirects by country?
How can I create redirects by country? I mean, suppose I get a visitor from Mexico, then you’d have to redirect to meusite.com/mx/, already if I receive a visit from Brazil go to meusite.com/br/ or…
-
2
votes2
answers252
viewsQ: How to make <script></script> not appear in the HTML file. Only the text appears inside Document.write
I’m trying to insert some scripts of my WHMCS on a page HTML on my website, which returns a document.write(' Texto que irá aparecer ');, and the text contained within document.write is displayed on…
-
4
votes1
answer2114
viewsQ: How to change the URL of an image when the resolution is below 767px
I have a website that he’s responsive to. The problem is that the header has a blue background and a white logo. When the resolution is below 767px it changes the menu. Imagery: As it is on the…
-
4
votes2
answers13199
viewsQ: How to force cache cleanup on my visitors' browsers
I usually update the style sheet of my site (CSS) a lot. What happens is that my visitors see no difference. Is there a script or something that forces cleaning? Example: On the next access the…
-
1
votes1
answer333
viewsQ: How to install Imagemagick in windows 7 [ 32 bits ]?
How do I install and configure ImageMagick in the windows 7 [ 32 bits ], and how do I put the commands on it? In my case, I need to put the remote: $ mkdir -p resultado $ mogrify -path resultado…
asked Alexandre Lopes 2,769 -
2
votes3
answers621
viewsQ: Service to resize uploaded images to a Wordpress site
I have a Wordpress site which has the biggest headache to resize images, and I think a PHP script that resizes images is not the solution for me. Every post involves about 3 images, it is very…
-
3
votes1
answer94
viewsQ: How to make so that when a person copies something from my site, go along to the clipboard "source: meusite.com"?
I would like to make that when someone copies something from my site, automatically be added to the copied content the source, for example: source: meusite.com…
-
4
votes2
answers3776
viewsQ: How do you make an element invisible when the value is 0?
I am making a kind of "notification system" very simple in CSS. What I want is that when the number of notifications is (0) he stays with display:none;. I know a way I think it’s possible to do. Ex:…
cssasked Alexandre Lopes 2,769 -
2
votes2
answers12623
viewsQ: How to use a subdomain as if it were a domain
How can I create 2 subdomains via DNS? I need to create 1 for each server and use them as if it were a domain. I own 2 servers, one on BR and the other in the USA. What I want is to do this:…
dnsasked Alexandre Lopes 2,769 -
2
votes1
answer530
viewsQ: How to clean the Bootstrap stylesheet (CSS)?
I own a site that uses Bootstrap, however, in this site there are many classes and id’s that I don’t use. This makes my site very heavy for nothing. What can I do to delete all these useless classes…
-
3
votes5
answers5625
viewsA: URL friendly with . htaccess
The easiest and most practical way is this: <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^criacao-sites/?$ /criacao_de_sites_e_lojas_virtuais.php [NC,L] # Você pode adicionar quantas…
htaccessanswered Alexandre Lopes 2,769 -
4
votes1
answer213
viewsQ: How to increase the thickness of a text-shadow
It is possible to increase the thickness of a text-shadow ? Look at that one EXAMPLE in Jsfiddle Simply, it’s like I haven’t put one text-shadow, becomes invisible.…
cssasked Alexandre Lopes 2,769 -
5
votes4
answers9578
viewsA: What is the modern alternative to framesets?
Example with PHP This example is great, as well as being very easy to implement on your site, it is easy to maintain. iframes force the server a lot. You will have to create your page in PHP as you…
-
10
votes2
answers8320
viewsA: Redirect https website to http
Here it is in PHP as you wish: ( reply edited by @Bacco) <?php function ForceHTTP() { if ($_SERVER['HTTPS'] == "on") { $url = $_SERVER['SERVER_NAME']; $new_url = "http://" . $url .…
-
-2
votes1
answer4100
viewsQ: How to make an element responsive
I’m having problems with an element on my website, it gets normal on the computer, more on smaller resolutions (mobile phones), it doesn’t get responsive. Below are some prints: As it is in the…
cssasked Alexandre Lopes 2,769 -
2
votes2
answers1834
viewsQ: How to separate text icon in a <div>
I’m creating an element for my site (which is responsive), but I can’t leave the elements apart. Below are some prints: How are you: How I want it to stay: EXAMPLE - Jsfiddle…
-
0
votes2
answers680
viewsQ: How to create the fade effect on a link that uses Sprite?
I created a link with a transition effect, but no fade, but rather a background movement. HTML <a class="botao" href="#">Contrate agora</a> CSS .botao {…
-
4
votes3
answers228
viewsQ: How to do repeating background with sprites?
I was creating a button with background: made with a sprite, but it gets all wrong, I want it to look like this: Only he’s all fucked up, like this: My CSS: .botao {…
-
22
votes3
answers742
viewsQ: How to improve the performance of static files on a website?
My site has 10 sheets of styles (CSS) and 15 scripts (Javascript / jQuery), outside the images, this influences a lot in loading. In your opinion, what is the best way to make the site…
-
15
votes1
answer17504
viewsQ: How to smooth the scroll of a page?
How do you make the scroll (scroll bar) of a page smooth? And if you can, how to customize it. Example: http://themenectar.com/demo/salient/blog/…
-
5
votes1
answer276
viewsQ: How to integrate a select into a table?
I have a table. In Plano 1, I used the jQuery Heapbox plugin, but since I’m not good with Javascript, I didn’t know how to set it up, I would like the select heapbox in Plano 1 to have the same…
-
9
votes1
answer7577
viewsQ: How to customize the arrow of a select
I have a price list, it has a select for the person to choose the payment cycle as shown in the image: which I did with CSS: -webkit-appearance:none; background:#E9E9E9…
-
5
votes2
answers671
viewsQ: Select with transition in change with onchange
How to add a transition effect (fade) in a select with onchange, that when the object <div> change the same occurs a transition? Below follows a print table that was made: And this is the…