Log in

View Full Version : Code errors that have me stumped



Scrounger
08-12-2008, 05:01 AM
I just posted a boy scout web site at www.troop44bushkill.org and I have three pages that have me totally stumped. I'm using Sharepoit Designer to publish and edit the site. I originally used Frontpage but switched to Sharepoint Designer.

On the main page, http://www.troop44bushkill.org/ the favicon is not displaying the correct value of 44. It still shows 88 from my sister website. On the same page the camp countdown counter has stopped working after two years of perfect operations.

On the summer camp info page, http://www.troop44bushkill.org/Summer_Camp_Info.htm, the main body of the page is all messes up in regards to width and my borders are off. If you see it you will notice it right away.

And finally, the troop committee page, http://www.troop44bushkill.org/committee.htm, is not showing the custom bullets that I changed from the standard blue diamonds to boy scout logos.


Can anyone point me in the correct direction to correct the errors. I've spend hours on these and I just cant figure it out.

Regards,

Matthew

jscheuer1
08-12-2008, 02:22 PM
On the favicon, that's (the one that shows 88) the favicon on the server:

http://www.troop44bushkill.org/favicon.ico

Replace it with one that shows 44.

Summer Camp is a "Page Not Found" at the moment. For the countdown on the main page, the target event has passed:


//ENTER BELOW THE DATE YOU WISH TO COUNTDOWN TO
later = new Date("Jul 27 2008 11:30:01");

So the script is creating negative numbers for the images that it cannot deal with, either because there are no images for negative numbers, or because it is trying to subtract from c which isn't a number. Change the year to 2009.

On the committee page, I am seeing this 'custom bullet':

http://www.troop44bushkill.org/_themes/twc-table235/x005j.gif

Which is what it has in the source code:


<td valign="baseline" width="42"><img src="_themes/twc-table235/x005j.gif" width="20" height="20" hspace="11" alt="bullet"></td>

These are not technically bullets though, it isn't a list, rather images in a table, so styles for list will not affect them. But that doesn't really matter. If you want a different image, upload it to the server and reference it in your source code for the image tags.