Ever wonder how to create an iframe that fills the entire height (and width) of a page? You probably tried writing something like: <iframe width="100%" height="100%"></iframe> and expected the iframe to fill up whatever it could. The width=100% does what you expected and fills up the entire width of the page, but the height just [...]
Source Code -> Iframe with 100% Height
by SANDO on 23. Aug, 2011 in CSS, JavaScript, Small Tips, Web development
HTML5 and pushState
by SANDO on 17. Jul, 2011 in HML5, JavaScript, jQuery
Nowadays JavaScript and more particularly AJAX is used in every type of web applications. The asynchronous data loading is great asset of AJAX but it has one drawback, the user can’t use back/forward buttons of the browser to navigate through different states of the page that has been updated through asynchronous methods. Web page [...]
Debugging with CSS – outline all elements
by SANDO on 26. Mar, 2011 in CSS, Small Tips
Sometimes document structure and layout could be very difficult and complex. To achieve some goals designers tend to use a lot of nested elements in their code and after that style them with CSS. What if you want to see all this elements and how they are located and related to each other. There is [...]
Rotate element with CSS3 and some tricks
by SANDO on 20. Mar, 2011 in CSS, Small Tips
I see many people are playing around the net with the new CSS3 features. The biggest problem is that some features are still not very well or at all adopted by some browsers. Since Microsoft had officially announced the IE6 countdown and it’s forthcoming death, designer and developers worldwide can relieve. But anyway in the [...]
JavaScript – First key from associative array
by SANDO on 20. Mar, 2011 in JavaScript, Small Tips
Working with arrays is very beneficial for every developer in every language. But in different languages some operations are done differently. Very good example is retrieving first key from an associative array in JavaScript. In PHP you could use “foreach“, “list“, “array_pop“, “array_slice“, etc. But in JavaScript we don’t have all that functions so we [...]
Generate radio grpoup with JHTML
by SANDO on 19. Mar, 2011 in Joomla, Small Tips
Joomla provides very useful class called JHTML that can be used to produce different HTML elements saving us time and code. The Joomla team has provided a very useful class loader method “_()” in which we can pass string for an element we would like to generate. Example of elements are: select.option select.genericlist select.option select.optgroup [...]
Htaccess – redirect domain to WWW
by SANDO on 19. Mar, 2011 in Small Tips
If you have a website for sure you have come to the point wondering how to redirect all visitors to the WWW part of the domain. This is small tip explaining in details the actual .htaccess redirect. Enough talking let’s see some code: Options +FollowSymlinks RewriteEngine on RewriteCond %{http_host} ^domain.com [NC] [...]
CakePHP – User authentication and registration
by SANDO on 19. Mar, 2011 in CakePHP, Plugins
Hello guys! This is my firs post so I’ll keep it short for now. I could say I am newbie with CakePHP framework. I’ve been working with it just for a couple of weeks so far but I think it’s awesome. It’s flexible, provides code generation, adopting MVC pattern, which definitely makes life easier. And [...]
Categories
- CakePHP (1)
- Plugins (1)
- CSS (3)
- HML5 (1)
- JavaScript (3)
- Joomla (1)
- jQuery (1)
- Small Tips (6)
- Web development (1)
Quotes
The sun does not shine for a few trees and flowers, but for the wide world’s joy.
— Henry Ward Beecher
-
CakePHP – User authentication and registration
19. Mar, 2011
-
Htaccess – redirect domain to WWW
19. Mar, 2011
-
HTML5 and pushState
17. Jul, 2011
-
Debugging with CSS – outline all elements
26. Mar, 2011
-
Generate radio grpoup with JHTML
19. Mar, 2011
-
Source Code -> Iframe with 100% Height
23. Aug, 2011
-
HTML5 and pushState
17. Jul, 2011
-
Debugging with CSS – outline all elements
26. Mar, 2011
-
Rotate element with CSS3 and some tricks
20. Mar, 2011
-
JavaScript – First key from associative array
20. Mar, 2011
-
samir: thanks for the tutorial any. any tutorial on addin...
-
Marna Leef: How long did it take you to research this work? A...
-
Gail Sleighter: After study a few of the blog posts on your websit...
-
magasin jouet: Excellent post. I was checking constantly this blo...
-
windows 8 themes: hmmm nice :) :) :)...
Blogroll
Source Tweets
- Check out this great #codecanyon item 'Infinity Gallery' http://t.co/N8tXSIYi 5 days ago
- That was fast @GitHub is back :) 2 months ago
- Sadly but @GitHub is #down hope they fix it till tomorrow because I have big project to work on 2 months ago
- "Take me down to MVC city, where the views are dumb and controllers are skinny" 2 months ago
- Oh man, #stackoverflow is down… I am wondering why... http://t.co/WdwnMrbG 3 months ago
