45 comments found.
merhaba kurulum detaylı anlatıldığı bir yazı platform varmı
This is a clean HTML mobile template, you can integrate the HTML in to your desired platform, let me know if you require any additional help.
Hi i’m getting an error when trying to submit the contact form. It’s saying “There was a problem sending your message. Please try again.” Here is my form: <form id=”contactForm” action=”processForm.php” method=”post”>
- <input type=”text” name=”senderName” id=”senderName” placeholder=”Please type your name” required/>
- <input type=”email” name=”senderEmail” id=”senderEmail” placeholder=”Please type your email address” required />
- <input type=”text” name=”senderPhone” id=”senderPhone” placeholder=”Please type your phone number” required />
- <textarea name=”message” id=”message” placeholder=”Please type your message” required cols=”80” rows=”10” maxlength=”10000”></textarea>
- <input type=”submit” id=”sendMessage” name=”sendMessage” value=”Send Email” />
var messageDelay = 2000; // How long to display status messages (in milliseconds)
// Init the form once the document is ready $( init );
// Initialize the form
function init() {
// Hide the form initially.
// Make submitForm() the form's submit handler.
// Position the form so it sits in the centre of the browser window.
$('#contactForm').submit( submitForm ).addClass( 'positioned' );
// When the "Send us an email" link is clicked:
// 1. Fade the content out
// 2. Display the form
// 3. Move focus to the first field
// 4. Prevent the link being followed
$('a[href="#contactForm"]').click( function() {
$('#content').fadeTo( 'slow', .2 );
$('#contactForm').fadeIn( 'slow', function() {
$('#senderName').focus();
} )
} );
return false;
// When the "Escape" key is pressed, close the form
$('#contactForm').keydown( function( event ) {
if ( event.which == 27 ) {
$('#contactForm').fadeOut();
$('#content').fadeTo( 'slow', 1 );
}
} );
}
// Submit the form via Ajax
function submitForm() { var contactForm = $(this); }
// Are all the fields filled in?
if ( !$('#senderName').val() || !$('#senderEmail').val() || !$('#senderPhone').val() || !$('#message').val() ) {
// No; display a warning message and return to the form
$('#incompleteMessage').fadeIn().delay(messageDelay).fadeOut();
contactForm.fadeOut().delay(messageDelay).fadeIn();
} else {
}
// Yes; submit the form to the PHP script via Ajax
$('#sendingMessage').fadeIn();
$.ajax( {
url: contactForm.attr( 'action' ) + "?ajax=true",
type: contactForm.attr( 'method' ),
data: contactForm.serialize(),
success: submitFinished
} );
// Prevent the default form submission occurring
return false;
// Handle the Ajax response
function submitFinished( response ) { response = $.trim( response ); $(’#sendingMessage’).fadeOut(); }
if ( response == "success" ) {
// Form submitted successfully:
// 1. Display the success message
// 2. Clear the form fields
// 3. Fade the content back in
$('#successMessage').fadeIn().delay(messageDelay).fadeOut();
$('#senderName').val( "" );
$('#senderEmail').val( "" );
$('#senderPhone').val( "" );
$('#message').val( "" );
$('#content').delay(messageDelay+500).fadeTo( 'slow', 1 );
} else {
}
// Form submission failed: Display the failure message,
// then redisplay the form
$('#failureMessage').fadeIn().delay(messageDelay).fadeOut();
$('#contactForm').delay(messageDelay+500).fadeIn();
</script>
And here is my php:
<?php
// Define some constants define( “RECIPIENT_NAME”, “Charles Sowden” ); define( “RECIPIENT_EMAIL”, “dane@yorkieadvertising.com” ); define( “EMAIL_SUBJECT”, “Brookvale Mazda Mobile Contact Form” );
// Read the form values $success = false; $senderName = isset( $_POST[‘senderName’] ) ? preg_replace( ”/[\.\-\’ a-zA-Z0-9]/”, ””, $_POST[‘senderName’] ) : ””; $senderEmail = isset( $POST[‘senderEmail’] ) ? preg_replace( ”/[\.\-\\@a-zA-Z0-9]/”, ””, $_POST[‘senderEmail’] ) : ””; $senderPhone = isset( $POST[‘senderPhone’] ) ? preg_replace( ”/[^\.\-\\0-9]/”, ””, $_POST[‘senderPhone’] ) : ””; $message = isset( $_POST[‘message’] ) ? preg_replace( ”/(From:|To:|BCC:|CC:|Subject:|Content-Type:)/”, ””, $_POST[‘message’] ) : ””;
// If all values exist, send the email if ( $senderName && $senderEmail && $senderPhone && $message ) { $recipient = RECIPIENT_NAME . ” <” . RECIPIENT_EMAIL . ”>”; $headers = “From: ” . $senderName . ” <” . $senderEmail . ”>”; $success = mail( $recipient, EMAIL_SUBJECT, $message, $headers ); }
// Return an appropriate response to the browser if ( isset($_GET[“ajax”]) ) { echo $success ? “success” : “error”; } else { ?>
<head>
<title>Thanks!</title>
</head>
<?php if ( $success ) echo “Thanks for sending your message! We’ll get back to you shortly.
” ?> <?php if ( !$success ) echo “There was a problem sending your message. Please try again.
” ?>Click your browser’s Back button to return to the page.
<?php } ?>
I’m at a loss as to what’s going on here..
This shouldn’t happen. IT works fine in my machine, can you give me the URL.
Hello,
How can I have the text on the navigation be white in it’s normal state? This will make it easier to read for my viewers I think. Thanks!
Yes you can change the text color, just modifying few lines in css.After u purhcase let me know if you need my help. thx
Please help me!! My boss is going to kill me!!!
Hi there,
I just purchased your moby website! First of all : congratulation!
I need some help PLEASE! I dont know so many things about css/java/html.. You can see the webpage at:
http://www.adimus.es/mobi/index.htmlWell… The problem i have is with the logo.. Looks good on my desktop computer: ie/firefox/safari/chrome but on iphone/ipad/tablets seems like the logo is streatching too much…
Please help me man! As i bought this template to replace the old flash site with one suitable for mobile/tablet devices!
I am sure is not so hard but i cant figure it out!
Thank you so much!
Vlad
I just purchased this theme..
regards, Dubai Web Design
Thanks for the purchase!
nevermind I figured it out. I set autoHeight to false.
Sorry for the late response
let me know if you have further queries!
Hi, I purchased this theme and love it. I am having one problem with the accordion menu. When I add an image to an ac_content all the other slides seem to create an empty space. Is there a way to put an image in the accordion?
Thank you for any help you can provide.
The theme will not upload to my WP from the download zip file. I get an error message “do you really want to do this?” When I click on the try again link, it goes back to the upload screen. Tried downloading the theme a few times… same result. Is there another way to upload the file? Please help. Tnx.
Hi there, just want to remind you that, Moby is not a WP theme, its a pure HTML theme. Are you trying to upload to your server? please specify. Thanks for the purchase
Thanks! Carolina
Apologize for the late response, I checked the page it seems like you have fixed the issue yourself. let me know if you need any further help. Thanks for the purchase.
Its the URL in the comment above yours. tommystoes….....
Sorry, I didn’t noticed it, have you tried ”$.noConflict();” just before the photoswipe you have used, I checked but no javascript error shown in the console. Ususually it works fine, I have worked with Photoswipe in my template here “http://themeforest.net/item/mobyplus-mobile-and-tablet-html5-template/2556281”. It works fine.
Can you give me the page url so that I can check, I have worked with photoswipe, so there shouldn’t be no conflicts.
Is there a way to make the first item on the accordion menu be closed by default? I’d like the user to expand the first item information only if they want to.
Thanks.
Hi.. I’m trying to use standard JQuery.Mobile.UI items and they don’t seem compatible.. Is this template supposed to be compatible with standards? I believe the css is not working correctly and displaying these UI items correctly..
http://jquerymobile.com/test/docs/lists/lists-search-with-dividers.htmlApologies for the late response. I was on a vacation. Have you done it already? Let me know if you need help.
Hi,
Just having some trouble with your template, when I paste the files outside of the folder, E.G “blue folder” the files do not load currently. They only seem to work when they are kept within the colour folders . EG black or blue. IS there something that I am doing wrong.
Please Help
which color theme you are planning to use, move files accordingly. you must paste the files in the theme folder which you prefer. hope you understood! if this is not helpful, please explain the exact problem you are facing.
Hi, great theme but the top menu icons don’t remain there after scrolling on my iphone 3g (ios 4.2)
Any ideas?
Thanks
Can you send me a screenshot . Well no one ever told me about a issue like that. Will try to figure it out. “rohithpaul@gmail.com”
Sure would be nice to see a Qr code, so I can check this theme out with my mobile phone. You might even see more sales.. 
Sure, will add QR code. I see a lot of guys using it here.
Good day,
I bought this theme and I am happy with it but there are issues with Forms when submitted from a Mobile phone…. Although I have made the contact fields “required” i often get forms with no values in them? My Site www.webdot.mobi Please can you have a look what I am doing wrong?