Menu
I am very new to webdesign, and yet it is kind of my job at the moment. Is there any valid reason to use Strict HTML instead of Transitional? I don’t use too many features that aren’t available in Strict, but it would still be a pain to switch, so is there any reason that I should?
The only reason for using a Transitional DOCTYPE is for old pages that you are trying to update to use more current standards but which you haven't had time to remove all of the deprecated elements from yet. For new pages you should always use Strict.
The most significant difference between the two is that Transitional allows the use of tags and attributes that the current browser versions still support but which are no longer a part of the standards and are expected to not be supported by future browsers. You should not be using those tags and attributes for new development.[/QUOTE]
I think there is a case for using transitional, sparingly, for target="_blank". I have almost entirely binned it - but am using it for a case where a larger image is required of a thumbnail. Specifically, a large image of a cloth when only a series of small samples is appropriate in a main page, but I want to be able to open up larger samples in a small focused window in javascript, yet allow a straightforward new window for non-javascript users.[/QUOTE]Well and good but it is almost always better to use JavaScript to open that new window. People without JavaScript running don't want you opening a new window.
Well and good but it is almost always better to use JavaScript to open that new window. People without JavaScript running don't want you opening a new window.........[/QUOTE]
[CODE]function externalLinks()
{
if (document.getElementsByTagName)
{
var anchors = document.getElementsByTagName("a");
for (var i=0; i<anchors.length; i++)
{
var hrefValue = anchors[i].href.toString();
var expression = /(your-domain-here)|(validator)/;
if ( !( hrefValue.match(expression) ) )
{
anchors[i].onclick = function()
{
show = window.open(this.href);
show.window.focus();
return false;
}
}
}
}
}[/CODE]
You say your new the web developing, and going on about HTML, I do dhope your using XHTML and not HTML ?[/QUOTE]
0.1.9 — BETA 5.4