View Single Post
02-27-2008, 04:49 AM
#10
mikeroq is offline mikeroq
mikeroq's Avatar
Status: Member
Join date: Feb 2006
Location: Ponca City, OK
Expertise: xHTML/CSS/PHP/Computer Tech
Software: Photoshop, Notepad++, Winamp
 
Posts: 332
iTrader: 5 / 100%
 

mikeroq is an unknown quantity at this point

Send a message via AIM to mikeroq Send a message via MSN to mikeroq Send a message via Yahoo to mikeroq

  Old

Originally Posted by Phaaze View Post
So basically your saying to use external JS to hide any errors? Thats a rather shady behavior...
No, putting your javascript in an external file keeps it separate from your HTML. Thats not hiding errors, thats how your supposed to do it. You should separate your behavior from your presentation.

http://thinkingandmaking.com/entries/63

Plus, they should have a backup to javascript. Some computer user could have disabled javascript by accident, or by choice. That bars them from using the calender element. I'm not going to be too harsh on the xhtmltype for this since its a premade script.

What about things like this in the code?
Code:
 <ul style="text-indent: 0px; list-style: none; margin: 0px; padding: 0px;">
Code:
<div id="main" style="float:left;">
Code:
<div class="contentHeader" style="margin-top: 10px;">