Jquery mobile site shows up tiny on iPhone

Help!  I create a new jquery mobile site in Dreamweaver CS6. Save and upload all files.  I can see everything but it's super tiny!  What's going on?!
Here's a link to my "fake" site. http://kcwebxpert.com/adultlearner/mobile/
and this one.. I can change the themes no problem but still shows up tiny.
http://kcwebxpert.com/adultlearner/test/

I am having the same problem with my site looking tiny on the iphone and on the Samsung Galaxy.  Other phones that I have tried looks fine.  Does anyone have a suggestion?  I really need help with this one.  The regular site I designed is fine, but the mobile site is really frustrating. 

Similar Messages

  • Why does my mobile site only display in the iPhone and not the Samsung Galaxy?

    Hi,
    I created a mobile version of my Muse site. After publishing it to the temporary Catalyst site, I went to view it on my Samsung Galaxy Victory; it displayed properly the first couple of times I viewed it. Then I made some changes and re-published it and I can only see the desktop version on my phone. I tested it on my co-worker's iPhone and the mobile site displayed correctly on her phone.
    Any insight??
    Thanks,
    Myriam

    Hi Myriam,
    This is most likely the browser cache and cookie issue on your mobile browser. Please clear the browser cache as well as delete the cookies and then try.
    Cheers!
    Aish

  • Mobile Site Now Takes Over on iPhone

    On my iPhone, this jumped up in place of the normal site this morning:
    Unfortunately, I cannot seem log in, nor can I find a place where I can just get back the regular standard site.
    Honestly, I'd just prefer to be able to set an option to allow me to use the standard, normal interface, as zooming works just fine.
    Oh, and the following isn't happy news for me either, as I prefer to keep Private Browsing turned on on my iPhone.
    -Noel

    Seems to be back to normal now.  Thanks.
    -Noel

  • JQuery Mobile on Phone Gap for Android DW CS 5.5

    Hi,
    I thought that I should take my dynamic Jquery Mobile site to the test as a native application by building it with the Dreamweaver CS 5.5 Phone Gap extension. Building it and getting it up as an application on the Android SDK emulator was pretty straightforward.
    The Jquery Mobile site consists of 1 multipage page starting with a login form (userid, password and a submit button). The PHP page with the MySQL database access is called using AJAX. If login successful, PHP returns an XML array with a number of categories that will be listed (ul/li) on the subsequent page. Now, this is all we need to know for now.
    The corresponding Phone Gap application loads fine on the Android emulator, a click on the app icon kicks off the splash page and the login form comes up exactly like it does when run as a Jquery Mobile web page but nothing happens when I click the submit button. Trying to understand I started the emulator loggin (adb logcat) and found this (I am listing only the latest log items):
    ===
    I/InputDispatcher(   74): Dropped event because it is stale.
    D/dalvikvm(   74): GC_CONCURRENT freed 525K, 14% free 9234K/10695K, paused 37ms+46ms
    D/dalvikvm(  396): GC_CONCURRENT freed 896K, 13% free 6997K/8007K, paused 23ms+40ms
    D/dalvikvm(  137): GC_CONCURRENT freed 457K, 6% free 7729K/8199K, paused 24ms+11ms
    D/SntpClient(   74): request time failed: java.net.SocketException: Address family not supported by protocol
    W/webview (  396): Stale touch event ACTION_DOWN received from webcore; ignoring
    W/webview (  396): Got ACTION_DOWN but still waiting on stale event. Catching up.
    W/webview (  396): Stale touch event ACTION_DOWN received from webcore; ignoring
    ===
    Every time I click/tap the submit button I get "Stale touch event..." which I strongly relate to that nothing happens.
    Anyone tried this (Phone Gapping Jquery Mobile) or having a clue of where to look next?
    Thanks
    /Ralf

    wow....Matt is has been a while since i first build the sample app using the jquery mobile and phonegap in DW5.5. Since I faced lots of challenge with getting the app to talk to mysql, i decided to go with "Flash Builder 4.5.1". I have already develped and deployed both android and ios app using flash builder.
    I don't recall how i develped the sample app with jquery mobile and phonegap in DW5.5. As far as i can recall...i followed a tutorial provided on Adobe Developer Connection under DW5.5. I don't have the link anymore...i will try to find it for you.

  • Fluid grid vs jquery mobile graphic

    Same graphic, a .png file I have set the width and height to zero (after trying a few 100% etc)
    No the fluid grid it scales beautifully but not on the Jquery Mobile site I am using to learn on. both are in Dreamweaver 6. It was hoped the  graphic would resize without having to resort to media queries or? The jquery stuff resizes like a damn but the header graphic - not so much.
    Thanks in advance
    Greg

    Thank you Nancy O.
         I already had the img src as you suggested and had specified the sizes in css as percentages. As I changed the css to your suggestions, I was elated to find that on screen, the header image resized to fit the screen size. That elation was somewhat short lived however as I tried "Live View" and Bango, it went back to it's nasty ways. I have not specified anything else  at this point in the css, preferring to get some experience with Jquery Mobile, before any external styling. It seems to take an old guy a bit longer . . . . .
    my early experiments are found here
    stonemeadow.ca/Mobile/mobile-1.htm
    Thanks for your time

  • Mobile site rendering wrong on iPhone and showing desktop on android.

    Hello,
    I'm working on a very simple site located at www.icebreakercardgame.com.
    The desktop site works great, but I'm having problems with the mobile version:
    On android, the site does not automatically redirect users to the mobile version.  However, when the address is entered manually, the mobile version renders properly.
    On iPhone, the site does not render properly.  Things scale incorrectly and the alignment is ruined.
    Any suggestions?
    Thanks,
    Brian

    Provide the name of the program you are using so a Moderator may move this message to the correct program forum
    This Cloud forum is not about help with program problems... a program would be Photoshop or Lighroom or Muse or ???

  • Phonegap Build service for jquery mobile themed page not showing on mobile

    I am trying to use jQuery mobile inside the Adobe Dreamweaver CC and then use phonegap build service to deploy the application to my phone. The issue here is that the Dreamweaver design panel is showing the jQuery Mobile UI but the application APK which is deployed over the phone does not.
    Please find below the screenshot of Dreamweaver CC with design and code panel.
    http://stackoverflow.com/questions/17334492/adobe-dreamweaver-cc-phonegap-build-service-is sue
    Find below the entire index.html code:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>jQuery Mobile Web App</title>
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.theme-1.0.min.css" rel="stylesheet" type="text/css"/>
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.structure-1.0.min.css" rel="stylesheet" type="text/css"/>
    <link href="jQueryAssets/jquery.ui.core.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.theme.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.accordion.min.css" rel="stylesheet" type="text/css">
    <script src="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile-1.0.min.js" type="text/javascript"></script>
    <script src="jQueryAssets/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="jQueryAssets/jquery-ui-1.9.2.accordion.custom.min.js" type="text/javascript"></script>
    </head>
    <body>
    <div data-role="page" id="page">
        <div data-role="header">
            <h1>Page One</h1>
        </div>
        <div data-role="content">  
            <ul data-role="listview">
                <li><a href="#page2">Accenture</a></li>
                <li><a href="#page3">Digital</a></li>
                <li><a href="#page4">CASF RIA</a></li>
                <li><a href="#page5">Hybrid Applications using PhoneGap</a></li>
            </ul>      
        </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page2">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>ACCENTURE Page</h1>
        </div>
        <div data-role="content">
          <div data-role="fieldcontain">
            <label for="selectmenu" class="select">Select Technology Areas:</label>
            <select name="selectmenu" id="selectmenu">
              <option value="option1">Digital</option>
              <option value="option2">Oracle</option>
              <option value="option3">Mobile</option>
            </select>
          </div>
          <div data-role="fieldcontain">
            <label for="slider">Value:</label>
            <input type="range" name="slider" id="slider" value="0" min="0" max="100" />
          </div>
          <div data-role="fieldcontain">
            <label for="flipswitch">Option:</label>
            <select name="flipswitch" id="flipswitch" data-role="slider">
              <option value="off">Off</option>
              <option value="on">On</option>
            </select>
          </div>
          <div data-role="collapsible-set">
            <div data-role="collapsible">
              <h3>Header</h3>
              <p>Content</p>
            </div>
            <div data-role="collapsible" data-collapsed="true">
              <h3>Header</h3>
              <p>Content</p>
            </div>
            <div data-role="collapsible" data-collapsed="true">
              <h3>Header</h3>
              <p>Content</p>
            </div>
          </div>
        </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page3">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>DIGITAL Page</h1>
        </div>
        <div data-role="content">  
        <div id="Accordion1">
          <h3><a href="#">Section 1</a></h3>
          <div>
            <p>Content 1</p>
          </div>
          <h3><a href="#">Section 2</a></h3>
          <div>
            <p>Content 2</p>
          </div>
          <h3><a href="#">Section 3</a></h3>
          <div>
            <p>Content 3</p>
          </div>
        </div>
    Content </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page4">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>CASF RIA</h1>
        </div>
        <div data-role="content">
          <ol data-role="listview" data-inset="true" data-split-icon="arrow-d">
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
          </ol>
    Content </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page5">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>HYBRID APPLICATIONS using PhoneGap</h1>
        </div>
        <div data-role="content">
          <div data-role="fieldcontain">
            <label for="email">Email:</label>
            <input type="email" name="email" id="email" value=""  />
          </div>
    Content </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <script type="text/javascript">
    $(function() {
        $( "#Accordion1" ).accordion();
    </script>
    </body>
    </html>
    This is how it looks in device:
    This is how it looks in the mobile devices:
    Could anyone please help?

    Try defining a site and then create the mobile themed page within that site and DW will copy all the assets relative to the site path and will not be as its in your current page.
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.theme-1.0.min.css" rel="stylesheet" type="text/css"/>
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.structure-1.0.min.css" rel="stylesheet" type="text/css"/>
    HTH
    --Bhawna

  • Mobile version of site shows extended browser fill

    I have a little problem I was wondering someone might be able to help me out with.
    www.communitychestscpr.com/index.hml
    www.communitychestscpr.com/phone/index.html
    on the mobile version of this site I have made, there are a couple of instances, Home, Pricing and Contact, where the length of the page seems too long, to where the site shows too much of the brower fill, and extends the length of the page for some unknown reason.
    Any thoughts on what might be causing this and how to fix it are very welcome.
    Regards.

    Hi Vinayak,
    I have been testing it on my iphone 4s. The website is up and running. I don't believe it is the sticky footer thing which is the problem. The master page displays at a certain length - what is the minimal page length (as there is no content on there which is making it longer), but it seems that this does not correspond to the length of pages in the file - so that shorter pages which should fit perfectly onto the master end up having a space beneath the content and above the footer.
    Shows the website on the Home Page, and the empty space beneath the content (and above the footer):
    Shows the website on the Pricing Page, and the empty space beneath the content (and above the footer):
    Shows the website on the Certification Home page, and no empty space beneath the content (and above the footer):

  • Safari 5.1.2 showing mobile site on macbook pro

    I keep having a an issues where my web pages look like this:
    Here is what I've tried:
    1. Open your Safari web browser by clicking on the Safari icon in the dock.
    2. Click on Safari in your Safari menu, located at the top of your screen.
    3. A drop-down menu will now appear. Choose the... option labeled Reset Safari....
    4. A warning dialog will now appear detailing the items that will be removed.
    5. Click the button on the dialog labeled Reset to complete the process.
    6. Your Safari browser will now restart automatically.
    *didn't work*
    Then I tried:
    From your Safari menu bar click Safari / Preferences - Advanced and make sure the Develop mode box is not checked. That way Safari will only load from your currently installed Safari version.
    And from your Safari menu bar click Safari / Reset Safari. Select the top 7 buttons, click Reset.
    *didn't work*
    Any suggestions would be helpful.
    Running Safari 5.1.2

    I have the same problem on all browers, not just Safari. Some sites default to mobile (CNN, Weather.com among others), flagging user agent in Develop does not change the mobile default. Mac Genius Bar suggested reinstalling Snow Leopard could resolve the issue, installing Lion would certainly cure. Neither worked, Safari, Firefox, Chrome, Opera--all default to mobile on certain sites. I could live with the mobile sites, but losing view on WordPress is a pain (only html view shows now).

  • Is it possible to make a link in a mobile site close the browser window on the iPhone?

    I'm developing a mobile site specifically for iPhone users and on my home page I have a disclaimer saying something like do not browse this site while driving. I give them the option to continue by clicking a link or to close the browser by clikcinga link. So far I haven't been able to find a script that can handle that for mobile, or more specifically, the iPhone. Can this be done on the iPhone and what versions are limited to this feature?

    Ok let me ask you IF the IT department of your workplace does NOT want OS X installed on "THEIR" (The Companies) computers because of what they think is some type of security issue why are you trying to go against their wishes and install OS X on a computer that is NOT owned by you.
    That could cost you your job.
    If you continue down this path you will screw up the Windows install and have to take the system back to the IT department to get it fixed. What do you think they will say at that point?
    Do as you like but you would be better off just buying your own Mac computer if you are set on using OS X as your personal operating system.

  • Iphone 6 mobile site set up

    Hello,
    I have a few question and I was hoping someone could help.
    My first is what do I set up my mobile site to pixel wise? Apple says is 1334 x 750 would I lay it at half that size and use the HIPD 2X setting to double it? What about the PPI? 326?
    Also, my mobile site is an extension of my portfolio and all my samples are mostly horizontal so is there a way to get the site to fall with the full frame when turned  horizontally. It works fine now but you have to slide the sample to the center of the screen which works great because it is large enough to see and it is the same proportions.
    Thanks.

    Apple gives you all that:
    http://www.apple.com/iphone/compare/
    For accuracy work in pixels based on your screen resolution.
    You can always take a screen snap on your phone to use as a guide and there are plenty of wireframes available for iPhone development.
    Peter

  • Mobile site loads tiny then gets bigger

    Wondering if there is a solution besides using a preloader for the way that the mobile site loads...it first loads very tiny in the corner of the screen, then gets bigger to fill the screen.

    I'm not absolutely sure why that's happening. The only thing I can think is the size of the background image is causing it to render slower than it does on the desktop. Maybe try a smaller image and see if that makes a difference.
    Nice site, by the way!
    David

  • HT4528 Iphone hacked and remotely controlled on yahoo mobile site

    I went to the yahoo mobile site on my iphone 4S through safari and someone took over the key board and started typing into the yahoo search field a message really fast.  My i phone is not jail broken that I know of.  I have not seen any sms with square text.
    What can I do?

    Thanks KiltedTim,
    I shut off my phone before I saw the end of the ad.  I am glad you responded because I would not have turned on my phone and gone back to yahoo's mobile site. 
    My first reaction to seeing someone take over my phone was hacker,,, not ghost.
    It seems obvious to me that many others will react the same way to that ad.  Unfortunatly, others might jump to the conclusion they need to protect their identities and take drastic and damaging actions like clearing their phones, and changing credit information bacause of an ad that (in my opinion) was not thought out very well.
    This seems like something bound to end up in a lawsuit. 

  • On Mobile - the SharePoint site shows "Please come back later" - on Desktops it works fine?

    Hi there,
    Any clue why this happens to my SP 2010 site - On Mobile - the SharePoint site shows "Please come back later" - on Desktops it works fine?
    Thanks in advance.

    Hi,
    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
    Have a great day!
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How do i change the path of data ajax false from returning to homepage, when using a PHP mail form in jquery mobile?

    I have a put a php mail form in the quote page of my mobile site. However when i send the form it returns to the route page rather than the quote page, i have used the data ajax false action as i dont want to send via ajax. i have left the thanks page blank as i want it to remain on the same page showing sent or declined message.  Can someone help please? 
    <?php
    // OPTIONS - PLEASE CONFIGURE THESE BEFORE USE!
    $yourEmail = "[email protected]"; // the email address you wish to receive these mails through
    $yourWebsite = "www.firstcalltransport.co.uk"; // the name of your website
    $thanksPage = ''; // URL to 'thanks for sending mail' page; leave empty to keep message on the same page
    $maxPoints = 4; // max points a person can hit before it refuses to submit - recommend 4
    $requiredFields = "name,email,collection,delivery,comments"; // names of the fields you'd like to be required as a minimum, separate each field with a comma
    // DO NOT EDIT BELOW HERE
    $error_msg = array();
    $result = null;
    $requiredFields = explode(",", $requiredFields);
    function clean($data) {
      $data = trim(stripslashes(strip_tags($data)));
      return $data;
    function isBot() {
      $bots = array("Indy", "Blaiz", "Java", "libwww-perl", "Python", "OutfoxBot", "User-Agent", "PycURL", "AlphaServer", "T8Abot", "Syntryx", "WinHttp", "WebBandit", "nicebot", "Teoma", "alexa", "froogle", "inktomi", "looksmart", "URL_Spider_SQL", "Firefly", "NationalDirectory", "Ask Jeeves", "TECNOSEEK", "InfoSeek", "WebFindBot", "girafabot", "crawler", "www.galaxy.com", "Googlebot", "Scooter", "Slurp", "appie", "FAST", "WebBug", "Spade", "ZyBorg", "rabaz");
      foreach ($bots as $bot)
      if (stripos($_SERVER['HTTP_USER_AGENT'], $bot) !== false)
      return true;
      if (empty($_SERVER['HTTP_USER_AGENT']) || $_SERVER['HTTP_USER_AGENT'] == " ")
      return true;
      return false;
    if ($_SERVER['REQUEST_METHOD'] == "POST") {
      if (isBot() !== false)
      $error_msg[] = "No bots please! UA reported as: ".$_SERVER['HTTP_USER_AGENT'];
      // lets check a few things - not enough to trigger an error on their own, but worth assigning a spam score..
      // score quickly adds up therefore allowing genuine users with 'accidental' score through but cutting out real spam
      $points = (int)0;
      foreach ($badwords as $word)
      if (
      strpos(strtolower($_POST['comments']), $word) !== false ||
      strpos(strtolower($_POST['name']), $word) !== false
      $points += 2;
      if (strpos($_POST['comments'], "http://") !== false || strpos($_POST['comments'], "www.") !== false)
      $points += 2;
      if (isset($_POST['nojs']))
      $points += 1;
      if (preg_match("/(<.*>)/i", $_POST['comments']))
      $points += 2;
      if (strlen($_POST['name']) < 3)
      $points += 1;
      if (strlen($_POST['comments']) < 15 || strlen($_POST['comments'] > 1500))
      $points += 2;
      if (preg_match("/[bcdfghjklmnpqrstvwxyz]{7,}/i", $_POST['comments']))
      $points += 1;
      // end score assignments
      foreach($requiredFields as $field) {
      trim($_POST[$field]);
      if (!isset($_POST[$field]) || empty($_POST[$field]) && array_pop($error_msg) != "Please fill in all the required fields and submit again.\r\n")
      $error_msg[] = "Please fill in all the required fields and submit again.";
      if (!empty($_POST['name']) && !preg_match("/^[a-zA-Z-'\s]*$/", stripslashes($_POST['name'])))
      $error_msg[] = "The name field must not contain special characters.\r\n";
      if (!empty($_POST['email']) && !preg_match('/^([a-z0-9])(([-a-z0-9._])*([a-z0-9]))*\@([a-z0-9])(([a-z0-9-])*([a-z0-9]))+ ' . '(\.([a-z0-9])([-a-z0-9_-])?([a-z0-9])+)+$/i', strtolower($_POST['email'])))
      $error_msg[] = "That is not a valid e-mail address.\r\n";
      if (!empty($_POST['url']) && !preg_match('/^(http|https):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\ /?/i', $_POST['url']))
      $error_msg[] = "Invalid website url.\r\n";
      if ($error_msg == NULL && $points <= $maxPoints) {
      $subject = "Automatic Form Email";
      $message = "You received this e-mail message through your website: \n\n";
      foreach ($_POST as $key => $val) {
      if (is_array($val)) {
      foreach ($val as $subval) {
      $message .= ucwords($key) . ": " . clean($subval) . "\r\n";
      } else {
      $message .= ucwords($key) . ": " . clean($val) . "\r\n";
      $message .= "\r\n";
      $message .= 'IP: '.$_SERVER['REMOTE_ADDR']."\r\n";
      $message .= 'Browser: '.$_SERVER['HTTP_USER_AGENT']."\r\n";
      $message .= 'Points: '.$points;
      if (strstr($_SERVER['SERVER_SOFTWARE'], "Win")) {
      $headers   = "From: $yourEmail\r\n";
      } else {
      $headers   = "From: $yourWebsite <$yourEmail>\r\n";
      $headers  .= "Reply-To: {$_POST['email']}\r\n";
      if (mail($yourEmail,$subject,$message,$headers)) {
      if (!empty($thanksPage)) {
      header("Location: $thanksPage");
      exit;
      } else {
      $result = 'Your mail was successfully sent.';
      $disable = true;
      } else {
      $error_msg[] = 'Your mail could not be sent this time. ['.$points.']';
      } else {
      if (empty($error_msg))
      $error_msg[] = 'Your mail looks too much like spam, and could not be sent this time. ['.$points.']';
    function get_data($var) {
      if (isset($_POST[$var]))
      echo htmlspecialchars($_POST[$var]);
    ?>
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="CSS/stylesheetnew.css" rel="stylesheet" type="text/css">
    <link href="../jquery-mobile/jquery.mobile-1.0a3.min.css" rel="stylesheet" type="text/css">
    <script src="../jquery-mobile/jquery-1.5.min.js" type="text/javascript"></script>
    <script src="../jquery-mobile/jquery.mobile-1.0a3.min.js" type="text/javascript"></script>
    <style type="text/css">
      p.error, p.success {
      font-weight: bold;
      padding: 10px;
      border: 1px solid;
      p.error {
      background: #ffc0c0;
      color: #F00;
      p.success {
      background: #b3ff69;
      color: #4fa000;
    </style>
    </head>
    <body>
    <div data-role="page" id="home">
      <div data-role="header" data-position="fixed">
       <h1>FIRSTCALL TRANSPORT</h1>
    </div>
        <div data-role="navbar" data-position="fixed">
                                    <ul>
                                      <li><a href="#about">About</a></li>
                                      <li><a href="#services">Services</a></li>
                                      <li><a href="#contact">Contact</a></li>
                                      <li><a href="#quote">Quote</a></li>
                                    </ul>
      </div>
      <div data-role="content"> </div>
         <div data-role="footer" data-position="fixed" > </div>
    </div>
    </div>
    <div data-role="page" id="quote">
      <div data-role="header" data-position="fixed">
        <h1>GET A QUOTE</h1>
      </div>
      <div data-role="content">
       <?php
    if (!empty($error_msg)) {
      echo '<p class="error">ERROR: '. implode("<br />", $error_msg) . "</p>";
    if ($result != NULL) {
      echo '<p class="success">'. $result . "</p>";
    ?>
    <form action="<?php echo basename(__FILE__); ?>" method="post" data-ajax="false"  >
    <noscript>
      <p><input type="hidden" name="nojs" id="nojs" /></p>
    </noscript>
    <p>
      <label for="name">Name: *</label>
      <input type="text" name="name" id="name" value="<?php get_data("name"); ?>" /><br />
      <label for="email">E-mail: *</label>
      <input type="text" name="email" id="email" value="<?php get_data("email"); ?>" /><br />
            <label for="company">Company:</label>
      <input type="text" name="company" id="company" value="<?php get_data("company"); ?>" /><br />
      <label for="collection">Collection: *</label>
      <input type="text" name="collection" id="collection" value="<?php get_data("collection"); ?>" /><br />
        <label for="delivery">Delivery: *</label>
      <input type="text" name="delivery" id="delivery" value="<?php get_data("delivery"); ?>" /><br />
      <label for="comments">Message: *</label>
      <textarea name="comments" id="comments" rows="5" cols="20"><?php get_data("comments"); ?></textarea><br />
      <input type="submit" name="submit" id="submit" value="Send" <?php if (isset($disable) && $disable === true) echo ' disabled="disabled"'; ?> />
    </p>
    </form>  </div>
         <div data-role="footer" >  </div>
      </div>
      </div>           
    </body>
    </html>

    My wife has left me for four weeks, favouring to be with our son who lives 4,000 km away. I now have to cook for myself and the steaks taste horrible. What am I doing wrong?
    If you do not know what I have (not) done to make the steak taste horrible, my question is as hard to answer as your question above.
    Please give us more info like giving us the code that sends the page to the homepage rather than to the previous page.

Maybe you are looking for