402 Posted Topics

Member Avatar for davy_yg

You could do this: $('#profile_picture').click(function (e) { toggleOptions($(".selector")); $('#profile_picture, .image_road').hide(); }); But theh you can't interact wth the profile picture anymore, because it wil set it to `display: none`, so you will have to be more specific how you want to hide it and how do you want it to …

Member Avatar for gentlemedia
0
352
Member Avatar for ramsiva
Member Avatar for gentlemedia
0
248
Member Avatar for Mauricio_5

In one of your CSS files you have `pointer-events: none` assigned to those inputs. Not sure why someone did that, but this make them not clickable/touchable and thus not fillable, so just remove the pointer-events properies and you're good. Here are the CSS blocks which are somwhere in http://landbankrealestate.com/wp-content/cache/wpfc-minified/11b1517ad7f8f66fbdcf632c640fc3eb/1511459389index.css. .wpestate_estate_property_design_agent …

Member Avatar for Mauricio_5
0
451
Member Avatar for davy_yg

Where is that `height: 600px` declaration for 'PC only'? In an external stylesheet or in the `<head>`? Why on earth are you using inline styles??? It's bad practice, so don't do it!!! That inline `height: auto`will override any `height` declarations for that `div` that are set in an external stylesheet …

Member Avatar for gentlemedia
0
347
Member Avatar for gentlemedia

I'm using the following to redirect http to https in my root directory htaccess file <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> But this seems not to work if I access directly sub directories (http://example.com/sub-directory/) unless I place this mod_rewrite in an htaccess file in …

Member Avatar for cereal
0
465
Member Avatar for davy_yg

Also you should use `$( document ).ready()` or even better place all your scripts before the closing `</body>` tag. Now you initilize tinymce while the HTML and thus the textarea hasn't been rendered yet by the browser.

Member Avatar for gentlemedia
-1
366
Member Avatar for davy_yg
Member Avatar for Hamsterking
Member Avatar for davy_yg

@ john_111 That article is about the transparent PNG fix we used to need in the past for Internet Explorer 6 and below. Edge supports alpha transparency, so there must be something else causing this. Edit: I also don't have Windows and I don't have my Virtual Machine up and …

Member Avatar for JamesCherrill
0
403
Member Avatar for davy_yg

> I am using the grid system. Since it only works in <div id="container"> while I need to use <section id="container"> to make the grid system works. This doesn't make any sense. An ID is an ID no matter what HTML tag it is. Also you made up HTML tags …

Member Avatar for pty
0
380
Member Avatar for gentlemedia

I'm using this snippet to calculate the sum of two table cells. var sum = 0; $('.amount').each(function(){ sum += parseFloat($(this).text()); }); $('.sum').text(sum); But when the sum is for example 40.00 it displays as 40 and as picky as I am, i want it to display as 40.00. So... what to …

Member Avatar for gentlemedia
1
298
Member Avatar for gentlemedia

To reduce the amount of threads/posts from new members that are here only to post (pointless) threads or posts just to have their signature with spammy URLs underneath it, is it not an idea that the 'Post signature' functionality is only available if a member have posted already a certain …

Member Avatar for rproffitt
4
432
Member Avatar for santhoshsocial
Member Avatar for skullscript

Is the page online somewhere? A link or posting the HTML and related CSS would be more useful then a screenshot.

Member Avatar for skullscript
0
343
Member Avatar for jim_20

If that is your website you would be Ammad Khan or maybe Harry Lee the CEO. Which of the two are you? :D

Member Avatar for santhoshsocial
-2
409
Member Avatar for davy_yg

Google ignores the keywords meta tag since 2009 for ranking, so putting your keywords in their won't do anything already for a long time. https://webmasters.googleblog.com/2009/09/google-does-not-use-keywords-meta-tag.html If you want to be found with for example 'web design jakarta' then you should include that phrase into you text on the page, in …

Member Avatar for Maksym_1
0
300
Member Avatar for micahp20

Spacing out things in the 'Meet the staff' section with the non breaking space (`&nbsp;`) is not how you handle this and that's why that layout breaks on smaller screens. <p style="margin-bottom: 0.0001pt; line-height: normal;"><strong>Lance Childress &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <strong>Micah …

Member Avatar for gentlemedia
0
265
Member Avatar for Jon_7

The issue is not the viewport meta tag, but it's that you're using tables for your layout. Tables for layout was a good solution, when there was no better alternative.... uhm, somewhat from 1995 till 2000 :) Nowadays we use them for what they're intended... to display data.

Member Avatar for gentlemedia
0
540
Member Avatar for SaroGFX

