PDA

View Full Version : help with loading seq. of elements on webpage



tj
11-05-2003, 06:43 PM
I have never been happy with how my initial page loads - it is all over the place.

I am sure that there are many things in the site I can do better but it is page one that really bothers me
http://www.tonicvision.tv/

I am wondering if there is a way to have the page load in the background - or foreground before the GIF animation and timeline animations begin? This was my very first web page I ever did it is hard for me to try to re-work it. I am sure that maybe it could be better in flash but I don't know flash yet.

I am hoping that maybe there are some "secrets to the universe " that will give me an epiphany regarding, refresh, preloads, and the control of layer visibility.

the order I had intended was first the two purple side panels come up with the bubbling logo. then the name travels in from the right side (I have it under a purple panel layer) , then the little blurb reveals line by line on the right panel. I could just use the title stationary .... they do not have to pan onto the screen...

any help would be great.
thanks

Webnauts
11-12-2003, 10:13 AM
If you have a dirty code, that can increase your page loading time.

Here are some issues you might would like to fix or update:

Lines 5 and 145: HTML 4.01 and XHTML require the "type" attribute to specify the scripting language for the "script" element. For example, use type="text/javascript" for JavaScript. Note that some browsers may work without this attribute but it is highly recommended that it be used.

Line 188: The "meta" tag was found, but it is not valid due to where it is used. This element may be contained in "head". This element may not be contained in "title". The tag is currently not contained in an element that allows its use.

Line 199: The "href" attribute has an invalid attribute value "". Try using one of the following values: an alphanumeric string or a string.

Lines 204 and 233: The "onstart" attribute is not valid for the "div" or "p" elements. The valid attributes for this element are: "align", "class", "contenteditable", "datafld", "dataformatas", "datasrc", "dir", "hidefocus", "id", "lang", "nowrap", "onbeforecopy", "onbeforecut", "onbeforepaste", "onblur", "onclick", "oncontextmenu", "oncopy", "oncut", "ondblclick", "ondragstart", "onfilterchange", "onfocus", "onhelp", "onkeydown", "onkeypress", "onkeyup", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onmousewheel", "onpaste", "onselectstart", "style", "title", "unselectable", "xml:lang", and "xml:space".

Other issues:

Lines 140,141,142,142,144: You've linked to the style sheet "/css_tonic.css" more than once.

Line 182: The "style" attribute has been used but a default style sheet language has not been defined (note that HTML Validator would not see this declaration if it is sent as an HTTP header by a web server). HTML 4.01 and XHTML require this for valid documents. For example, include this in the "head" section of your document to specify "text/css" as the default style sheet language: <meta http-equiv="Content-Style-Type" content="text/css">. See http://www.w3.org/TR/html4/present/styles.html#default-style .

Line 196: HTML 4.01 and XHTML require that the "alt" attribute be used with the "img" element. The "alt" attribute is critical for accessibility. It lets authors specify equivalent text to serve as content when the image cannot be seen or displayed. Use alt="" when alternate text is not appropriate, such as when images are intended to format a page (such as spacer images).

Last notice:
A document type declaration should appear as the first line (line 1) of every HTML document. For example, for HTML 4.01 Strict documents, <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> should be the first line. For HTML 4.01 Transitional documents, the first line should be <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">. For HTML 4.01 Frameset documents, the first line should be <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">. Although HTML recommendations generally require this line, most browsers probably ignore it.