Another new site is up :)

Miscellaneous Forums/General Discussion/Another new site is up :)

Hi,

Sorry to bug you with this, but ... :)

We've updated our website a few days ago, and since some of you guys use the weirdest browsers ever, it would be great if you would give it a test, to see if it works for you...

click-i-di-click to see it.

Thanks!

Looks good with IE 7

Looks great in Safari on the mac. Nice site, clean and pretty.

Nice in FF.

And it answers the question I've never thought to ask - what does 'Frecle' mean :)

Looks fine in IE7. I like your streamlined graphics style and simple/clean use of images as buttons, and the full-width images that fill the space. The banners/logos etc look professional and it's all very tidy. Good job.

Nice-looking site.

I use Firefox 2.0.0.4 with both JavaScript and cookies turned off by default (via NoScript and CookieSafe extensions), and everything is fine using the top menu. Clicking on any of the news links on the front page, however, gave 404 errors until I enabled JavaScript.

This isn't a real problem; a lot of sites use it, and I enable it for them once I decide that they're worthwhile. I mention it just in case you get any "error reports" like that.

Looks nice, I'm not keen on tables for layout these days, but it still degrades reasonably well.

*EDIT*
can I suggest a preloader on the gallery page?
i.e. something like:
<script language="javascript" type="text/javascript">
<!--
function preLoad(){
<?php
	$count = 1;
	foreach($images as $image){ //$images being an array of image data
		echo "var img".$count." = new Image();\n";
		echo "img".$count.".src = "".$image->src."";\n";
		$count++;
	}
	?>
}
if (window.addEventListener){
	window.addEventListener("load", preLoad, false);
} else if(window.attachEvent){
	window.attachEvent("onload", preLoad);
} else {
	window.onload = preLoad;
}
//-->
</script>


Nice site. Very clean & soft
* what I need to do if I want to see 'Normalized' running on my computer :D - I saw the video weeks ago and I would like to see it in action...

looks posh!

@WendelIM: But the screenshot pages work, right? So some backup solution like that would work ... ie. a real link which isn't used if javascript is enabled?

@Pertubatio: Well, I'm not fluent enough in other methods, so I'll stick to tables for now. If you have a link for some tutorial on another method, please post! And thanks for the preloader, I'll add that over the weekend.

@degac: Funnily, I just got the source code for normalized from our backup server today, so I'll see if I can put in a few hours to pack up a playable version of it.

@Grey: I never know if posh is a positive or negative word :)

Thanks all! For the kind words and the testing!

Yes, both showcase sections work without JavaScript. As a matter of fact, they only work without JavaScript for my Firefox. Clicking the thumbnails does nothing with it enabled (the main image doesn't change as it does with JavaScript off), though if I click to open in a new tab/window, the correct image appears. They work fine with JavaScript in my IE6 (normal clicking updates the main image).

@Pertubatio: Well, I'm not fluent enough in other methods, so I'll stick to tables for now. If you have a link for some tutorial on another method, please post! And thanks for the preloader, I'll add that over the weekend.


Here's a start (I'd obviously seperate the js and css into external files):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Content-Language" content="en-uk" />
	<meta name="robots" content="all" />
	<meta http-equiv="imagetoolbar" content="false" />
	<meta name="MSSmartTagsPreventParsing" content="true" />
	<meta name="author" content="" />
	<meta name="Copyright" content="" />

	<meta name="description" content="" />
	<meta name="keywords" content="" />  
	<title>frecle</title>
<style type="text/css" media="screen">
<!--
body {
	background: #ababab url('http://www.frecle.net/skins/better/bg.gif') top left repeat-x;
	font-family: verdana, arial, helvetica, helv, sans-serif;
	color: #000;
	margin: 0;
	padding: 0;
	font-size: 0.7em;
}
a {
	color:#888888;
	text-decoration: none;
}

div#wrap {
	margin: 0 auto;
	width: 704px;
	background-color: #fff;
}
div#header{
	background: #fff url('http://www.frecle.net/images/frecle.png') 24px 20px no-repeat;
	height: 73px;
	position: relative;
	border-bottom: 1px solid #dedede;
}

	div#header a#logo-link {
		width: 82px;
		height:32px;
		display: block;
		top: 20px;
		left: 22px;
		position: absolute;
	}
ul#nav {
	margin: 0 0 0 24px;
	padding:0;
	list-style-type: none;
	font-size: 1.1em;
}

	ul#nav li {
		float:left;
		margin: 0;
		padding: 9px 0 9px 50px;
		/*width: 97px;*/
		text-align: left;
		width: inherit !important;
		width: 2%;
		/*border-left: 1px solid red;*/
	}
	ul#nav li.leftmost-nav {
		padding-left: 0px;
	}
	ul#nav li a {
		width: 100%;
		height: 100%;
		display: block;
	}
	
	div#main-image {
		clear:both;
		width: 704px;
		height: 267px;
		display: block;
		padding: 0;
		margin: 0;
		background: #7089A7 url('http://www.frecle.net/images/front00.jpg') top left no-repeat;
	}
