Posts Tagged ‘html’
DotNetNuke Skins – ASCX vs HTML mode
I got a question yesterday from a designer who is unfamiliar with ASP.NET asking what the difference is between ASCX mode and HTML mode when developing skins and containers for DotNetNuke.
I thought it might be useful to the community if I answered this for everyone.
Republished by Blog Post Promoter
jQuery Expand/Collapse Using Head Tags
I’ve spent a good chunk of the last two days working on an interesting project for one of my clients that I think the rest of the jQuery community could benefit from.
The task started when my client came to me with an existing script that was being used in a DotNetNuke system to expand and collapse content under head tags that was produced by an article editing system similar to the Text/HTML module.
Dynamically Change class Attribute From ASP.NET
I recently received a question from another programmer I know who’s been using PHP prior to ASP.NET that made me think harder about a problem we’ve all had in ASP.NET. The basic problem is this:
How do you dynamically change the class of a hyperlink based on the page name so that the hyperlink that represents the current page is styled differently than all of the other hyperlinks on our screen? If you want you can substitute any other HTML element you want, but the problem remains the same.
Unique BODY tags per page
Last week I talked about a situation where the previous programmer had placed the body tag inside the ContentPlaceholder in order to allow for a different body tag on the page.
Since this is a project that I am actively involved in, I’ve been thinking about the easiest way to “fix” the code so that we can use it.
iTextSharp – HTML to PDF – Finishing Up
In the last post I mentioned there were a few topics we need to close up today. The two topics we’ve left undone are popping the attribute information off the stack when we hit a closing element and dealing with the paragraph gap that normally appears between paragraph elements.