Tag: HTML

Blog

No library HTML+CSS+JS Confirm Dialog

Made an HTML+CSS+JS (JavaScript) confirm dialog today without using any external library. No jQuery!

HTML:

<a class="button button-success btn-show-confirm">Show confirm</a>
<div class="confirm dummy">
  <div class="contents">
    <div class="title">Confirm Message</div>
    <div class="message">Are you sure?</div>
    <div class="buttons">
      <a class="button button-success btn-yes">Yes</a>
      <a class="button 
Blog

CSS Disable Checbox

Today, I needed to disable checkbox using CSS only without any HTML attribute.
Here is the code:

HTML:

<input type="checkbox" checked="checked" />
<!-- using opacity -->
<input type="checkbox" checked="checked" />
<!-- using layer -->
<input type="checkbox" checked="checked" />

CSS:

input[type="checkbox"]:nth-child(2) 
Blog

Do you love jQuery? And, want a similar feature in PHP also to be able to select anything the jQuery way? Welcome to PHPQuery!

Do+you+love+jQuery-+And,+want+a+similar+feature+in+PHP+also+to+be+able+to+select+anything+the+jQuery+way-+Welcome+to+PHPQuery!

Isn’t it very easy to write javascript code using jQuery engine? I am sure that 95% people love it. And, I have heard that 5% people really do not like jQuery and they want to stick to core javascript methods …