• Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Changing style color

    `$('navbar-inverse')` should be `$('.navbar-inverse')`
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Changing style color

    Why are you using now both methods (Cereal's and mine) in your jQuery function. Delete all the $('link[rel=stylesheet][title=colors]').attr('href', 'bootstrap-3.3.5/css/custom.css'); Also to be sure... do you call for the jQuery library …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Changing style color

    @cereal - Oh well... now he can choose. But it seemed Davy got totally lost with it (again) :) Oh... you can indeed select on attributes, but it's slower and …
  • Member Avatar for gentlemedia
    gentlemedia

    Gave Reputation to cereal in Changing style color

    **@gentlemedia** I completely agree with you, for me it's better to work with classes as suggested by you and diafol in previous posts. I went ahead with OP requests to …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Changing style color

    `[title=colors]` I asume he had to change 'colors' to 'red', 'brown', 'green', etc. But as mentioned by others it's quicker to load the styles if all the color styles are …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Slider2

    Of course it works! And looking at the source code of that slider page of yours, I see you didn't added the option in the function. You have this: <script> …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Changing style color

    Cereal is right... your paths to the CSS files are wrong. Should be this: `href="/Oke/css/default.css"` or this (no absolute, but a relative path): `href="css/default.css"` And the same goes for the …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Slider2

    No, Pritaeas meant there is an error in your function. Compare yours with my example and spot the difference! And your slider is the BXslider by the way hence the …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Slider2

    Hello, I would like to erase the numbers list 1-4 in this sliders (Any clue how to ?) : http://www.innovation.web.id/slider2/ slider2/index.html <html> <head> <!-- jQuery library (served from Google) --> …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Slider2

    Or set 'pager' to 'false'. $('.bxslider').bxSlider({ pager: false }); http://bxslider.com/options#pager
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Image resizes

    OK, I have a Image that I want to resize when the Browser is made smaller. This will also be key when the person viewing the site on a smaller …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Image resizes

    All you have to do is place your img tag in the HTML without the width and height attributes <img src="image.jpg" alt="" /> Your CSS will just be like this: …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching How to handle removing parallax for mobile

    I've tried several ways to attempt to disable parallax scrolling when the window is resized below a certain size but have been unsuccessful. I've tried if else statements, self invoking …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in How to handle removing parallax for mobile

    Hard to tell without seeing any code. Do you initialize the function also on `.resize()`?
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching pseudo element as html tag ?

    How would one write a pseudo:after css element as a HTML tag place it specifically in the mark-up then create a css rule all at the start of the loading …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in pseudo element as html tag ?

    I've re-read this thread numerous times and still trying to get my head around the thing that you want to do with this. Pseudo elements are indeed not injected into …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Changing style color

    Hello, I would like to change colour style by using the navigation menu. Any clue how to do this by changing the bootstrap custom css whenever I click the Style …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Changing style color

    Here's a nice 'pure CSS Style Switcher' tutorial using radio buttons (:checked) http://www.sitepoint.com/building-style-switcher-with-pure-css-using-checked/
  • Member Avatar for gentlemedia
    gentlemedia

    Marked Solved Status for Getting the right path with PHP

    I'm trying to get the right path and so far I have this which kind of works, but not if the file is in a sub directory. These links I …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Getting the right path with PHP

    Ok, I got it fixed! I've used a config.php which sits in the 'projects' directory and has `<?php define('PUBLIC_URI', '/projects/ecwc/concept/' ); ?>` in it. I then include it on every …
  • Member Avatar for gentlemedia
    gentlemedia

    Gave Reputation to edbr in Getting the right path with PHP

    $_SERVER['DOCUMENT_URI']. will echo the directory you are in so it will always cause a problem. is this not ok or is it interfering with your .htaccess somehow? ` <ul> <li><a …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Getting the right path with PHP

    Hi Diafol, I don't have a config file setup... should I? I've tried your method by including it at the top of every page like: `<?php define('PUBLIC', '/projects/ecwc/concept/' ); ?>` …
  • Member Avatar for gentlemedia
    gentlemedia

    Edited Getting the right path with PHP

    I'm trying to get the right path and so far I have this which kind of works, but not if the file is in a sub directory. These links I …
  • Member Avatar for gentlemedia
    gentlemedia

    Edited Getting the right path with PHP

    I'm trying to get the right path and so far I have this which kind of works, but not if the file is in a sub directory. These links I …
  • Member Avatar for gentlemedia
    gentlemedia

    Edited Getting the right path with PHP

    I'm trying to get the right path and so far I have this which kind of works, but not if the file is in a sub directory. These links I …
  • Member Avatar for gentlemedia
    gentlemedia

    Edited Getting the right path with PHP

    I'm trying to get the right path and so far I have this which kind of works, but not if the file is in a sub directory. These links I …
  • Member Avatar for gentlemedia
    gentlemedia

    Created Getting the right path with PHP

    I'm trying to get the right path and so far I have this which kind of works, but not if the file is in a sub directory. These links I …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Getting the right path with PHP

    I'm trying to get the right path and so far I have this which kind of works, but not if the file is in a sub directory. These links I …
  • Member Avatar for gentlemedia
    gentlemedia

    Marked Solved Status for Changing root directory with htaccess

    Hi guys & dolls, I'm working on a website locally with MAMP and the directory tree is the same then that of the dev directory on my web server. `projects …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Changing root directory with htaccess

    I will close this thread by marking it as solved, because the real issue has nothing to do with .htaccess. Would be handy to have an option to close a …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Changing root directory with htaccess

    Thanks Cereal, but I was totally wrong witn my previous thinking. I just need to look for the solution in PHP and have now something like this with my paths: …
  • Member Avatar for gentlemedia
    gentlemedia

    Edited Changing root directory with htaccess

    Hi guys & dolls, I'm working on a website locally with MAMP and the directory tree is the same then that of the dev directory on my web server. `projects …
  • Member Avatar for gentlemedia
    gentlemedia

    Created Changing root directory with htaccess

    Hi guys & dolls, I'm working on a website locally with MAMP and the directory tree is the same then that of the dev directory on my web server. `projects …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Changing root directory with htaccess

    Hi guys & dolls, I'm working on a website locally with MAMP and the directory tree is the same then that of the dev directory on my web server. `projects …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching How to design like this picture

    Please give any idea
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in How to design like this picture

    or just something like this; HTML: <div> <img src="icon-1.gif" alt="Icon 1" /> <h2>Fully Responsive</h2> <p>text the bla the bla</p> </div> <div> <img src="icon-2.gif" alt="Icon 2" /> <h2>HTML5 &amp; CSS3</h2> <p>text …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Bootstrap for Product Category

    Hello, I would like to include bootstrap for both desktop and mobile phone for product category: When I check it once it only works in desktop if I only use …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Bootstrap for Product Category

    Why are you adding your own div tags with fixed widths. That's going to lead into layout issues as you've noticed. You built wilt Bootstrap so stick to its grid …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Jquery for dropdown textbox

    Put the jQuery function before the closing body tag or wrap it in a document ready.
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Jquery for dropdown textbox

    I don't know why you've pasted the snippet 3 times in here, but it's a jQuery function so dou you load the jQuery library on the page as well?
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Jquery for dropdown textbox

    Hello, I would like to create FAQ with a dropdown text if I click the > and it should open a new text sentence right underneath it. Could anyone teach …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Jquery for dropdown textbox

    https://www.google.com/#q=show/hide+faq+with+jquery
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching tables and CSS

    In the page below if the screen is to small or is resized it causes the data in the table cells to be out of sight. I would either like …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in tables and CSS

    Here are some solutions that deal with tables on small screens, but each with its own pros and cons. Pick 'n choose! https://bradfrost.github.io/this-is-responsive/patterns.html#tables
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching How do i stack backgrounds on top of each other ?

    I want my body tag to be in vertical italian flag color therefor i need color green to cover 33% of the screen , then i need color white to …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in How do i stack backgrounds on top of each other ?

    Here's another method which works all the way down to IE8 (in case you need to for some obscure reason) :) body, html { height: 100%; } body { position: …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Valid HTML5 code

    Hello, I would like to check if my HTML code is valid for international standard or not. Is there any machines that can check that? Evenif there is no error …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Valid HTML5 code

    > Is <center> element obsolete? This has been told to you numerous times here on Daniweb, but you don't listen!
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Html5/css specific order of sections ?

    Hello & Thanks , In my code below , why is it the Html code that the <div class="middle"> is specified BEFORE the <aside class="left-sidebar"> and the <aside class="right-sidebar"> ? …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Html5/css specific order of sections ?

    You can position elements with CSS wherever you want. The (html) source order of your elements does not has to be the same order visually. In your case the CSS …

The End.