Skip to content
Hey, I'm
KRIS THAPA
  • Home
  • Why Me?
  • About Me
  • Contact Me
  • Services

Category: Web Development

CSS for mobile, iphone

August 16, 2011 admin Leave a comment

<link rel=”stylesheet” href=”iphone.css” media=”only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2)” /> OR <link media=”handheld, screen and (max-device-width:…

Continue Reading →

Posted in: Web Development

Truncation text, word, sentence

August 8, 2011 admin Leave a comment

Limiting or Truncating strings using PHP Truncation at word breaks Truncation at sentence breaks http://www.the-art-of-web.com/php/truncate/

Continue Reading →

Posted in: Web Development

simple but useful jquery functions

July 7, 2011 admin Leave a comment

<script type=”text/javascript”> jQuery(“.pageclass #pageid fieldset:first”).attr(“id”, “users-profile-core”); //add attribute like id in first jQuery(“.pageclass #pageid p:last”).addClass(“bottom”); //add class in last p…

Continue Reading →

Posted in: Web Development

Contact Form 7 – spam controller QUIZ

June 11, 2011 admin Leave a comment

<p>Please answer the following<br /> [quiz quiz-4711 class:quiz “1+1=?|2” “1+2=?|3” “1+3=?|4” “1+4=?|5” “1+5=?|6” “1+6=?|7” “1+7=?|8” “1+8=?|9” “2+1=?|3” “2+2=?|4” “2+3=?|5” “2+4=?|6” “2+5=?|7” “2+6=?|8”…

Continue Reading →

Posted in: Web Development, Wordpress

IE 7 div absolute position

December 12, 2010 admin Leave a comment

div#fixme { position: absolute; left: 0px; top: 0px; } body > div#fixme { position: fixed; }

Continue Reading →

Posted in: HTML/CSS, Web Development

IE Conditional Comments

admin Leave a comment

<!–[if IE]><p>You are using Internet Explorer.</p><![endif]–> <![if !IE]><p>You are not using Internet Explorer.</p><![endif]> <!–[if IE 7]><p>Welcome to Internet Explorer 7!</p><![endif]–>…

Continue Reading →

Posted in: HTML/CSS, Web Development

Change your default directory page using .htaccess

December 11, 2010 admin Leave a comment

DirectoryIndex  filename.html

Continue Reading →

Posted in: Web Development

Develop your own Zencart Template

December 10, 2010 admin Leave a comment

To create a basic custom zencart template we need to create following files: includes/languages/YOUR_TEMPLATE/english.php includes/languages/english/YOUR_TEMPLATE/index.php includes/languages/english/YOUR_TEMPLATE/meta_tags.php includes/languages/english/YOUR_TEMPLATE/header.php (to change the…

Continue Reading →

Posted in: Web Development, Zen-cart

Ajax/jquery Photo Gallery

December 7, 2010 admin Leave a comment

http://workshop.rs/projects/coin-slider/ http://css-tricks.com/examples/AnythingSlider/

Continue Reading →

Posted in: HTML/CSS, Web Development

Favicon Icon Generator

admin Leave a comment

Use this online tool to easily create a favicon (favorites icon) for your site. http://tools.dynamicdrive.com/favicon/

Continue Reading →

Posted in: Web Development

Post navigation

Page 2 of 2
← Previous 1 2

Recent Posts

  • Overlay a layer
  • How to add a color overlay to a background image?
  • Fancy Checkmark Icons

Recent Comments

  • Joy Gordon on How to hide PHP errors on your Joomla site?
  • Elmer Skafidas on How to hide PHP errors on your Joomla site?
  • Anissa Kjellsen on How to hide PHP errors on your Joomla site?
Copyright © 2026 Hey, I'm