Jump to content

kid_epicurus

Members
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

1 Neutral

About kid_epicurus

  • Rank
    Newbie
  • Birthday August 21

Previous Fields

  • Languages
    PHP, JavaScript, CSS, HTML

Profile Information

  • Location
    Knoxville, TN
  1. The ASP server wasn't allowing code to be passed until validateRequest was set to false on the server.
  2. I have an HTML page that makes an HttpRequest to an ASP page that I currently have setup to simply return true. If the data is simple text (letter-body) it passes fine: Request Method: POSTStatus Code: 200 OKRequest HeadersAccept:*/*Accept-Encoding:gzip,deflate,sdchAccept-Language:en-US,en;q=0.8Connection:keep-aliveContent-Length:181Content-Type:application/x-www-form-urlencodedUser-Agent:Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36Form Dataletter-body:Testing some plain text. But as soon as I add any HTML to the letter-body value i
  3. Actually - it worked as far as filling in behind the content, but it's still not stretching to the extent of the window for pages with little content. Adding a height of 100% does the trick, but then on pages with tons of content it stops about 1/3 way down the page. margin-bottom: 0 works well on big content pages. <!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Talent</title><link rel="stylesheet" type="text/css" href="includes/stylesheet.css"><script src="includes/scripts.js"></script>
  4. I'm trying to have a centered <div> that always goes top to bottom, but as content is added it expands with the content. Thanks! Here's what I have so far. <!DOCTYPE HTML><html><head><title>My Site</title><style type="text/css">* {padding: 0;margin: 0;}html, body {height: 100%;}body {background-color: #999;}.container {position: relative;width: 1000px;height: 100%;margin-left: auto;margin-right: auto;background-color: #fff;}</style></head><body><div class="container"><h1>TESTING</h1><h1>TESTING</h1><
  5. Unfortunately there's lots of problems with CSS standardization in various browsers. Which specific problem are you running into?
  6. It looks like you're trying to avoid posting the top score by checking to see if the value of $i is 0 or not. Correct? If you want to take that route, you'll want to change... $itt; to $i++; Or you can grab the top score separately and leave it outside of your while() loop.
  7. I was wondering if there was a way to mark a post as an answer. I'm new here and not entirely familiar with the UI. Thanks!
  8. Like most people who post here, I'm new; but I've been coding with PHP, CSS, HTML, and JavaScript since 1999. Here to help where I can and I still have my own questions from time to time.
  9. Correct. I'm not specifying any "Shipped" just yet because it's not working properly and I just needed to get the columns I needed for now to get the chart working. I wasn't sure how to do a count on two different things (total orders and shipped orders) within the same table, so I resorted to a join on itself as the solution. Probably not the best approach, I admit. Here's the raw columns I'm referencing, if it helps. And here is what I'm wanting to output, except obviously the Shipping numbers will vary once I am able to count both total orders and shipped orders for each month/year.
  10. First, give your dropdowns some IDs so JavaScript knows how to talk to them. <select id="flarePriority"> and <select id="changeCategory"> for example. Then, create this JavaScript function. function changePriority(menu) { var menu2 = document.getElementById('changeCategory'); // check to see if the option has a value of 1 if (menu.options[menu.selectedIndex].value == 1) { // change the option for changeCategory (assuming Emergency is option 3) menu2.options[2].selected = true; }} Lastly, add the function to the onchange event on flarePriority.
  11. I have a table of orders. Each order has a status, one being "Shipped". The end goal is to take the data and push it into a chart showing total orders, shipped orders, and grouped by month/year. I can get the count of the orders and group them by month/year, but I'm not sure how to also include orders with the status of "Shipped". Any ideas? (The code I have now is counting the orders into a column called Orders and Shipped, but I know it's not actually grabbing shipped orders for the Shipped column. I just have it there for now so I could move on with populating a chart while I work on fixing
×
×
  • Create New...