Bleep Bleep In At The Bleep End

Tuesday, July 25, 2006
Javascript window properties

Javascript window properties:

If you need to test the inner width or height of a browser window so that you can set the dimensions of a page element on the fly you can use javascript like this...

var x,y;
if (self.innerHeight) // all except Explorer
{
x = self.innerWidth; y = self.innerHeight;
}
else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode
{
x = document.documentElement.clientWidth; y = document.documentElement.clientHeight;
}
else if (document.body) // other Explorers
{
x = document.body.clientWidth; y = document.body.clientHeight;
}
But, note:

1. You will need to activate the correct layout mode to make this work in some browsers (eg. IE6)
2. You may want to build in an automatic page refresh to activate if the window is manually resized

Posted by d - 1:00 am - 0 Comments

Add a Comment

Thursday, July 20, 2006
Is anyone else reading your email ?

Is anyone else reading your email ? - A couple of ways you could find out listed here.

Posted by d - 8:47 pm - 0 Comments

Add a Comment

Put Google Calendar on your Windows XP Desktop

Slap Frog: Put Google Calendar on your Windows XP Desktop

Posted by d - 8:45 pm - 0 Comments

Add a Comment

Tuesday, July 18, 2006
Checking database size in Exchange 2000

http://www.mcse.ms/archive74-2004-8-986800.html

Posted by d - 2:19 pm - 0 Comments

Add a Comment

Sunday, July 09, 2006
CSS tutorials

A few interesting CSS snippets:

Using opacity in CSS
in fact the whole CSS section on this site is worth a look http://www.mandarindesign.com/style.html

Adding stylesheets to RSS feeds

Idea for multiple Heading icons in CSS

Posted by d - 12:33 pm - 0 Comments

Add a Comment

Wednesday, July 05, 2006
Flash message "click to activate and use this control"

"Why do I see a message prompting me to “click to activate and use this control” when I roll my mouse over a Flash animation?"

Answer and a workaround here

Posted by d - 7:16 am - 0 Comments

Add a Comment

Monday, July 03, 2006
Display your Ebay items for sale on your own website

Ebay have recently added RSS feeds to search results. If you are an Ebay seller, go to the page where all your items are listed and click the RSS button. The resulting page will look like garbage in a web browser but that's normal.

If you copied the URL from the address bar into a feed reader your items for sale would be pulled in, and if you subscribed to that feed then any future items for sale would also appear as they went on.

Anyway, that's all well and good but how do you get this to appear on another webpage? There are a few ways but here's a fairly simple one that works for me...

1. Go to http://www.feedburner.com , put the feed URL from above in and 'burn' your feed. Register to get the feed when prompted.

2. Go to the section 'publicize' and click on 'Buzzboost'. Select the options required and click 'Activate'. Grab the javascript provided and place it in your page where required.

That should do it.

Another method, rss2html from www.feedforall.com , I couldn't get to work properly (various errors) and was unable to fix using their forums.

Posted by d - 11:01 pm - 0 Comments

Add a Comment