Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes
Author Message
kenwood
Worker
Worker


Joined: May 18, 2005
Posts: 119
Location: SVCDPlaza

PostPosted: Mon Jan 09, 2006 12:19 pm Reply with quote

My site is not a Valid HTML 4.01 Transitional .
the problem is my forum scroll block.
Code:


Error Line 193 column 18: there is no attribute "BEHAVIOR".
<Marquee Behavior="Scroll" Direction="Down" Height="150" ScrollAmount="1" Scroll
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.



Error Line 193 column 37: there is no attribute "DIRECTION".
<Marquee Behavior="Scroll" Direction="Down" Height="150" ScrollAmount="1" Scroll


Error Line 193 column 51: there is no attribute "HEIGHT".
...ior="Scroll" Direction="Down" Height="150" ScrollAmount="1" ScrollDelay="75"


Error Line 193 column 70: there is no attribute "SCROLLAMOUNT".
...ion="Down" Height="150" ScrollAmount="1" ScrollDelay="75" onMouseOver="this.s


Error Line 193 column 86: there is no attribute "SCROLLDELAY".
...t="150" ScrollAmount="1" ScrollDelay="75" onMouseOver="this.stop()" onMouseOu


Error Line 193 column 103: there is no attribute "ONMOUSEOVER".
...unt="1" ScrollDelay="75" onMouseOver="this.stop()" onMouseOut="this.start()">


Error Line 193 column 128: there is no attribute "ONMOUSEOUT".
...onMouseOver="this.stop()" onMouseOut="this.start()"><br></Marquee><br><hr><ce


Error Line 193 column 142: element "MARQUEE" undefined.
...his.stop()" onMouseOut="this.start()"><br></Marquee><br><hr><center><a href="


The code of my scrol block is
Code:


$content .="<MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"220\" scrollamount= \"2\" scrolldelay= \"70\" onmouseover='this.stop()' onmouseout='this.start()'>";

What is the corect code for the scrolling part ????????
 
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Mon Jan 09, 2006 12:21 pm Reply with quote

MARQUEE is a Microsoft-specific tag that is supported by Gecko, too. There isn't an easy way to make it compliant (well, other than removing the scrolling function!). But I think at one point 64bitguy said he developed a compliant workaround that may have even been used here on RavenPHPScripts.com.

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
kenwood
PostPosted: Mon Jan 09, 2006 12:31 pm Reply with quote

Here on the site from raven is the same problem with the Recommended Sites block and with the scrol NukeSentinel blockand with the downloads block.
 
kguske
PostPosted: Mon Jan 09, 2006 12:39 pm Reply with quote

I guess 64bitguy didn't install that workaround here...
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Tue Jan 10, 2006 2:15 am Reply with quote

I requested from him how he worked around it but he never replied.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©