Jump to content

Cronthenoob

Members
  • Posts

    312
  • Joined

  • Last visited

Everything posted by Cronthenoob

  1. Etch-a-sketch.net is available. Who says we should change our community project???
  2. it was just a guess :)You hurt my feelings :)j/k :)I found this on google! I don't know how old it is . . . . . I found this too. (it only works in Firefox, opera, and safari.<html><head> <title>Canvas Scribble</title> <style type="text/css"> /* <![CDATA[ */ body { -khtml-user-select:none; -moz-user-select:none; } #canvas { border:1px solid silver; } #button { width:750px; text-align:center; } /* ]]> */ </style> <script type="text/javascript"> /* <![CDATA[ */ var canvas, context; var x1, y1, x2, y2, dx, dy; function windowLoaded() { canvas = document.getElementById("canvas"); debug = document.getElementById("debug"); context = canvas.getContext("2d"); canvas.addEventListener("mousedown",mousePressed ,false); canvas.addEventListener("mouseup" ,mouseReleased,false); context.lineCap = "round"; context.lineJoin = "round"; context.lineWidth = 2; context.shadowBlur = 3; context.shadowColor = "#ff0000"; context.shadowOffsetX = 2; context.shadowOffsetY = 2; } function mousePressed(evt) { canvas.addEventListener("mousemove",mouseDragged,false); context.beginPath(); x1 = evt.pageX; y1 = evt.pageY; } function mouseDragged(evt) { x1 = x2; y1 = y2; x2 = evt.pageX; y2 = evt.pageY; context.beginPath(); // necessary for Opera 9.0beta. why??? context.moveTo(x1,y1); context.lineTo(x2,y2); context.stroke(); } function mouseReleased(evt) { canvas.removeEventListener("mousemove",mouseDragged,false); context.closePath(); } function clearCanvas() { context.clearRect(0,0, canvas.getAttribute("width"), canvas.getAttribute("height")); } /* ]]> */ </script></head><body onload="windowLoaded();"><canvas width="750" height="500" id="canvas"></canvas><input type="button" id="button" onclick="clearCanvas();" value="Clear"/></body></html>
  3. I'm guessing it was used in older hand held devices.
  4. Maybe it would submit points, and create a vector??? lol
  5. Ok try something like this.You'll obviously change the names to what you have in your database and add an action to the form. You can probably find a simple javascript to submit each feild automatically when the user selects something and so it remembers what they selected in each dropdown.But here is the general logic I could come up with. It should be a decent start if you know php :)P.S. I havnt tested it yet. <html><body><form><select name="industry"><option value="">---Industry---</option><?PHP $query="SELECT * from dropdown1"; $results = mysql_query($query); while ($e=mysql_fetch_array($results)) { echo "<option value='".$e[one_value]."'>".$e[one_value]."</option>"; }?></select><select name="product_cat"<?PHPif ($_REQUEST['industry'] != "") {echo ">";}else { echo "disabled>";} $query="SELECT two_value from dropdown2 where dropdown_one_id=$_REQUEST[dropdown1]"; $results = mysql_query($query); while ($e=mysql_fetch_array($results)) { echo "option value='".$e[two_value]."'>".$e[two_value]."</option>"; }?></form></body></html>
  6. It'd probably be best to put the state first, so you don't have to worry about using javascript to disable it, since its a static value.
  7. How many levels are there going to be? 3 levels?Also, do you have the database created already?
  8. New version looks way better! Nice work.
  9. Use this for the body tag, or you can put it into your CSS <body topmargin="0">orbody { margin-top:0px;}
  10. Cronthenoob

    divs

    Try adding another div around both of your divs and giving it a fixed width. <div style="width:800px"> <div>Something</div> <div>Something else</div></div>
  11. It is very much possible to make them database driven. I'm sure you can just add some database interaction instead it being hardcoded. You posted in the php forum so im assuming you are using php and mysql for the database. I can help you out if you are having problems with the queries. It shouldnt be too difficult :)Good luck!
  12. Check out this linkClick Me!Thats a "tutorial"Its not really a tutorial, they give you the code in a zip file, but I think thats the sort of thing you want.
  13. Well in firefox you can just install a mod and block any add you want!Click me!
  14. My conclusion:The layout is nice, but the images arent so great!And yes, who is that dude and why is he there?
  15. lol.It matches your anti IE campaign.
  16. Well if you don't need more than one or two pages you could place everything on a text file that can be edited. No database required.Just create .txt file in the folder you want. Use the fopen() function.Click Me!I've done something simliar, I can probably dig it up if you can't figure it out on your own. But you probably should if you want to learn something.
  17. Can you make the border on the table 1 and post a screenshot so I can see how you have it sliced. Its hard to tell :)I'm just totally confused right now, lol.
  18. Well, the easiest way is to download and install a prebuilt wiki software package onto your web server.I've never used one, but it looks like they are pretty customizable, and there are some free ones out there.
  19. Can you post the HTML table that you currently have? Its hard to tell what you have so far with just an image.Thanks.
  20. By blocky I mean the curves look like they are made with blocks. It'd look better if the edges were smooth. And also, the image background is a different color than the pages background color.
  21. I know everybody loves to use tableless layouts even though they can be a huge headache when you get into the more complicated designs. For this reason, if I run into a problem I can't fix after about an hour or two. I just end up using tables. Sure your file size will be larger, and maybe it'll take a little bit more time to load, but in the end, you don't have a headache and everthing was easier to get to look the way you wanted it.
  22. Well, the layout is pretty nice, I personally like it.The only problem I have is the quality of the images. Everything is very blocky. If you could improve the quality the site would be 100 times better.
  23. Have you tried using text-align:left in your navigation elements?
  24. Cronthenoob

    Net Zero

    From what i've seen, dial-up is dial-up. I feel sorry for you either way
  25. Try this function.Opendir()I've used it to make a list of files in a folder. I'm sure you can use it to display the images.
×
×
  • Create New...