Jump to content

End User

  • Content Count

  • Joined

  • Last visited

Everything posted by End User

  1. Firefox has the errors too, it's either ignoring them or just not displaying them. Look in the Error Console to see them. These javascript errors can be caused by too many things to guess at without seeing the code. The UTS error may be a missing quote. The "undefined" error may be due to using a var without declaring it first, or caused by a library that's not loaded (but that's still being referenced in some way).
  2. Of the choices you mentioned, I'd use a wiki or FAQ system for documentation and a forum for for fielding support issues.
  3. 1) The header image is way to heavy- 190K. Even on a broadband connection it takes a noticeable time to fill in. 2) Things like CSS and XHTML "valid" buttons should be placed in the footer so they don't clutter the primary content area.3) The font size used is (in my opinion) too small; I would also use a sans-serif font instead of Times New Roman. 4) The left-side scroller tends to become annoying after a while. 5) The down arrows in the menu bar have unattractive outlines around them, and the menu bar itself looks...odd. I don't think the image hidden in between the menu blocks looks good, b
  4. As pure as the driven snow, my friend, hand-crafted from only the finest ASCII characters that were individually copied from a certified set of the original IBM DOS 1.0 disks. The manuals are press-printed on gold leaf against the insides of virgin's thighs, and then sewn together one at a time by little old Italian widows listening to Verdi.
  5. Any link to your site is technically a backlink. Whether or not it's a "good" backlink is another story. Most link farms are of little to no value in terms of ranking, and may detract from the relevancy of the overall ranking for your site. For example, if you have a site about cars, you want links to your site on other car sites (which would be "relevant" to your content). Links on sites about lawn care products (which are "irrelevant" to your content) will generally not contribute significantly to your ranking. In fact they may have a tendency to push your ranking down in some instances. But
  6. I don't see a statement like that in this thread. (??) 1) Develop high quality, relevant content that relates to the service or product you want to sell.2) Be careful of where your backlinks get placed. For example, stay away from link farms. 3) Be prepared to wait some period of time before your site acquires an elevated ranking. This could be weeks, months, or years depending on a variety of factors.
  7. Google has always maintained that it's the quality and relevancy of the content that determines placement in their search rankings. A relevant domain name would be a plus, but it won't make up for content that they don't feel is more relevant than another site has by comparison. According to Google, if "cars.com" was filled with reviews of lawn care products, it would always rank lower than "babyclothing.com" in searches for automotive terms if "babyclothing.com" contained lots of material relating to cars.
  8. 1) I don't know, and 2) I don't know. As Synook pointed out, what you're promoting does appear to fit the definition of a pyramid scheme. I can see where you might interpret it that way. Again, no offense, but this doesn't confer legitimacy to me. I have no idea what kind of risk you would take for a free iPhone. (I'm also not sure what "risk" you're referring to.) I appreciate the links, but none of them really prove anything one way or another. Perhaps my standards of proof are overly stringent.
  9. I have a function in jQuery that does an ajax call and returns a menu bar. After the menu bar is returned it needs to be initialized (or reinitialized, as the case may be). Currently I'm using this code, but I know this isn't the "proper" way to do it: function makeMenu(menuid){$.ajax({ type: 'POST', url: 'function_handler.php', data: {act: 'make_menu', menu_id: menuid}, cache: false, success: function(data){ $('#menudiv').html(data); }}); setTimeout("initToolbar()",500); } I have to wait a short period of time after the ajax call before I can successfully initialize the menu bar. I know t
  10. How many hours has the domain been up? Depending on the content it might take some time for it to appear in any Google search. Would you tell us if it wasn't? Not all "referral based systems" are pyramid schemes, but most pyramid schemes are "referral based systems". That's how they work. Gotta be honest- it looks pretty scammy to me:"All it requires you to do is sign up, rent a DVD, pop along to the post office and post it back, then cancel your Lovefilm free trial the day after.""Now this is the slightly tricky part, now that you have completed your free trial, you must refer 26 friends to
  11. End User


    Synook: Yes, this is indeed a homework assignment, and I've even seen the source before. nanayaa44: We won't do your homework for you. You're supposed to be learning this stuff, not just copying someone else's answers. What you're doing is cheating, essentially. We'll be glad to answer questions, but not if the question is, "What's the answer?" Frankly, you strike me as a very lazy student. You wouldn't even take the time to rewrite the homework question- you just copied and pasted it, the same way you expected to copy and paste the answer you hoped to be given here. What will you do in a few
  12. Preventing a right-click is dicey but there are a variety of snippets out there that will work providing the user has javascript turned on:<body oncontextmenu="return false;"> This one works in many situations but I think Opera ignores it. YMMV. As a recent adopter of jQuery I'd suggest that it may be worth looking into for retrieving object properties. It can get properties fairly easily, including dynamically altered properties. It's worth a shot.
  13. It didn't work before you modified it and it didn't work after you modified it? Honestly, under these circumstances how would anyone here be able to tell you what's wrong? I sense there's a clue here somewhere, but I can't quite put my finger on it.
  14. A quick review of 3 jQuery books.JQUERY Novice to Ninja, by Sitepoint: Pretty good overall. The book walks you through learning and using jQuery in an ordered manner. Although it leaves out a few key items regarding usage that might confuse novices (like me), the book is well-written and provides plenty of code examples. It would be nice if they provided more complete examples of typical usage, like "here's how to do an ajax call" or "here's how to make a span change colors back and forth". The biggest complaint I have with this book is that it has far too many exclamation points- so many of t
  15. Some more newbie questions....I found this comment on a page and it raised some questions for me:"You can have as many document.ready() functions as you need on one page, and they will be called in succession."Is it common or normal to have more than one doc.ready() function? At the moment I have only one, based on all the examples shown in the various books I'm plowing through, and all my code is inside of it. Is that wrong, or...? Do I *need* multiple doc.ready() functions, and if so, what would be a typical case or reason for having more than one?Also, (lol) I'm not sure I'm totally clear o
  16. Ahhh, okay. Makes sense. Thank you. I found a couple of suggested techniques on the web, one of which was to attach all the params to the id, broken up by dashes:id="name-john-city-fresno"That seems...sleazy, lol, and I can see all kinds of situations where that would have problems (like if the data had a dash in it). I'm not sure what the max length is for an id but I would imagine that might also cause trouble. Another similar suggestion was to use the "rel" attribute in the same way. It supposedly has no inherent length limit, but again, it seems like a clumsy way to do things. I like the h
  17. I'm making some headway here, thanks to your replies. :)Happy Note: It seems that javascript returned by a jQuery AJAX call does seem to run without having to do anything else. My simple test case just pops an alert(), but it works. This is a huge plus. Next step/question: my HTML blob that's returned by the jQuery AJAX call has a set of save buttons. Originally these buttons called a javascript function which in turn made an AJAX request. To change this so it uses jQuery, I'm guessing that I need to call a similar function that I'll put within the jQuery doc.ready() blockHere's some example c
  18. Thank you. Just a few more questions for the moment if you'll bear with me. :)1) I do an AJAX call that returns a blob of HTML with some select lists in it. I'm guessing that before I can set the value of the dropdowns with jquery that I would need to bind the controls. Or, can they be accessed directly by regular javascript commands, i.e. document.getElementById('some_select_box').value = 'something' ? 2) If the HTML that's returned contains javascript, will the javascript run without needing to do anything? Normally javascript returned via AJAX won't run because the page doesn't "know" it's
  19. Geez, if only they put what you just wrote at the front of the jQuery books it would save everyone a boatload of time and trouble. You said in a couple of lines what 400 pages of my first jQuery book never quite got around to explicitly stating. Thank you. I'd sort of come to the same conclusion, but I wasn't absolutely certain. (The first book I've got isn't bad, but they do leave out some key stuff that would be nice to have examples of. It's "JQUERY: Novice to Ninja", published by Sitepoint. In spite of its shortcomings, I'd definitely recommend it as a beginner book.) Okay, so you have to
  20. My JS skills are on par for working with jQuery, I'm just new to it so I have some basic questions. That's more or less the conclusion I've come to, although none of the books state it explicitly. It's implied in a few places but they don't really lay it out clearly. I don't; I'm asking if functions can call each other across the jQuery "boundary", for want of a better word. In other words, can I have plaon old javascript call JQ functions (which all appear to be inside the doc.ready() body)? Yes, that's where the functions I'm using reside. If I understand the whole JQ paradigm correctly, e
  21. I was kidding, but I guess I need to polish up my delivery. (As my wife would say, "It's like a joke, only smaller.") In the past I've always used a collection of special-purpose JS snippets, one for table sorting, one for fiddling with opacity, another as a tiny AJAX library that I hacked into shape, etc etc. I liked the tiny footprint of the code and the ability to get under the hood and tinker (and being able to understand exactly what was going on). Lately, though, it seems to be more trouble than it's worth- occasionally the pieces don't want to play well together or IE changes subtly and
  22. I've decided to go over to the Dark Side and learn jQuery and I'm wondering if anyone here is familiar with it or (hopefully) skilled at using it. I have a few basic things/concepts I'm trying to wrap my head around and would like put a couple of questions to someone who really understands it.
  23. Is it "legal" to use a 'button' element outside of a form? Not a regular 'submit' button, but an actual 'button' element, i.e. <input type="button" id="foo"... etcThe reason I ask is because the documentation I've found is a little hazy. The w3.org page on buttons shows a button inside a form, but doesn't state that it *must* be inside a form: http://www.w3.org/TR/html401/interact/forms.html#edef-BUTTONIn fact, it seems to make a distinction regarding in what it calls a "successful control", where it says that "controls outside a form cannot be successful controls". The section on "successf
  24. End User

    Available Numbers

    I'm not certain about his requirements, but I specifically don't want to use an auto-increment field in this particular case; I want the IDs to always be as low as possible. Reusing them won't cause any downstream issues. I'm going with getting the min and max IDs, adding 1 to the max ID in case there aren't any gaps, and then iterating over them to find the first missing available ID. The users in this application will rarely have more than a dozen or so folders so getting a list of their IDs and looping through them to find a gap will be pretty fast. If I had lists with thousands of IDs in t
  25. End User

    Available Numbers

    I'm looking at a similar problem, only dealing with folders instead of students. I want to reuse deleted folder id's instead of steadily incrementing them. Some searching has found these pages:This might work: http://www.utteraccess.com/forum/Find-miss...q-t1929836.htmlOr this:Google Groups And this also looked promising:http://www.fullposter.com/snippets.php?snippet=362Several solutions I found were kind of sleazy (i.e. brute force) but work as intended. One suggestion was to - get the MIN and MAX user_ids (student ids) and use range() to create an array with the full range of possible ids,
  • Create New...