Jump to content

cardfan

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Everything posted by cardfan

  1. Found the problem <div style="padding:5px 5px 5px 5px;" class="drkgreencopy" id="address" align="left"> </div> had &nbsb; in my html duh!
  2. me to, here's the error. should also include a link for your tech/webmaster email Site Temporarily Unavailable We apologize for the inconvenience. Please contact the webmaster/ tech support immediately to have them rectify this. error id: "bad_httpd_conf"
  3. what is there works on my end
  4. I'm not seeing anything in the assignments that is causing a space, here's the output from php to Javascript vars //populate address info var streetNum = "<?php echo trim($row_results['streetnum']);?>"; var street = "<?php echo trim($row_results['street']);?>"; var crossStreet = "<?php echo trim($row_results['crossstreet']);?>"; var suiteNum = "<?php echo trim($row_results['suitenum']);?>"; var city = "<?php echo trim($row_results['city']);?>"; var state = "<?php echo trim($row_results['state']);?>"; var zip = "<?php echo trim($row_results['zip']);?>"; ************ Here's the page source //populate address info var streetNum = "1025"; var street = "test street"; var crossStreet = "test cross street"; var suiteNum = "205"; var city = "Columbia"; var state = "MO"; var zip = "65203"; ************* here's another sample of the indented output (space before the ampersand is ok, but the space before the 1025 is my issue can not get rid of it) 1025 test street & test cross street Suite Number 205 Columbia, MO 65203 ************* Here's the function function outputAddress(){ var strAddress=""; var txtNode; //txtNode = document.createTextNode(addrTxt); if(streetNum != ""){ strAddress = streetNum +" "+street; } else{ strAddress = street; } //insert text txtNode = document.createTextNode(strAddress); document.getElementById("address").appendChild(txtNode); //add break here var lineBreak = document.createElement("br"); document.getElementById("address").appendChild(lineBreak); if(crossStreet != ""){ strAddress = " & "+crossStreet; //insert text txtNode = document.createTextNode(strAddress); document.getElementById("address").appendChild(txtNode); //add break here var lineBreak = document.createElement("br"); document.getElementById("address").appendChild(lineBreak); } if(suiteNum != ""){ strAddress = "Suite Number "+suiteNum; //insert text txtNode = document.createTextNode(strAddress); document.getElementById("address").appendChild(txtNode); //add break here var lineBreak = document.createElement("br"); document.getElementById("address").appendChild(lineBreak); } strAddress = city + ", " + state +" "+ zip; //insert text txtNode = document.createTextNode(strAddress); document.getElementById("address").appendChild(txtNode); //add break here var lineBreak = document.createElement("br"); document.getElementById("address").appendChild(lineBreak); } Thanks for looking at it rhodesa
  5. Having a problem with createTextNode, every area of my document using createTextNode leaves a space on the first line when there is multiple lines of ouput, this leaves the 2nd line out of alignment. ...any ideas? Have no style formatting or anything else that would effect the output Thanks ////////////////////////////////////////////////////////////////////////////// output test test, AK 22222 ///////////////////////////////////////////////////////////////////////////////// Here's a snippet of the code if(streetNum != ""){ strAddress = streetNum +" "+street; } else{ strAddress = street; } //insert text txtNode = document.createTextNode(strAddress); document.getElementById("address").appendChild(txtNode); //add break here var lineBreak = document.createElement("br"); document.getElementById("address").appendChild(lineBreak); if(crossStreet != ""){ strAddress = " & "+crossStreet; //insert text txtNode = document.createTextNode(strAddress); document.getElementById("address").appendChild(txtNode); //add break here var lineBreak = document.createElement("br"); document.getElementById("address").appendChild(lineBreak); }
  6. Thanks, I'll give that a try and see what happens
  7. I have been developing a new website locally on a win machine using Dreamweaver. When I upload folders/images, permissions are restricted, permissions are fine when folders and images are uploaded via php script and html form using cmod to set those permissions. Since I want to populate DB and ad images locally(much faster) how do I upload and have permissions set correctly when I upload entire site via Dreamweaver. I've searched several forums can't really find a solution that meets my needs. I know Dreamweaver is an ftp client, but using the set permissions option doesn't work on our server. So my question is: What is the best way to upload all (several hundred items) and have or preserve the permissions without having to manually edit each one on the server. Thanks for any help, hints, solutions
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.