div#content {
	margin: 0;
	padding: 20px 80px;
	background: #fff url('http://www.frecle.net/skins/better/gradient.png') top left repeat-x;
}
	div#content h1 {
		font-size: 1.6em;
		font-weight:normal;
	}
	ul#news-list {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}
		ul#news-list li.list-item dl {
			list-style-type: none;
			margin: 0;
			padding: 0;
			
		}
		ul#news-list li.list-item dl dt {
			width: 13%;
			clear:both;
		}
		ul#news-list li.list-item dl dd {
			width: 84%;
			margin: 0;
			padding-left: 4px;
			border-left: 1px solid #DEDEDE;
		}
		ul#news-list li.list-item dl dt,
		ul#news-list li.list-item dl dd {
			float: left;
		}
div#footer {
	clear:both;
	text-align: center;
	padding: 60px 20px;
}
.clearing {
	clear:both;
}
.access {
	text-indent: -9999px;
	display: block;
}
.toggle {
	display: block;
}
-->
</style>
<script type="text/javascript">
<!--
function getElementsByClassName(className, tag, elm){
	var testClass = new RegExp("(^|\\s)" + className + "(\\s|$)");
	var tag = tag || "*";
	var elm = elm || document;
	var elements = (tag == "*" && elm.all)? elm.all : elm.getElementsByTagName(tag);
	var returnElements = [];
	var current;
	var length = elements.length;
	for(var i=0; i<length; i++){
		current = elements[i];
		if(testClass.test(current.className)){
			returnElements.push(current);
		}
	}
	return returnElements;
}

function collapse(){
	var toggleDivs = getElementsByClassName("toggle", "div", this.parentNode);
	for (e in toggleDivs){
		if (toggleDivs[e].style.display == "none"){
			toggleDivs[e].style.display = "block";
		} else {
			toggleDivs[e].style.display = "none";
		}
	}
}

function collapseAll(){
	var elements = getElementsByClassName("toggle", "div");
	for(e in elements){
		elements[e].style.display = "none";
	}
	
	var elements = getElementsByClassName("toggle-link", "a");
	for(e in elements){
		elements[e].onclick = collapse;
	}
}

function init(){
	collapseAll();
}

if (window.addEventListener){
	window.addEventListener("load", init, false);
} else if(window.attachEvent){
	window.attachEvent("onload", init);
} else {
	window.onload = init;
}
//-->
</script>
</head>

<body>
<div id="wrap">
	<div id="header">
		<a href="/" id="logo-link" class="access">home</a>
	</div>
		<ul id="nav">
			<li class="leftmost-nav"><a href="#">home</a></li>
			<li><a href="#">products</a></li>
			<li><a href="#">showcase</a></li>
			<li><a href="#">community</a></li>
			<li><a href="#">contact</a></li>
			<li><a href="#">about</a></li>
			<li><a href="#">shop</a></li>
		</ul>
	<div id="main-image">
	
	</div>
	<div id="content">
		<h1>news</h1>
		<ul id="news-list">
			<li class="list-item">
				<dl>
					<dt>2007.06.12</dt>
					<dd><a href="#" class="toggle-link">new website!</a>
						<div class="toggle">
							<p>
								At long last we've had the time to sit down and update our website. There are still some 
								things to add, such as a lot of newer projects, but we hope you like it! If you find a bug,
								let us know!
							</p>
						</div>
					</dd>
					<dt>2007.05.17</dt>
					<dd><a href="#" class="toggle-link">frecle does fashion with Radarstation!</a>
						<div class="toggle">
							<p>
								Once again frecle and Radarstation join forces to create the realtime 3D show graphics
								 for the RCA Graduation Show! Pictures soon...
							</p>
						</div>
					</dd>
				</dl>
			</li>
		</ul>
	</div>
	<div id="footer"><a href="index.php?show=privacy">privacy policy</a> |
			&trade; &amp; &copy; 2002-2007 | frecle I/S | all rights reserved</div>
</div>

</body>
</html>


Looks good.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

@Grey: I never know if posh is a positive or negative word :)
I meant it in a positive sense.

@fredborg: Sorry, I don't mean to pick holes in your site, it is good. It's just that when you spend 9.5 hours a day building sites, it's hard not to look at them for flaws.

Hehe, it's nice to get some tips from a pro, after all I only spend a few weeks every 2 years building websites, so I'm probably way behind on how to do it :)

I have added the preloader and it seems to work fine, so thanks for that. As for the no-tables layout, I'll have to take a closer look at that, but it seems like it's much the same as tables (in terms of the tag layout)?


I have added the preloader and it seems to work fine, so thanks for that. As for the no-tables layout, I'll have to take a closer look at that, but it seems like it's much the same as tables (in terms of the tag layout)?

Similar nesting structure (because I'm using lists for the news articles) yes. But a lot more flexible in the styling you can do (it takes a bit of practice, but lists are definitely useful. This site can explain quite a bit that you can do with them: http://alistapart.com/

Looks good

Looking very stylish