Jump to content

skaterdav85

Members
  • Content Count

    874
  • Joined

  • Last visited

Everything posted by skaterdav85

  1. well i changed my code completely, so i was curious about the old way i had it...I just changed it just by floating each div element to the right and recreating the mockup from the most right images to the left. That seemed to work better. This was the first time i sliced up a mockup site into several images and put them into a table-less layout.
  2. oh ok. i didnt know that. so if i just put this all on one line of code, there would be no space and it be fine?
  3. what line break? i dont have a line break in my code.
  4. <style type="text/css">body { background-color:#333;}#main { margin:10px auto; width:720px; background-color:#FFF;}div { margin:0; border:0;}#left { width:61px; height:540px; border:2px solid yellow; background-color:#F00; display:inline; vertical-align:middle;}#divider { height:540px; width:16px; display:inline; border: 2px solid yellow; display:inline; vertical-align:middle;}</style></head><body><div id="left"><img src="site_images/left_sidebar.jpg" width="61" height="540" /></div><div id="divider"><img src="site_images/divider.jpg" width="16" height="540" /></div></body></html> see how there is gap between those 2 divs that hold images...whats going on????
  5. what if i changed the graphic, added a graphic of a screenshot of an example search with the map, and changed some of the colors? do you think that would help make it not look like a parked domain?
  6. ok thanks...so what exactly is going on here? I have 2 divs side by side, both with images, and there is this small gap in between them even though i set the margin and padding to 0 on both the divs and images.
  7. Does anyone know what the default property values are for the image tag, if not equal to 0 for some of the browsers? Im noticing image gaps in some of my pages where i put a cup-up mock up images in several div tags.Also, is there any site that tells you what the different default css property values are for all the html tags for the main browsers (FF, IE, Safari)?
  8. Does anyone have a good tutorial and/or book recommendations for learning how to create mysql stored procedures and use them in php?
  9. so could you guys give me some tips as to how to make it not look like parked domain? I'll get to the validation eventually.
  10. just curious...but dont most sites just use a forum thats already been created and configure it with the settings and look they want? A forum sounds like a lot of work to make esp since its a common thing used.
  11. skaterdav85

    Gd Library

    Does ImageMagick come installed w/ things like XAMPP or MAMP? I know the GD Library version 2.0.34 is included in MAMP. Which is used more?
  12. skaterdav85

    Gd Library

    Is the most recent version of the gd library for php version 2.0.34? Does anyone know if it is installed on most web servers like godaddy? Anyone have any comments on using the GD Library? I just started learning it so I'd like to hear anyone's comments on their experience with it.
  13. ya...good point. bad habits are hard to break haha. Its hard to validate it too when you have a bunch of php in your code and your php generates a bunch of html. But i use css tableless layouts with DIVs and always open and close tags.
  14. I guess i should have been more specific. I know what validating HTML is. I do try my best to write clean XHTML/CSS, but I rarely validate because its a pain in the ######. As of now, my site works well in IE, FF, and safari, which is good enough for now. Does anyone have other suggestions regarding design, the colors, arrangement and page layout, graphics (i know mine sucks haha), or other functionalities that would be a good addition to increase user activity?
  15. What do you mean by a parked domain? Im not familiar with that term. Also, why would validating my HTML do anything?
  16. http://followthemusic.netI created this site for a school project and I was thinking of expanding it. What are your thoughts on the current state and maybe you could offer some suggestions as to what new modules I could add for more functionality or design issues.Right now its using the following web services:Google Maps Eventful.com Amazon Flikr (I know my graphic is weak, but im in the process of getting someone else to do that haha)Thanks!
  17. have you read that 2nd book?
  18. look at this page ajax example at w3schools<html><body><script type="text/javascript">//get the value from the input w/ id 'username'var user_name = document.getElementById('username').value;function ajaxFunction(){var xmlhttp;if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); }else if (window.ActiveXObject) { // code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }else { alert("Your browser does not support XMLHTTP!"); }xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4) { document.myForm.time.value=xmlhttp.responseText; }}//attach the form value to the page you are making the ajax request to with the get method xmlhttp.open("GET","time.asp?username="+user_name,true);xmlhttp.send(null);}</script><form name="myForm">Name: <input type="text" name="username" id='username' onkeyup="ajaxFunction();" />Time: <input type="text" name="time" /></form></body></html> Now you can access the variable 'username' in your php script via the GET method. To make the image appear, just create a span next to the input field and set the innerHTML of the span to the image depending on what happens in the request.
  19. well thats going to use ajax. you'll use an event handler like onkeyup to call a JS function, which does an ajax call to your php processing page, which will take the username in your form field and check in the database if it exists or not. you should look at the ajax tutorials for how to do that.
  20. So my site is using the Amazon web service via SOAP and disseminating via PHP. I got an email about needing to authenticate all calls to the API. I tried looking at the documentation and how to do this but I didnt get it. Has anyone done this or understand what to do? This was the email: here is the developer api guide
  21. Go with PHP. I started off doing CF, and CF is great for learning the concepts of database web development and server-side scripting, but its expensive to host your own sites, and imo the CF community isnt very helpful. It seems easier to get help in PHP than CF. Plus, its way closer to JS than CF.
  22. You could also use HTTP authentication, which uses the $_SERVER superglobal....and you dont need to create a login page.
  23. I learned basic Javascript, then moved onto php/mysql since that allows for more functional web sites, and ive learned basic jQuery ajax stuff. I found that to be really useful. The syntax for jQuery is kind of funny and its confusing reading the documentation online in my opinion.
  24. I did that on my site for the contact page ... all i do is check each input on key up/down and see if its empty or not. The email checks for an '@' and a '.' see here at http://followthemusic.net/contact.php
  25. In my opinion, online web development classes ######. I took several at a community college (because i needed to be a full time student for health insurance), and the teacher basically just managed the class and told us to read the book. If you're a beginner, check out the Head First books for web development languages. Those are pretty fun and interesting for learning.
×
×
  • Create New...