I see some nasty inline styles on that `p` tag and the negative `margin-left` of `210px` is the culprit here. <p style="margin-left:-210px;padding-top:10%;padding-right:130px;font-size:180%;margin-top:10px;text-align:justify;"> The RENARD Elite timepieces come with a 35.5 mm and 25.5 mm stainless steel case. The watches have a slightly domed crystal and a vertically brushed champagne coloured …

Member Avatar for pdsubbu
0
244
Member Avatar for gentlemedia

I have to do this: "the .htaccess file should allow the following directives" `DirectoryIndex` `Deny` `Allow` `Options` `Order` `AddHandler` `RewriteEngine` `RewriteBase` `RewriteCond` `RewriteRule` But I have no clue where to start with this. If I read about the first one for example https://httpd.apache.org/docs/2.4/mod/mod_dir.html then the default value is `DirectoryIndex index.html`which …

Member Avatar for gentlemedia
0
669
Member Avatar for UI

I agree with Rproffitt and also think you already answerd you're own questions. > Having to do a lot of guess work which part of the code does what and that is not a proper way to learn. The stuff you ask is quite complex, too detailed and cater a …

Member Avatar for UI
0
390
Member Avatar for idaryl

It's not sure if the OP adds that content with an Advanced Custom Field input in WP-admin. The OP could also use CSS for this, but this requires that the element has no nothing in it. Not even a blank space. .price:empty { display: none } https://css-tricks.com/almanac/selectors/e/empty/

Member Avatar for diafol
0
2K
Member Avatar for gentlemedia

I've enabled `allow_url_fopen` via MultiPHP INI Editor in cPanel, but if I check with `phpinfo()`it's still on 'Off'. Why's that? I've cleared my cache.

Member Avatar for gentlemedia
0
1K
Member Avatar for Brian_28

There's also Epic browser which is basically Chrome, but then on steroids regarding privacy & security. https://www.epicbrowser.com/

Member Avatar for gentlemedia
-1
329
Member Avatar for gentlemedia

