Jump to content

virtual

Advanced Member
  • Posts

    876
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by virtual

  1. Eddie, would you care to explain a little more how that is done. I have a client who wants his site temporarily removed from public and SE view and access, but I need to be able to work on it and show him what's going on.

     

    My solution was to put a landing page as the hierarchy is http://sitename.com/default.htm or html and then move the whole site to a different folder (with a robots.txt file) but I'm concerned that might mess up the link to the database.. Your solution seems a little easier.

  2. I love the general look of the website and would just make a few comments:

     

    In the navigation FAQ's might look better than "Frequently Asked Question", which if you are going to keep it as is should be plural.

    Compared to the rest of the site, the footer logos are way too big, it seems to give them more importance than the actual site and text.

    The store would look more balanced if it was the full width of the site. If it has to stay that size then I would center it.

    The Gallery would look better with a full page (like the store) and a plugin like Fancybox which enlarges the images on click and automatically makes a scroll through gallery.

  3. Just a quick question, when I am developping Wordpress sites on MAMP and localhost, can I use the same username, password and email to login to the different sites, or do they each have to be different?

  4. I totally agree with Ben, the Mac is the superior machine and you do not have to change it every 2 - 3 years. Just update the OS. With an Intel Mac you have a PC too so you are getting two machines in one.

     

    As for running your Dreamweaver on it. That isn't a problem as you can always install it on the PC side. I have both DW and Photoshop on the PC side as well as on the Mac OS.

     

    Great piece of info about the free testing version Ben, I was wondering how to install IE9 without overwriting 7 and 8.

  5. I occasionally have to update a Drupal built site, using the CMS which the client does not know how or want to use. Not surprising, I have to call the Drupal programmers regularly because even I have a hard time using the CMS. Now that's daft, talk about a learning curve, it should be easy for the client.

  6. I would add that if your client requires his site be accessible on cell phones then you will have to adapt to that particular requirement. Otherwise as Ben said, if I am accessing a website from my phone it's because I want quick access and info, so I will zoom in to see the area that I'm interested in and not even look at the overall "eye candy"

  7. As per your previous post, my patience level is probably just like the Holy Spirit's, who might suggest you take another puff of whatever you were smoking and let him have one too....

     

    Are you looking for a coding critique or a design critique? Andrea will knock you into shape with the coding. As for the design, I would say it's a little bland, needs a little more imagination and more art. At least you have not fallen into the newb trap of flashing scrolling things. However your choice of font for the header is not very legible, the logo definitely needs work and the navigation would look better on one line only with a rollover effect. Also be very careful of spelling mistakes, they give a bad impression and running a spell check or a validation check is no big deal.

  8. I believe it ships with every new PC (for which I have another name) to give the new owner access to the internet and the possibility to then choose another browser. Which most people do not do.

  9. I had a good laugh at the "ladies" bit and totally agree with everyone here.

     

    If the code you are writing does not give you any problems across major browsers and platforms and only a few errors in IE (which everyone expects anyway) then you are definitely doing it the right way. So do not listen to your "friends" who are telling you otherwise.

     

    As for learning, to keep up in this every changing internet world, you will need to learn the basics of PHP and Jquery and all that information is usually out there on the web. Google is your friend. Books are outdated, nobody reads paper anymore, big bookstores are going out of business and everyone has a Kindle or Nook of some sort if they really want to read.

  10. I think jackmark is missing the mark....Designing work is not done in DW, that is done in Photoshop or Illustrator.

     

    DW is just a tool that can write (usually not very efficiently) the code necessary to display the design and functionality of a site. As LSW says, it may well have a future, but with the increase in demand for CMS sites, coders will not bother with an expensive tool like DW to write their code and their end user just needs a browser to change whatever he wants in a CMS based website.

     

    Just my 2 cents.

  11. One minute and still waiting for it to load..then it timed out. I checked Susie's link and it tells me that it's just me. So I punched it in again and then it did come up quickly. Definitely something wrong going on there though.

  12. Stef, that sounds really simple for someone who understands the language, but could you possibly explain that in English or preferably Javascript to me?

     

    JS is like Chinese to me, I don't speak or write it and am just barely able to implement it. My brain doesn't work that way unfortunately (even after several courses) although I am fluent in several human languages.

     

    But thank you for your time and for replying.

  13. I am using a fade transition which I have set to auto loop, but I would like it to stop after one loop. What do I need to change or add to the following JS. I have tried lots of different things but nothing has worked for me so far. Thanks for any help.

     

    // autoplay
    var autoPlayTimer;
    function restartPlay(){
    	stopPlay();
    
    	if (options.autoPlay)
    		autoPlayTimer = setTimeout(function(){
    				go(curIdx<elementsCount-1? curIdx+1: 0);
    				restartPlay();
    			}, 
    			options.delay + options.duration
    		);
    };
    function stopPlay(){
    	if (autoPlayTimer) clearTimeout(autoPlayTimer);
    	autoPlayTimer = null;
    };
    
    function forceGo(event, index){
    	stopPlay();
    	event.preventDefault();
    	go(index)
    	restartPlay();		
    }
    

  14. This is the error message from the source code,

    We are very sorry, but there were error(s) found with the form you submitted. These errors appear below.<br /><br />The Email Address you entered does not appear to be valid.<br /><br /><br />Please go back and fix these errors.<br /><br />

     

    As you can see it does not close the divs, body and html tag.

  15. Thanks Ben, I tried taking out the php include and it still doesn't close the divs. I can live without the footer content in the error message, I would just like it to close out the design which has a rounded background image.

     

    I tried your link but got a 404 message :(

  16. Hi Guys,

    Me again with another JS question. I changed the form I was using and now have a new one, but I cannot get it to show the rest of the page and the footer which is an include in the error message. Can anyone tell me where I went wrong? Thanks

     

    Here is the script

    $email_to = "o****ds@comcast.net";
       $email_subject = "Request from ****.com";
       $close_divs = '</div></div>
                         <div id="content-bottom"></div>
    <?php include ('includes/footer.php'); ?>
       </div><!-- END CONTENT -->
    </div>
    <!-- END CONTAINER -->
    </body>
    </html> ';   
    
    
    
       function died($error) {
           //  error code here
           echo "We are very sorry, but there were error(s) found with the form you submitted. ";
           echo "These errors appear below.<br /><br />";
           echo $error."<br /><br />";
           echo "Please go back and fix these errors.<br /><br />";
    echo $close_divs;	
           die();
       }
    
       // validation expected data exists
       if(!isset($_POST['name']) ||
           !isset($_POST['email']) ||
           !isset($_POST['telephone']) ||
           !isset($_POST['comments'])) {
           died('We are sorry, but there appears to be a problem with the form you submitted.');      
       }
    
    
       $name = $_POST['name']; // required
       $email_from = $_POST['email']; // required
       $telephone = $_POST['telephone']; // not required
       $comments = $_POST['comments']; // required
    
       $error_message = "";
       $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
     if(!preg_match($email_exp,$email_from)) {
       $error_message .= 'The Email Address you entered does not appear to be valid.<br />';
     }
       $string_exp = "/^[A-Za-z .'-]+$/";
     if(!preg_match($string_exp,$name)) {
       $error_message .= 'The Name you entered does not appear to be valid.<br />';
     }
     if(strlen($comments) < 2) {
       $error_message .= 'The Comments you entered do not appear to be valid.<br />';
     }
     if(strlen($error_message) > 0) {
       died($error_message);
     }
    
       $email_message = "Form details sent from g****o.com: \n\n";
    
       function clean_string($string) {
         $bad = array("content-type","bcc:","to:","cc:","href");
         return str_replace($bad,"",$string);
       }
    
    
       $email_message .= "Name: ".clean_string($name)."\n";
       $email_message .= "Email: ".clean_string($email_from)."\n";
       $email_message .= "Telephone: ".clean_string($telephone)."\n";
       $email_message .= "Comments: ".clean_string($comments)."\n";
    
    
    // create email headers
    $headers = 'From: '.$email_from."\r\n".
    'Reply-To: '.$email_from."\r\n" .
    'X-Mailer: PHP/' . phpversion();
    @mail($email_to, $email_subject, $email_message, $headers); 
    ?>
    
    <!-- success html here -->
    
    Thank you for contacting us. We will be in touch with you very soon.
    <?php
    }
    ?>
    

×
×
  • Create New...