• Member Avatar for gentlemedia
    gentlemedia

    Began Watching how to use HTML5 history api or history.js with ajax loading pages

    i have a music site where i used ajax with server side php to load pages dynamically to prevent reload. this function works with different directories that are contains pages …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in how to use HTML5 history api or history.js with ajax loading pages

    Here's another one which polyfills all the way down to IE6 (as hashbang URLs) if you want. https://github.com/devote/HTML5-History-API Demo: http://docs.spb-piksel.ru/demos/history/
  • Member Avatar for gentlemedia
    gentlemedia

    Gave Reputation to cpsi in HTML Code For Web Design

    You can laern html code from youtube.
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching liquid coroesel bootstrap

    Hello, I am trying to create carousel that is liquid (with bootstrap): index.php <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Home</title> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <script src="js/jquery.min.js" type="text/javascript"></script> …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in liquid coroesel bootstrap

    div `#icons` can never reach the full width of the browser window, because it's placed in a div that has a width of 1000px, so div `#icons` will also get …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching How to block "bot*" bot via .htaccess

    Hi, I have the following entry in my Awstats file: Unknown robot (identified by 'bot*') How can I block this bot? I tried the following separately but none of them …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in How to block "bot*" bot via .htaccess

    There's a module to block bad bots. You might want to try something like this: Options All -Indexes RewriteEngine on <IfModule mod_setenvif.c> SetEnvIfNoCase User-Agent "^bot.*" bad_bot <Limit GET POST PUT> …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in horizontal scretch

    Diafol gave you already the advise to start learnng HTML & CSS, because you reaaly have to. There are too many things wrong in that HTML of yours. Learn to …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching launch a modal conatct form directly

    I would like to know how to create a custom link on any of my website page to launch directly this modal contact form. thanks in advance. [Click Here](http://www.elated.com/articles/slick-ajax-contact-form-jquery-php/)
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in launch a modal conatct form directly

    It's a tutorial with step by step explanation how to create that and you can download the demo files. What don't you get?
  • Member Avatar for gentlemedia
    gentlemedia

    Marked Solved Status for toggleClass() on parent w/ jQuery

    I'm trying by clicking on a `button` to toggle a class on a parent element which is 5 levels higher, so I though that this would do the trick: $('.btn-list').click(function() …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in toggleClass() on parent w/ jQuery

    I took the function out of the document ready function and now it toggles the class properly. Kudos to myself... do I also get rewarded by solving my own questions? …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in toggleClass() on parent w/ jQuery

    I replicated the situaion in a [pen](http://codepen.io/gentlemedia/full/PqjWqa/) and there it toggles the class on the parent, so there's a conflict with something else on my page.
  • Member Avatar for gentlemedia
    gentlemedia

    Edited toggleClass() on parent w/ jQuery

    I'm trying by clicking on a `button` to toggle a class on a parent element which is 5 levels higher, so I though that this would do the trick: $('.btn-list').click(function() …
  • Member Avatar for gentlemedia
    gentlemedia

    Created toggleClass() on parent w/ jQuery

    I'm trying by clicking on a `button` to toggle a class on a parent element which is 5 levels higher, so I though that this would do the trick: $('.btn-list').click(function() …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching toggleClass() on parent w/ jQuery

    I'm trying by clicking on a `button` to toggle a class on a parent element which is 5 levels higher, so I though that this would do the trick: $('.btn-list').click(function() …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching horizontal scretch

    Hello, I am trying to create a horizontal stretch website: I thought width: auto already scretch the width horizontal fully. but this is not the case. I wonder why? about.php …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in horizontal scretch

    You're using bootstrap responsive, but you drop in divisions (divs) with fixed (pixel based) widths and heights (with inline styles, which is also a terrible thing to do). One of …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Correctly align backgrounds and images

    That HTML became quite a mess. There's a lot going wrong in there. * There's no `<head>` tag * If you use a method like this to preload your images, …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Correctly align backgrounds and images

    Don't use `&nbsp` or `<br>` to space out your elements. Use the CSS properties margin and/or padding for this. Everything presentational should be handled through CSS. I don't know exactly …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Background video controls don't work

    > just keen to use youtube because it normally solves so many of those pesky video problems I know what you're saying and 3 years ago that was a fact, …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Background video controls don't work

    Hi I have a wordpress site. We want a video in the background. I have done this like so: <?php if(is_page('homepage')){ ?> <div id="video_background_video_0" style="z-index: 0; position: absolute; top: 0px; …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Background video controls don't work

    If you use the HTML5 video tag instead of loading a youtube vid into an iframe you can have your own control buttons placed ontop of the video, especially the …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Correctly align backgrounds and images

    Just use your image as a background image via CSS, maybe directly on the wrapper of that slider or create a new wrap element (div tag / division) for it …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Jquery gallery

    > What about vertical spacing between paragraphy. Wouldn't it be funny if I have use css? Pargraph tags and all the other HTML tags and elements as well has by …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Correctly align backgrounds and images

    > so what you suggesting is that I slice my background image to pieces No, that is not necessary, because you can create that design/layout fully with CSS. No need …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Correctly align backgrounds and images

    You will have to define first the building blocks (HTML elements and/or tags), so something like this: wrapper for layout to center it on the page --> `<body>` tag (it's …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Correctly align backgrounds and images

    Hi Dw. I'm not a pro in web design and I've used CorelDraw to draw a website background which is a web page centered image which the web contents will …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Correctly align backgrounds and images

    The problem lies in the fact that you dropped in what is supposed to be your layout created with HTML tags & styled with CSS as a backgroud image. You …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Highlight radio option that has been selected

    Right so as the title says im trying to show the selected option from my radio type to be highlighted. I know this can be done with css as it …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Highlight radio option that has been selected

    So if I'm right then in the HTML output/source order the `label` element is before the `input` tag? Like that you can't select the label with CSS. Either place the …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching DMS - Development

    I would like to develop a web-based Disaster Management System but don't know where to start. Possible features may include: * Situation Awareness * Missing Person Registration * GIS (or …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in DMS - Development

    What are your skills?
  • Member Avatar for gentlemedia
    gentlemedia

    Gave Reputation to diafol in Jquery gallery

    >I know how to integrate simple jQuery plugins and also already have the basic understand of HTML & CSS C'mon davy - you do not have a basic understanding of …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching How to use same <div class="container"> twice on same page

    Dear iam new in PHP , i have downloaded a free code template which has a <div class="container"> with heading <h2>Featured Projects</h2> it show the featured pictures i want the …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in How to use same <div class="container"> twice on same page

    The HTML alone doesn't tell anything. We need to see at least the CSS with it, but I (can't speak for others) prefer to see the whole page pnline somewhere. …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Jquery gallery

    It's pretty much copy/paste what you have to do and fill it with your content/items and try to understand what you copy/paste, so you learn from it. It might be …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in CSS-Masks Argghh

    Can you post your page online somewhere?
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Jquery gallery

    And it's more likely you want to filter the portfolio items with Isotope instead of to sort them.
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in include header php and html head

    To give you an example what should **only** be in `header.php` if you want to include your menu/navigation on all your pages. <nav role="navigation"> <a href="home.php"><img src="img/logo.svg" alt="logo" /></a> <ul> …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Image Tag with overlapping images for an image gallery

    Here's the full code of that demo. Apologies for the unreadability. I did indent the code, but for some reason it doesn't show up fully indented. <!doctype html> <html> <head> …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching CSS-Masks Argghh

    I've been trying to get CSS-Mask to work. I've tried PNG(24/32),SVG & GIF with no results ? background-image:url("/wdp/images/grid.png"); -webkit-mask:url("/wdp/images/x320svg-mask.svg") top alpha;
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in CSS-Masks Argghh

    It should be `-webkit-mask-image`.
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Jquery gallery

    I explained and showed you already how.
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Image Tag with overlapping images for an image gallery

    With jQuery you can do something like this: $(function() { $('img').mouseenter(function() { $(this).addClass('active').siblings().removeClass('active') }); }); The `.active` class has the higher z-index in your CSS. Little demo: http://cssdeck.com/labs/full/jwprgxso
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Image Tag with overlapping images for an image gallery

    Hi, I have several image tags overlapping using css and am able to use hover to make the one selected move to the top of he pile. #gallery img{ float: …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Image Tag with overlapping images for an image gallery

    When do you want the active (hovered) image stay on top? I mean if you take of the cursor of the image, it will go back to it's original state …
  • Member Avatar for gentlemedia
    gentlemedia

    Began Watching Which one is more important either Keyword or Brand?

    This is my inquiry on when I'm going to take a domain name for my business. What do you think a keyword based domain name best for getting the Google …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in Which one is more important either Keyword or Brand?

    It depends... like with a lot of things :) If you still need to get your name out there, in other words if your unknown to the mass, then your …
  • Member Avatar for gentlemedia
    gentlemedia

    Replied To a Post in The audio element wont play

    Aha... yeah, that rule is also in normalize.css http://necolas.github.io/normalize.css/

The End.