Jump to content

thescientist

Moderator
  • Posts

    8,682
  • Joined

  • Last visited

Everything posted by thescientist

  1. it depends. you could create a main graphical image to line up with main content on your site, say centered in the middle of the page. On the left and right hand side, you could have the main image slowly degrade into something repeatable, so that you could have fluid left and right columns and just repeat a gradient like pattern that will repeat as needed to fill out the extra screen space. For the height, you could just have the images and the flared out left/right columns slowly fade down to a certain color and then set that color to the background of the <body> tag, so where the images end, the background color will compensate/fill out the rest of the page.
  2. agreed! I think the forums here provide an integral companion to the material taught on the w3schools site.
  3. the article, while overly critical and at sometimes petty, does bring up some legitimate points. The idea going forward to is to consolidate all the best practices and references in one good spot and maintain it from there; which is what the thread is attempting to do in light of our reaction to w3fools. The web is big enough for everyone, it's just a matter of what you do and how you present yourself on it. (much like in real life).
  4. I definitely think it has some potential, as long as there as a degree of consistency to it, that focuses on best practices and standards (naturally) and has a core group of (as DD emphasized) vetted contributors and "editors". ShadowMage brought up a good suggestion of having a comments section like on php.net.
  5. but how do you keep people from contributing erroneous information? What is the screening process of wiki sites in general? And how do you keep something like declaring an object using new vs. {} from devolving to pettiness?
  6. Exactly. If someone that represented W3Schools showed up here everyone once in a while, I bet a lot of these kinds of little details would have long since been cleared up by now.
  7. all the authors with links to their Twitter accounts are listed below the intro paragraph at the top of the page
  8. what good does this kind of site do, when I can find an example where they are mis-representing the example they're criticizing? For example http://www.w3schools.com/js/js_loop_for.aspthese guy's need to layoff the caffeine and pizza. This sites make it seem like this all being done out of malice on W3Schools' end. I for one can't find any examples of W3Schools claiming to be associated with the W3C on their site, but then again, I'm not trying to spend all my free time trying to find errors in their references. Mistakes happen, and programmers often have different stylistic and syntactical preferences, which can be debated endlessly. Any programmer/developer/newbie, like anyone looking for information, should consider more than source for their information
  9. Well I'm back to change my vote. I've only just downloaded it today because I didn't find out about till today. Finding a good and comparable text editor for Mac was hard enough as it is and I was grateful just to find TextWrangler, but I was never super "excited" about, to put it one way. Anyway, this editor I just found is called Smultron and so far just from the look and setup of it I like it a lot. I use Eclipse for all my work projects and this closely resembles that, allowing you to save a bunch of documents as a project, which you can open and close, as well as filtering out filetypes. Although it doesn't have a file system browser window on the side, you can have save options for opening the last project on startup, or documents. It has file tabber at the top so you can have multiple documents open at once and switch back and forth between them simultaneously (easily the one feature that I didn't get with TextWrangler that is already winning me over with this app). Give it a shot Mac users!http://www.opensourcemac.org/(its towards the bottom of the page. also worth noting there are a lot of other good apps for mac users)
  10. usually using a Strict DTD and using the universal selector to reset all margins and paddings effectively reduces a large portion of encountered inconsistencies.
  11. howdy newcomers, welcome to the forum!
  12. For the Mac fans, I'll put another plug out there for TextWrangler. It's the closest thing to ConText I have found for OSX and even though I use a VM for work, I still don't find it worth the trouble using VM and/or boot camp just for a text editor, so as dismayed as I am to not have Context, TextWrangler works just fine. We are just talking about text editors after all, although I will concede syntax highlighting is a pretty nice feature, other than that, I'm not too bothered by what they do or don't have.
  13. I take it you don't use ASP?
  14. phew, I kinda thought twice when typing that out and maybe I should use another analogy because I didn't know if I was spelling it right
  15. Wow! I don't even know where to begin to try and understand what that's doing. I'm still ashamed that I can't even count to 4. Forget JS, I need to go back to kindergarten...
  16. Hey guys, I was just wondering if I could pick some of your brains for a few moments. I'm trying to further advance my skill set in the funky world of Javascript, and I'm trying to evolve my coding though the use of best practices, good planning, clean coding, etc and I have just finished reading Douglas Crockford's book java script: The good Parts and am starting into John Resig's book the Javascript Ninja and has a few quick questions for ya. Thanks in advance for your time and consideration. 1) From the John Resig's website...http://ejohn.org/apps/learn/#10How would you say line 2? function yell(n){ return n > 0 ? yell(n-1) + "a" : "hiy";}assert(yell(4)=="hiyaaaa", "Calling the function by itself comes naturally."); 2) In Douglas Crockford book, java script: The Good Parts, he refers to the operators === and !== as alternatives to == and !=. Does that mean that is the only applicable situations for those operators, is when comparing the above values? While we're on the subject, how would you define type coercion?3) Also, he suggests these shorthand methods:instead of (foo != 0), use (foo) does that mean if foo has a value of anything (number, boolean, string) then you can just use (foo) and that resolves to true, if foo != 0? instead of (foo == 0) use (!foo) does this only apply when using numbers, or would this apply to false or an empty string as the value of foo? 3) Also, Douglas Crockford suggests against using ++ and -–. Would the appropriate alternative to say something like (for i = 0; i <= 10; i++) be (for i = 0; i <= 10; i+=1)? Thanks again for reading through this, I'm open to all your thoughts, comments, or suggestions. Does anyone have any recommendations on good books that better promote good coding practices, or good habits for developing code structure, scalability, employing DRY techniques, etc?Peace, have a good one!
  17. nice bump. I threw myself up there. Rhode Island representin'
  18. welcome to the forums recent members!
  19. it's pretty much spelled out right at the beginning...XHTML elements must be properly nested (matching opening/closing tag's, and closing a tag within a tag first...)XHTML elements must always be closed (all tags must have '/' before they close)XHTML elements must be in lowercase (simple enough)XHTML documents must have one root element (must be withing a <html></html>)pretty strightforward for the most part, I think. The rest is listed thought the tut. Anyway, code an HTML page with an XHTML DTD and see what the valaditor spits back out at you.also,Attribute names must be in lower case Attribute values must be quoted Attribute minimization is forbidden The id attribute replaces the name attribute The XHTML DTD defines mandatory elements
  20. I agree, FF and IE8 (along with IE7 mode), make a good, standards-compliant developing pair.
  21. Site Name: The SeasonsSite Description: condo resort websiteSite Developer: Me (Owen)Site Address: www.seasonsnh.comExtra Comments: this is my first real for profit venture. This was a redesign of their previous website.
  22. welcome, welcome new members!
×
×
  • Create New...