Jump to content
Killersites Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About JasonDavis

  • Rank

Profile Information

  • Gender

Contact Methods

  • Website
  • Twitter
  1. Hey Ben, thanks for always answering! The tutorial is here: http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first I used their code in place of mine, and it works: http://www.jasonrobertdavis.net/ajax2/ I must have been making a syntax error. I agree the placement of the GET doesn't make sense, but I attributed it to me not knowing what I was doing yet.. Even after using their code it doesn't work locally on Chrome and FF - only when I upload it to my server. And IE throws an ActiveX warning. I'm going to abandon using Ajax for the site I wanted to use it on - if I can
  2. Hi all, I'm trying to learn how to perform an AJAX request. Here's my sample project: http://www.jasonrobertdavis.net/ajax1/ There are three files: index.html, ajax.js, and ajax.txt. I'm just trying to load some text from ajax.txt. I added an alert dialog box that says "see this?" to troubleshoot - and it's popping up several times. I would expect it to pop up just once as the mrAjax onreadystatechange function runs and replaces my div text. Also when running this on my local browser I get this error: XMLHttpRequest cannot load file://(shortened)/ajax.txt. Cross origin r
  3. I was still confusing myself on this issue, so I did some research and was able to find a corner border solution that I can understand. However, the site is not rendering correctly in IE. It looks fine in Chrome and Firefox. Any ideas? Site: www.jasonrobertdavis.net/cc
  4. Yea, I'm hesitant to use CSS3 to do this because of the legacy IE users. I've done it before, but this is a redesign of an existing site that uses corners. The corners were previously accomplished with tables, so I need to trash that method. Ben, thanks for the clarity on 2 and 3. So essentially, with that, we are applying TWO background images in different positions to the same DIV, right? Kind of a sneaky workaround to do that?
  5. Hi all, please reference my site for my issue: http://www.jasonrobertdavis.net/cc/ I used this site ( http://www.roundedcornr.com/ ) to generate some curved borders for myself, and realized in the process I'm missing something fundamental about CSS classes and DIVs. The HTML and CSS works properly, but I'm not satisfied to use someone else's code until I understand why this works. I cleaned it all up and still didn't get why it works. Questions: The HTML code only has DIVs for roundedcornr_top, roundedcornr_bottom, and roundedcornr_content. How on earth are the rest of
  6. Yep, I use Silver at Dreamhosting. Also, I second Google Analytics. Awesome tool.
  7. Agree with Ben on GoDaddy - steer clear! This is going to sound weird, but I have used the same host since 2005 - it's in England, and definitely not well-known. In fact, the site looks a tad.. sketchy But it's cheap, and offers a huge amount of free stuff via CPanel - WordPress installs, SQL installs, Wikis, Ruby, etc. Their support is also good - I get an email response in a few hours on average. Take a look - I love them: http://www.dream-hosting.co.uk/
  8. JasonDavis


    Hey JZL, are you sure just a giant list of functions is going to get you into coding? It might help to know the language first. I'm a complete Javascript noob, and I really like this book: http://www.amazon.com/Head-First-JavaScript-Michael-Morrison/dp/0596527748 The Head First series has an interesting philosophy on how to help you learn, vs. traditional books. It's full of silly graphics, drawings, and diagrams. Anyway, it's really helping me. Except that I'm hung up on pulling DOM objects out of HTML, which is an unanswered question in another forum post, lol.. Good luck!
  9. Hi everyone, Please reference this drop down menu that's broken: http://www.dinosaurindustries.com/menu/menu.html I have an unordered list with entries for types of dinosaurs. All fields except the top one are hidden. When I mouseover, I am trying to use a JavaScript function to change the visibility of the other list items to visible. function unhideChildren(parentid, childtype) { var parentAsElement = document.getElementById(parentid); var arrayOfChildren = parentAsElement.getElementsByTagName(childtype); var childCount = arrayOfChildren.length; for (i=0; i<=
  10. Brilliant! Thanks! Do you have a recommended debug tool to use, that told you the error so easily?
  11. Hi all, I'm a complete Javascript newbie trying to write a basic script: http://www.wvconfidential.com/temp/ All I'm trying to do is convert different types of flour from cups to grams. As you can see my constants indicate the weight equivalent for 1 cup converted to grams. Any ideas what I'm doing wrong? Thanks! Code of index.html: <html> <head> <title>The Flour Converter</title> <script type="text/javascript"> function convert() { const ALMOND = 112; const AMARANTH = 120; var almondCups = parseFloat(document.getElementById("a
  12. I agree with Andrea. One thing that has been extremely helpful to me as I've learned HTML and CSS is Google Chrome's "inspect element" tool. If you're more of a Firefox person I believe Firebug can do the same thing. Look at this screenshot from when I inspected that element of your site. See how Chrome is convinced your RSS image is 300x58? Something must not be closed prior to that.
  13. As always, THANKS! That did the trick. If you refresh your cache the page loads correctly: http://www.wvconfidential.com/test/ So a couple questions: why did that work? I understand the space problem. However, why did removing the height from the footer fix that part? And what does 'clear: both' have to do with anything? Just trying to understand. Andrea, about the <br> and &nbsp issue - what do I do for that part? Should I make those images a <div> as well, and give them their own padding, etc? Thanks!
  14. Hi all, I'm still trying to polish up my first hand-coded site using CSS. Here it is: http://www.wvconfidential.com/test/ So a few things are obviously wrong. Firstly, my mainframe element stretches out to the entire width of the page on Firefox. On Chrome and IE, it seems to look okay. Next, as you can see, my footer element is overlaying the reviews in all browsers. And third, more of a minor thing, in IE, I'm getting an ActiveX security warning regarding the "hack" that I tried to install in order to get the curved borders. Apparently IE doesn't natively support this
  15. Also another error in the code is your target, which should read: target="_blank" You have a dash instead of equals, so the hyperlink is using the current window instead.
  • Create New...