September 21, 2007
@ 12:21 PM

A number of blogs incorporate scrolling blocks of text in their blog posts. This helps keep things organized and neat in the post.

The last time I needed to do this I used JavaScript, but since a lot of users turn scripting off for security reasons, I looked around and found a way to do it with good old CSS.

<div style="overflow:auto; height: 200px; width: 300px;>
<p>Some text to scroll around with.</p>
</div>

See it in action below:

 

Public Function GetClosedCount() As Long

 
        Dim oInboxAgenda As WFXTENDERLib.WfxAgenda
 
        Try
            ' Navigate to the Inbox for the Initial Routing Workflow user
            oInboxAgenda = oWFXConnection.Agenda(WORKBOX_TYPE_CLOSED)
            'Clear previous filters
            oInboxAgenda.SetFilter("", "", "")
            oInboxAgenda.SetFilter("Business Process", "=", "Initial Routing Workflow")
            'Refresh data so filter is applied
            oInboxAgenda.Refresh()
 
            Return oInboxAgenda.Count
        Catch eX As System.Exception
            MsgBox(eX.ToString)
        Finally
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oInboxAgenda)
            oInboxAgenda = Nothing
        End Try
 
    End Function

 

So in a nutshell, a simple DIV and some CSS goes a long way. An added benefit is that this simple tag is supported on almost every browser.

I am still trying to figure out other ways to do this, I would prefer not having to hack the html view of my posts each time. But this works for now.

Cheers,

Robert Porter


 
Categories: ASP.NET | Browser | CSS | dasBlog


November 2, 2006
@ 06:04 PM

I downloaded and installed IE7 on the day it was released. And have been fairly pleased with it overall. I still tend to use Firefox as my default and main browser, but that may change.

One thing I have noticed of late, as soon as I get 4 – 6 tabs open in IE the CPU usage pegs, Memory use skyrockets and then the browser becomes non-responsive.

This was not the case following the initial installation, and I have added some toolbars, including the beta version of Yahoo’s new toolbar, so I suspect that the issue is a conflict.

If anyone knows of anything that could be causing this behavior please do let me know. And if I solve it I will post an update here.

Cheers,

Robert Porter


 
Categories: Browser | CSS | Reviews | Tools and Toys


January 2, 2005
@ 12:41 AM

Hmmm