This blog is changing…

January 7th, 2010 - by admin

Just to let you all know this blog will be slowly changing into my Professional Photography services blog.

I will be updating the design this week before then adding some of my example work and previous jobs i have done.

Keep your eyes peeled :)

36

ASP.NET AJAX calendarExtendar – How to fix problems with days (saturday) being cut / chopped off

April 8th, 2009 - by admin

If you can’t see the Saturday column on your calendar its because of the padding applied throughout your document. You may already of realised this was the problem and not managed to track down the padding.

The best and easiest solution is to use a custom css class to over-ride the default like below and use the following to clear the padding and margins:

.cal_Theme1 * {padding:0px;margin:0px;}

 The styles below can go in a linked stylesheet of in your document head.

/* Calendar css */
.cal_Theme1 * {padding:0px;margin:0px;}
.cal_Theme1 .ajax__calendar_container {background-color: #e2e2e2;width:192px;border:solid 1px #cccccc;}
.cal_Theme1 .ajax__calendar_header{background-color: #ffffff; margin-bottom: 4px;}
.cal_Theme1 .ajax__calendar_title,
.cal_Theme1 .ajax__calendar_next,
.cal_Theme1 .ajax__calendar_prev{color: #004080; padding-top: 3px;}
.cal_Theme1 .ajax__calendar_body{background-color: #e9e9e9; border: solid 1px #cccccc;}
.cal_Theme1 .ajax__calendar_dayname{text-align:center; font-weight:bold; margin-bottom: 4px; margin-top: 2px;}
.cal_Theme1 .ajax__calendar_day{text-align:center;}
.cal_Theme1 .ajax__calendar_hover .ajax__calendar_day,
.cal_Theme1 .ajax__calendar_hover .ajax__calendar_month,
.cal_Theme1 .ajax__calendar_hover .ajax__calendar_year,
.cal_Theme1 .ajax__calendar_active{color: #004080; font-weight:bold; background-color: #ffffff;}
.cal_Theme1 .ajax__calendar_today{font-weight:bold;}
.cal_Theme1 .ajax__calendar_other,
.cal_Theme1 .ajax__calendar_hover .ajax__calendar_today,
.cal_Theme1 .ajax__calendar_hover .ajax__calendar_title{color: #bbbbbb;}

ASP Code:

this is how you reference the style you created above in the asp page

<asp:TextBox ID=”F1_I2″ runat=”server” CssClass=”bigInput”>
</asp:TextBox>
<cc1:CalendarExtender ID=”F1_I2_CalendarExtender” CssClass=”cal_Theme1″ runat=”server” TargetControlID=”F1_I2″ Format=”dd/MM/yyyy”>
</cc1:CalendarExtender>

34

Win 2 x Tickets – Fac51 The Hacienda 27th Birthday @ Sankeys, Manchester

March 30th, 2009 - by admin

Hacienda LogoÂ
Win 2x Tickets for Hacienda’s 27th Birthday @ Sankeys! Special Guests : Darren Emerson (Underwater), Justin Robertson (Most Excellent), Jon Dasilva (The Haçienda), “Temperance Club” Upstairs – The Whip (DJ Set), Peter Hook (New Order), Dave Haslam (The Haçienda). Bar hosted by Umbrella. Sunday May 3rd – 9pm to 5am
Free Competition available on my other site here:

http://www.socialaddict.co.uk/competition/enter?id=4

 

32

ASP.NET MVC 1.0 Released! RTW (release to web)

March 19th, 2009 - by admin

I am pleased to notify that  ASP.NET MVC 1.0 has now been released as announced yesterday by Scott Gu at the MIX#09 conference.

Download from here: http://go.microsoft.com/fwlink/?LinkId=144444

 

31

HTTP Status codes and how to trigger them in PHP

March 10th, 2009 - by admin

I will be adding all the codes to this post but for now here is how to do a php 301 redirect

PHP 301 Redirect

If you have upgraded your website and renamed some of your files, make sure you don’t get any 404 error’s – Google will punish you for it!

simply put the following lines of code at the old location:

header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: http://www.yourdomain.com/newpage.php”);
exit();

30

SocialAddict – website now back online

February 26th, 2009 - by admin

Just to let you know we have finally got SocialAddict back online and we are starting to get things going again. The events page is now live and we are improving it all the time. The galleries will all be online shortly so please support us by signing up and getting involved with the chat on there!!

 

http://www.socialaddict.co.uk

29

Win a luxury house in Cheltenham!

January 20th, 2009 - by admin

28

Ashton Market Now Open

November 28th, 2008 - by admin

Ashton Under Lyne Indoor Market is now open to the public.

 

The old market was burn down in May 2004 and a temporary indoor market was setup in a nearby car park. It took a long time to investigate the cause of the fire (which I believe is still unknown) and this is what caused a delay in the re-build process. The original walls are still in place but a complete new roof and layout has been introduced inside and it is looking very nice indeed.

 

26

Google Analytics New Version Released – 7th November 2008

November 7th, 2008 - by admin

OK so google have released an updated version of Analytics, different layout and few new features!

You can now see from your summary page a summary of key data. Including a thumbs up or down image to indicate whether or not you have gone up or down in traffic. Pretty handy!!

Login to your control panel and let me know your views!!

25

Google Car Spotted on M60 Motorway recording 360 footage

November 5th, 2008 - by admin

I saw the google maps vehicle driving along the motorway with a 5ft pillar on the roof with what looked like a 360 camera on the top! I can only assume that they are recording the ground level mapping of the uk in video format which is pretty crazy :)

Does anyone know more about this or have you seen it?!

Comments appreciated!!

24