Posted in Programming on Jul 17th, 2009
#tier2 li ul li a {z-index:100;text-decoration:none;}
#tier2, #tier2a, .storyMenu, #tier2 li ul, #tier2a li ul {padding:0; margin:0; list-style:none;}
#tier2 li ul, #tier2a li ul { display:none; padding:0; margin:0; position: absolute; top:21px; left:0;}
#tier2 li ul li, #tier2a li ul li {padding:0; margin:0}
#tier2 li, #tier2a li, .storyMenu li {background:#ffffff; position:relative; display: block; padding:0;}
.storyMenu li a, #tier2 li a, #tier2a [...]
Read Full Post »
Posted in Programming on Oct 11th, 2008
This is a good list of Wordpress Plugins called 14 days of plugins.
Read Full Post »
Posted in Programming on Oct 6th, 2008
When innerHTML isn’t Fast Enough has technique on using innerHTML in combination with DOM to improve speed for rendering in browsers.
Read Full Post »
Posted in Programming on Oct 3rd, 2008
This example shows all DIVs with classname more using Prototype $$ function.
Example 1
Example 2
Example 3
Show All
Read Full Post »
Posted in Programming on Oct 2nd, 2008
These are some really useful tips from Yahoo on improving your site performance.
Read Full Post »
Posted in Programming on Oct 2nd, 2008
function hide_department() { $('by_department').hide();}
Event.observe(document, 'focus', function(e){ hide_department() });
Event.observe(element, name, observer, [useCapture]);name could be: click, keypress, mousemove, focus, onblur, initialize, onblur, onfocus
Read Full Post »
Posted in Programming on Sep 30th, 2008
Wow.. the site is blazing fast. Wonder how they make it so fast. Probably using memcache?? Sometimes I wish someone would talk about how a site was built, etc so other developers can learn from them.
Read Full Post »
Posted in Programming on Sep 27th, 2008
{assign var='cols' value=0} {section name="outer" loop=$gallerylist}** LOOP **{assign var="cols" value=$cols+1}{if $cols eq 2}{assign var='cols' value=0} {/if}{/section}
Read Full Post »
Posted in Programming on Sep 23rd, 2008
function sortBulletin(obj) { YAHOO.util.Dom.removeClass(['newest','monthly','yearly','all'], "pill_active"); YAHOO.util.Dom.setStyle(['monthly_dropdown','yearly_dropdown','all_dropdown'], "display","none"); YAHOO.util.Dom.addClass(obj, "pill_active"); YAHOO.util.Dom.setStyle(obj+"_dropdown", "display", "block"); var pos = YAHOO.util.Dom.getXY(obj); YAHOO.util.Dom.setXY(obj+'_dropdown', [pos[0],pos[1]+25]); }
Read Full Post »
Posted in Programming on Sep 23rd, 2008
Yahoo! UI Library: Dom Collection shows how to attach a DIV to another DIV based on position of that other DIV.
Read Full Post »