Hey guys, I'm trying to change this password, because I don't know the password to login to my VPS (I've never had to set one as far as I know). Antway... I'm following the steps from these tut https://www.liberiangeek.net/2014/09/reset-forgotten-root-password-centos-7-servers/ After the last step `passwd root` I get the message: Can't …

Member Avatar for gentlemedia
0
612
Member Avatar for Stefce

This is a way you could do it. Give the following tag a class for example `video` `<div class="col-lg-8 col-md-offset-2 text-center video">` Add this to your custom CSS, but adjust the `left` and `right` values untill your satisfied with the positioning and instead of `px` you're also probably better of …

Member Avatar for Damhart
0
458
Member Avatar for gentlemedia

I need to configure a server for the CS-Cart Multi-vendor software (http://docs.cs-cart.com/4.6.x/install/system_requirements.html) and if I check things with `phpinfo()`there's no php.ini file. It shows the path where it should be in, but there's no file. `Configuration File (php.ini) Path /etc/php70` `Loaded Configuration File (none)` I don't see this directory either …

Member Avatar for cereal
0
754
Member Avatar for Irfan_9

Just ditch the tables that you use for layout and use proper tags. You can start with div tags. I will not say that that will solve your problem, but tables were not meant for layouts. Not in 1995 and not in 2017. The HTML structure you have now is …

Member Avatar for gentlemedia
0
225
Member Avatar for SimonIoa

Did you check out https://quilljs.com/ / https://github.com/quilljs/quill/ ?

Member Avatar for SimonIoa
0
3K
Member Avatar for davy_yg

+1 for the mention of Web Speech API. Native browser support is still quite wonky, http://caniuse.com/#feat=speech-recognition ...but there's a Web Component wrapper using Polymer. http://zenorocha.github.io/voice-elements/

Member Avatar for ddanbe
0
908
Member Avatar for Stefce

I'm not really into Bootstrap, but looking at the docs and the demo there, the page should not refresh/reload when clicking on the button to launch the modal. https://v4-alpha.getbootstrap.com/components/modal/#live-demo

Member Avatar for Stefce
0
304
Member Avatar for peace_coder

I asume your CSS is in that `stylesheet.css`, so then your path to that image should be like this. body { background-image: url("../images/p3.jpg"); }

Member Avatar for gentlemedia
-1
362
Member Avatar for patk570

Knowing all the CSS there is, won't make your My Account section nice looking. You need at least an eye for good UI design to make it look nice. Do you have that? If you dont, you can also search for a nice Bootstrap UI kit and try to implement …

Member Avatar for patk570
0
206
Member Avatar for david_105

I think TPL stands for template file. I had to work in the past on an OpenCart webshop and that whole thing was build with` .tpl` files, but it was just PHP & HTML inside of these files.

Member Avatar for diafol
-1
274
Member Avatar for peace_coder

You say it's a Wordpress site, so I asume you can edit that title and link via the WP-admin instead of your code editor. WordPress is after all a content management system.

Member Avatar for diafol
0
399
Member Avatar for SimonIoa

I have no idea why you want this, but do you mean something like this (done with a CSS3 gradient)? https://codepen.io/gentlemedia/pen/JNwYzr

Member Avatar for SimonIoa
0
288
Member Avatar for SimonIoa

This has already been asked by another member https://www.daniweb.com/programming/web-development/threads/507272/open-mobile-camera-through-web-browser

Member Avatar for gentlemedia
0
1K
Member Avatar for Latrell_vie

I don't know if you're using a child theme, but if you do (and you should) then you should make a copy of header.php and place this copy in your child theme directory. In this header.php file you make your edits or additions such as your img src. Also place …

Member Avatar for rubberman
0
509
Member Avatar for david_105

Nobody has issues with posting code (as far as I know). So what are you using (browser/device, OS version, etcetera)? And how are you trying to post code?

Member Avatar for diafol
0
129
Member Avatar for Stefce

You'll need a wrapper with something like PhoneGap or Cordova. You can't do this yet at the moment with HTML5. They're still workiong on a HTML5 device API. https://www.w3.org/2009/dap/ https://www.w3.org/TR/image-capture/

Member Avatar for rproffitt
0
7K
Member Avatar for phphp

In order to use `oveflow: auto`you have to set an explicit `height`on `#content`. It doesn't do anything if you use `max-height`and/or `min-height` (I'm even not sure what you're trying to achieve with those). Thus if you set `height: calc(100% - 250px)` on `#content` you will get the scrollbar.

Member Avatar for gentlemedia
0
267
Member Avatar for UI

I get this and it's a marketing technique and is used instead of giving an e-book or any other download totally for free, users/visitors have to share/tweet the free product before they can download it There are several services which offer this already such as https://www.paywithapost.de/ which covers not only …

Member Avatar for diafol
0
1K
Member Avatar for esedee

Look into the CSS property `position: fixed` @RudyM - don't you think it's an overkill to use bootstrap to solve the OP's problem?

Member Avatar for diafol
0
418
Member Avatar for phphp

@rproffitt Be careful with the Web of Trust extension. I used it as well for a long time untill they've been caught selling their users' data to third parties. https://www.onlinethreatalerts.com/article/2016/11/10/web-of-trust-wot-caught-selling-their-users-data-they-collected-via-their-web-browser-extension-to-third-parties/ http://www.ghacks.net/2016/11/05/mozilla-and-google-remove-wot-extension/

Member Avatar for Josh Ross
0
405
Member Avatar for UI

Try it with another URL, because as far as I know you can't load google.com in an iframe due to a response header `X-Frame-Options: SAMEORIGIN` that Google sends to avoid clickjacking. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

Member Avatar for diafol
0
2K
Member Avatar for Daron_1

Isn't this some kind of school assignment? Anyway. Ofcourse it's hard to compare by looking at your HTML & CSS and the image attached, so I've pasted the HTML & CSS in a pen (which you also could have done) to see what it looked like. But... that's quite a …

Member Avatar for gentlemedia
0
288
Member Avatar for SimonIoa

How do you want to show that 'foreground' which I assume you mean an overlay. On page load, on click or any other event?

Member Avatar for SimonIoa
0
346
Member Avatar for Serge_1

Leading can be set with the [line-height](https://css-tricks.com/almanac/properties/l/line-height/) property and for kerning and tracking you have [letter-spacing](https://css-tricks.com/almanac/properties/l/letter-spacing/). But the letter you can't use on individual letters. For that you have to use some javascript such as [lettering.js](http://letteringjs.com/) that wraps each letter (of your headings and sub headings of course) in a …

Member Avatar for gentlemedia
0
172
Member Avatar for gentlemedia

I have an issue with what seemed a simple task, but I'm having a brain farth, so it's not :) I count child elements with `length`and add `+1` on top of that length. This works fine and I store that in a var `$trackCount` $trackCount = $carousel.find('.owl-item').length +1; Now I …

Member Avatar for diafol
0
337
Member Avatar for phphp

@diafol - he will get then 2 scrollbars. OP - I asume you want a header at the top and a footer at the bottom and the space inbetween is for the content which gets a scrollbar when it overflows. The reason why your footer is invisble (off-screen) is because …

Member Avatar for diafol
0
248

The End.