Skip to content
Archive of posts tagged HTML

Dynamically Adding JavaScript To Your ASP.NET Master Page From A Child Page

A common challenge when working with ASP.NET master pages is how to dynamically add JavaScript that is relevant to a specific child page.
In other words, maybe your site has 10 child pages that share one master page / template. One of them is, let’s say, a contact us / directions page, and on that page, [...]

Grouping Your WordPress Blog Comments By Type: Comments, Trackbacks And Pingbacks

First, my apologies for the extended period of time off I took from this blog. There’s no great scandal behind the break I took; my health and humor are just fine. As Technorati notes, somewhere around 95 percent of blogs haven’t been updated in three months; I just kind of fell into that groove. But [...]

Dynamically Changing Your Child Page Titles With ASP.NET Master Pages

The primary benefit of ASP.NET master pages is the ability to apply code, themes and templates to child page content. But for some reason, Microsoft did not build in an easy way to concatenate a child page’s title to the master page title.
Consider, for example, dougv.net, my ASP.NET demo site. I want it to take [...]

How I Code On This Blog: Elegance Vs. Transparency

My recent comment exchange with Scriptar has prodded me to post an explanation of how I code on this blog.
I view the code I post here as having two priorities: elegance and transparency, weighted slightly more toward elegance.
What I mean is that most importantly, the code I post should be as simple, compact and [...]

Using jQuery To Show A Form Over A Reduced-Opacity Image

It’s an awful thing, waiting for a question at Yahoo! Answers that would be fun to discuss as a blog entry. There is an awful lot of chaff to be sorted before one finds such wheat, and even then, sometimes the supposed grains turn out to be mouse turds.
Consider the following:
How would this be done? [...]