vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Validation W3 help needed (https://vborg.vbsupport.ru/showthread.php?t=206517)

TimberFloorAu 02-24-2009 11:38 PM

Validation W3 help needed
 
G'day guys.

Have been validating one of our templates most of the day.
XHTML 1.0 Transitional!

Now I am down to 6 errors ( from 192 ! )

These are:

Doesnt like onSubmit - there is no attribute "onSubmit"
Code:

<form action="http://www.oursite.com/forum/login.php?do=login" method="post" onSubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
Doesnt like onFocus - there is no attribute "onFocus"
Code:

<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="User Name" onFocus="if (this.value == 'User Name') this.value = '';" /></td>
Doesnt like onClick - there is no attribute "onClick"
Code:

<dd><a href="#" onClick="window.open('chat/index.php','v3chatrooms','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=600,height=488,left=380,top=120');return false;">Chat Rooms</a></dd>
Doesnt like colspan - there is no attribute "colspan"
Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" colspan="2">
The other errors I can fix, but need help with fixing these please.

We are validating :
<!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" dir="ltr" lang="en">

Brandon Sheley 02-24-2009 11:41 PM

try to use lowercase letters onClick to onlclick

TimberFloorAu 02-24-2009 11:49 PM

thought of that but didnt think to actually do it lol.

Will give her a go, thanks .

Ste

--------------- Added [DATE]1235527285[/DATE] at [TIME]1235527285[/TIME] ---------------

**************************
Ok that fixed 3 issues.

Lastly I have this one :

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" colspan="2">

w3.org states: there is no attribute "colspan" .

Any suggestions as to a suitable replacement.

Lynne 02-25-2009 02:36 AM

Colspan is an attribute of the <td> tag - HTML td colspan Attribute

TimberFloorAu 02-25-2009 02:45 AM

Quote:

Originally Posted by Lynne (Post 1753853)
Colspan is an attribute of the <td> tag - HTML td colspan Attribute

Ok, thanks Lynne.

My issue is now, its within a product.

I have reuploaded the product , allowed over write, but my templates must be cached. So will have to keep refreshing ( will log out ) and try to clear cookies..

Hopefully, have sorted it :)

Just a quickie ( off topic )
Can smilies be placed under the textarea, in postbit_legacy ?

Lynne 02-25-2009 02:50 AM

smilies in the postbit_legacy? I suppose you can put some there. I'm not sure that's what you really meant though.

TimberFloorAu 02-25-2009 02:52 AM

Quote:

Originally Posted by Lynne (Post 1753863)
smilies in the postbit_legacy? I suppose you can put some there. I'm not sure that's what you really meant though.


Apologies. We use postbit_legacy.

When making a new post, the smilies box is to the right of the text area.
Can we have it set underneath the main text area.

Ste

Lynne 02-25-2009 02:55 AM

That is not the postbit_legacy template, which is why I was confused. The postbit (and postbit_legacy) templates are the individual ones for the post. I've seen mods to move the smilies - do a search on "smil*" in "all mods" "titles only" and you should find one.

TimberFloorAu 02-25-2009 03:10 AM

Quote:

Originally Posted by Lynne (Post 1753866)
That is not the postbit_legacy template, which is why I was confused. The postbit (and postbit_legacy) templates are the individual ones for the post. I've seen mods to move the smilies - do a search on "smil*" in "all mods" "titles only" and you should find one.

Thanks Lynne

Dismounted 02-25-2009 05:44 AM

AFAIK, there should be a modification by Princeton that does that.


All times are GMT. The time now is 10:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01094 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete