Looking at your code, it seems that the link statement is within the body, not the head:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HEAD>
<link rel="stylesheet" type="text/css" href="/MySytle.css">
</HEAD><BODY>
<!--#include file="/PagePart2.shtm" -->
<link...
Sorry, my mistake: remove the space from the sName parameter - change "Mark Cotton" to "MarkCotton".
---
Marcus
better questions get better answers - faq581-3339
accessible web design - zioncore.com
window.open(sUrl, sName, sFeatures)
Although it seems that each item is optional, IE requires that you specify sName before you can specify sFeatures.
<img
onclick='window.open("http://www.markcotton.com/mosaic/pacifico.html", "Mark Cotton", "width=350,height=500,toolbar=no")'...
Your onclick is all wrong. You've got an extra onClick, you don't need the javascript: (as it's an onclick event), you're calling window.open( but not closing the bracket, and you call the method with a trailing comma but no extra parameters.
You should take a look at MSDN reference for...
That's the way the web works. If you want your users to see your page, they have to be able to see the file - after all, their web browser needs the file to be able to use it.
<link> statements belong in the <head>, not the <body>. This may be where you're going wrong. And remember, you're...
window.open simply opens a new window - you have to specify the window's URL as a parameter. Using this.href is a convenient way of avoiding typing the same URL multiple times.
<a href="http://www.spyderscripts.com/cgi-bin/test/scramble.pl?checkword=settler" onclick="var winHandle =...
you could try adding an ID.
BTW, when you post HTML code fragments, you should specify the DTD you're validating to.
<map name="m_DocumentationRequired_selected" id="m_DocumentationRequired_selected">
<area shape="rect" coords="558,66,638,97" href="ContactUs.asp" title="Visa Information"...
CliveC - Giving all due credit to foamcow, there is one aspect of his site I would change: I would move the navigation menu to after the content in the source order. This would mitigate the problem you describe.
If you look at Zioncore on a handheld device (or in Lynx), the content comes...
Anyone use thumbnail images, which when you click on them popup a fullsize image?
I came across Lightbox (well, actually a web-designer friend found it and told me) and I'm thoroughly impressed. Well worth using, in my opinion.
---
Marcus
better questions get better answers - faq581-3339...
>>lol .. pipped me to the post manarth!
as an added bonus, I gave the correct answer!
This sounds like you mean:
</head>
<style>
/* styles here */
</style>
<body>
This is not valid code...<style> tags belong in the head: i.e. between <head> and </head>.
---
Marcus
better questions get...
Learn css. Messing about with font tags and 'color="#FFFFFF"' is a tad outdated.
The traditional way of specifying link colours was to include it in the body tag:
<body alink="#FFFFFF" vlink="#FFCCAA">
alink for links, vlink for visited links.
Now we simply use css:
a {
color: #fff;
}...
Firstly, there are multiple (and quite different) versions of RSS. (This article discusses some of the differences.) The common theme is that an RSS feed is essentially an XML file.
It's not pushed to different sites; it's just like an HTML file - a user/program/website has to download your...
Ah, my irritations with the MSDN site are trying to bookmark pages, and navigating the site when I arrive on a google-listed orphan page.
Pros:
- allows content to be refreshed without having to refresh the entire screen:
> saves bandwidth
> keeps the site's "context" onscreen (looks...
Oh, we also refer to a pair of parentheses as 'brackets'. It's easier to pronounce in Maths class!
In British English, [ ] are square brackets, ( ) are brackets, and < > are angled brackets. Although we also accept that [ ] ( ) and < > are all brackets. We know what we're talking about...
Woah there cowboy!
The outer set absolutely are necessary:
if (true) && (true) {
returns a syntax error.
if ((true) && (true)) {
is permitted, as is
if (true && true) {
or
if (a==true && b==true) {
The outer parenthesis are always essential; the inner ones help readability, and clarify...
I've not come across it before in JS either, although Quackit says it's an ECMAScript reserved word.
As JavaScript and JScript are extensions to ECMAScript, it follows that ECMAScript reserved words are also reserved in J/JavaScript...But I'm not convinced that's the case here.
Wikipedia has a...
Here's my code, tested and working in IE6 and FF1.5:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/JavaScript">
function verify() {
var themessage = "You are required to complete the following fields: "...
Still missing a bracket:
if ((document.form.auto_count.value == "") && (document.form.own_auto.value == "Y")) {
By the way, I find += is a useful notation - instead of:
themessage = themessage + " - E-mail";
you can use
themessage += " - E-mail";
---
Marcus
better questions get better...
Missing brackets:
function DoCustomValidation()
{
var frm = document.forms["myform"];
if((frm.own_auto.value == "Y") && (frm.auto_count.value == ""))
{
alert('Please fill out Auto Count!');
return false;
}
else
{
return true;
}
}
by the way, posting code in tags...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.