-
IE issue with text link on product slider
Hi all, I've been looking at this through the night and still no joy. I tried changing li.tab-click which i think is what the jquery uses. I changed the z index but still no joy. Somehow the text is blocking the action. Please, please, please help. Many thanks OD
-
IE issue with text link on product slider
Hi all, We are in the process of building this website but have run into an issue. We've got a slider that basically moves between sections. See here Link When you click to move between sections eg Products by Range to Products by Application there is a problem in IE. It is fine if you click on the area around the text but not if you click on the actual text. Safari, Firefox, Chrome etc all fine......just frickin' IE is the problem. Any ideas would be gratefully received. Thanks a lot you kind people OD
-
White line appears in IE8 but nothing else.....its weird
Thanks for your replies and sorry for taking so long to get back. We'll look at validating the code right away. Pat24, when you say "Scrap that just seen the problem" could you say what the problem is. Many thanks OD
-
White line appears in IE8 but nothing else.....its weird
Hi all, Firstly, thanks in advance for your help its always appreciated. We've just built this site in wordpress but we have this weird white line appearing on a couple of pages but only in IE8?! We've spent hours trying everything to remove this but to no avail. It only appears on these two pages: Contact Page and Catalogue Page. Basically if I remove the contact form it goes but i obviously need the form. Any suggestions would be very much appreciated Thanks OD
-
Contact form and exchange server
Thanks Jock, Ive tried your suggestions but alas it stilldoes not work. How do I set up SMTP sending? do i need to use PEAR MAIL PACKAGE or something? Thanks again OD
-
Contact form and exchange server
Hi all, And yet again thanks for your help in advance. I've got a contact form that doesn't seem to work through an exchange server. It works fine when sending to an ordinary pop email account but when i change the recipients email address to the exchange one, it goes belly up. Is it something to do with the script or the spam settings on the server? The site is currently under development but just want a quick fix in the short term. The script is as follows <?php $visitor = $_POST['visitor']; $company = $_POST['company']; $telephone = $_POST['telephone']; $visitormail = $_POST['visitormail']; $enquiry = $_POST['enquiry']; $sendTo = ""; switch($_POST["branch"]) { case("bristol"): $sendTo = "paul.compton@electricwholesale.co.uk"; $branch = "Bristol"; break; case("london"): $sendTo = "paul.compton@electricwholesale.co.uk"; $branch = "London"; break; case("birmingham"): $branch = "Birmingham"; $sendTo = "paul.compton@electricwholesale.co.uk"; $branch = "Birmingham"; break; default: //<-- It executes the default if none of the above are true $sendTo = "paul.compton@electricwholesale.co.uk"; break; } ?> <!--- Content =--> <?php if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) { include 'errorpage.php'; die; } if(empty($visitor) || empty($visitormail) || empty($enquiry) || empty($telephone) || empty($company)) { include 'errorpage.php'; die; } ?> <h2>Thanks for contacting us <?php echo $visitor ?>.</h2><h2>One of the Electric Wholesale team will be in touch soon</h2> <!--- /Content =--> <?php $todayis = date("l, F j, Y, g:i a") ; $subject = "Web Enquiry"; $enquiry = stripcslashes($enquiry); $message = " $todayis [GMT] \n From: $visitor ($visitormail)\n Branch: $sendTo ($branch)\n Company: $company \n Telephone: $telephone \n Enquiry: $enquiry \n "; $from = "From: $visitormail\r\n"; mail($sendTo, $subject, $message, $from); ?> The html is here <div class="form"><form method="POST" action="sendmail.php"> <h2>Branch</h2> <select size="1" name="branch"> <option value="bristol">Bristol - Head Office</option> <option value="london">London</option> <option value="birmingham">Birmingham</option> </select> <h2>Name</h2> <input type="text" name="visitor" size="28"> <h2>Company</h2> <input type="text" name="company" size="28"> <h2>Contact Tel</h2> <input type="text" name="telephone" size="28"> <h2>E-mail</h2> <input type="text" name="visitormail" size="28"> <h2>Enquiry</h2> <textarea name="enquiry" rows="9" cols="30"></textarea> <br><br /> <input type="submit" value="Submit" name="submit"> <input type="reset" value="Reset"> </form></div> Thanks again for your help OD
-
Wordpress and Open Office Base?
Hi all, I'm after some advice please. Ive got a wordpress site that needs to become a bit more dynamic. I have an open office database with thousands of products in it. Each product has a code, description and image linked in via the database. What I want to know is if there is any possible way that I can take the open office database and use that data to create product datasheets in real time on the website. My PHP and MYSQL knowledge is limited so would be willing to pay someone to assist. Thanks in advance for your help OD
-
Contact Form Nightmare!
Thanks very much for all your help...all sorted!
-
Contact Form Nightmare!
Thanks for all your feedback. I've made some of the changes as you've suggested, the code is now as follows <?php // Show ALL errors ini_set('display_errors', 1); error_reporting(E_ALL); $visitor = $_POST['visitor']; $telephone = $_POST['telephone']; $visitormail = $_POST['visitormail']; $enquiry = $_POST['enquiry']; $sendTo = "alex@jumpcommunication.co.uk"; ?> <!--- Content =--> <?php if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) { include 'errorpage.php'; die; } if(empty($visitor) || empty($visitormail) || empty($enquiry) || empty($telephone)) { include 'errorpage.php'; die; } ?> <h4 id="mail">Thanks for contacting us <?php echo $visitor ?></h4><h4 id="mail">One of the team will be in touch soon</h4> <!--- /Content =--> <?php $todayis = date("l, F j, Y, g:i a") ; $subject = "Web Enquiry From Mobile Care"; $enquiry = stripcslashes($enquiry); $message = " $todayis [GMT] \n From: $visitor ($visitormail)\n Telephone: $telephone \n Enquiry: $enquiry \n "; $from = "noreply@mobilecareltd.co.uk"; mail($sendTo, $subject, $message, $from); ?> I changed the sendto email to an aol address and it worked fine but as soon as I changed it to the original email it fails again. Ive been reading about headers...do they need to be added? Also is there a better way of sending other than mail()? I'm new to php so apologies for the stupidity. Thanks again OD
-
Contact Form Nightmare!
Thanks for the reply. Its hosted with NuBlue on one of their reseller packages. Just checked the error log and doesn't appear to show anything other than the lack of a favicon that ive forgotten to upload. The HTML is as follows: <form name="contactform" method="post" action="sendmail.php"> <ul> <li><span>Name</span><input type="text" name="visitor" maxlength="50" size="30"/></li> <li><span>Tel</span><input type="text" name="telephone" maxlength="30" size="30"/></li> <li><span>Email</span><input type="text" name="visitormail" maxlength="80" size="30"/></li> <li><span>Enquiry</span><textarea name="enquiry" maxlength="1000" cols="25" rows="6"></textarea></li> </ul> <input class="sendbutton" type="submit" value="Submit"/> </form> The PHP is <?php $visitor = $_POST['visitor']; $telephone = $_POST['telephone']; $visitormail = $_POST['visitormail']; $enquiry = $_POST['enquiry']; $sendTo = "alex@jumpcommunication.co.uk"; ?> <!--- Content =--> <?php if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) { include 'errorpage.php'; die; } if(empty($visitor) || empty($visitormail) || empty($enquiry) || empty($telephone)) { include 'errorpage.php'; die; } ?> <h4 id="mail">Thanks for contacting us <?php echo $visitor ?></h4><h4 id="mail">One of the team will be in touch soon</h4> <!--- /Content =--> <?php $todayis = date("l, F j, Y, g:i a") ; $subject = "Web Enquiry From Mobile Care"; $enquiry = stripcslashes($enquiry); $message = " $todayis [GMT] \n From: $visitor ($visitormail)\n Telephone: $telephone \n Enquiry: $enquiry \n "; $from = "From: $visitormail\r\n"; mail($sendTo, $subject, $message, $from); ?> Thanks again OD
-
Contact Form Nightmare!
Hi all, Now my fingers have finally defrosted i can write this post. I've been tinkering with this contact form for ages now and it just won't work. It appears to send i.e. no errors are flagged up in code but the email doesnt arrive in my mailbox. I was wondering if it is an issue with the code or something not activated on the hosting? The site casn be foundhere As always your help is very much appreciated. Thanks OD
-
How on earth do checkboxes work?
Hi all, Ive been working on this form and I can't work out how to make checkboxes work. I think my HTML is correct, it is below... <form method="POST" action="briefmail.php"> <div class="blank"> <h5>Company Name <a href="javascript:popUp('help.html')">(Need Help?)</a></h5> <input type="text" name="company" size="58"> </div> <div class="gray"> <h5>Company Sector <a href="javascript:popUp('help.html')">(Need Help?)</a></h5> <select size="1" name="sector"> <option value="None Selected">Select A Sector</option> <option value="Aerospace">Aerospace (Civil)</option> <option value="Agriculture, Horticulture & Fisheries">Agriculture, Horticulture & Fisheries</option> <option value="Airports">Airports</option> <option value="Automotive">Automotive</option> <option value="Biotechnology & Pharmaceuticals">Biotechnology & Pharmaceuticals</option> <option value="Business & Services">Business & Services</option> <option value="Chemicals">Chemicals</option> <option value="Clothing, Footwear & Fashion">Clothing, Footwear & Fashion</option> <option value="Communications">Communications</option> <option value="Construction">Construction</option> <option value="Creative & Media">Creative & Media</option> <option value="Education & Training">Education & Training</option> <option value="Electronics & IT Hardware">Electronics & IT Hardware</option> <option value="Environment">Environment</option> <option value="Financial Services">Financial Services</option> <option value="Food & Drink">Food & Drink</option> <option value="Giftware, Jewellery & Tableware">Giftware, Jewellery & Tableware</option> <option value="Healthcare & Medical">Healthcare & Medical</option> <option value="Household Goods, Furniture & Furnishings">Household Goods, Furniture & Furnishings</option> <option value="Leisure & Tourism">Leisure & Tourism</option> <option value="Marine">Marine</option> <option value="Mechanical Electrical & Process Engineering">Mechanical Electrical & Process Engineering</option> <option value="Metallurgical Process Plant">Metallurgical Process Plant</option> <option value="Metals & Minerals">Metals & Minerals</option> <option value="Mining">Mining</option> <option value="Oil & Gas">Oil & Gas</option> <option value="Ports & Logistics">Ports & Logistics</option> <option value="Power">Power</option> <option value="Railways">Railways</option> <option value="Security">Security</option> <option value="Software & Computer Services">Software & Computer Services</option> <option value="Sports & Leisure Infrastructure">Sports & Leisure Infrastructure</option> <option value="Textiles, Interior Textiles & Carpets">Textiles, Interior Textiles & Carpets</option> <option value="Water">Water</option> <option value="Other Please Specify">Other Please Specify</option> </select> <input type="text" value="Other Please Specify" name="sectorother" size="18"> </div> <div class="blank"> <h5>Briefly describe the target audience/market for your products or services <a href="javascript:popUp('help.html')">(Need Help?)</a></h5> <textarea name="targetaudience" rows="6" cols="56"></textarea> </div> <div class="gray"> <h5>When people encounter your brand what do you want their first impressions to be? <a href="javascript:popUp('help.html')">(Need Help?)</a></h5> <textarea name="firstimpressions" rows="6" cols="56"></textarea> </div> <div class="blank"> <h5>What makes you stand out from your competitors? <a href="javascript:popUp('help.html')">(Need Help?)</a></h5> <textarea name="competitors" rows="6" cols="56"></textarea> </div> <div class="gray"> <h5>How do you envisage the style of your brand? (Please select up to three)<a href="javascript:popUp('help.html')">(Need Help?)</a></h5> <div class="cboxa"> <div id="cbox"><input type="checkbox" name="style_contemporary">Contemporary</div> <div id="cbox"><input type="checkbox" name="style_traditional">Traditional</div> <div id="cbox"><input type="checkbox" name="style_fresh">Fresh</div> <div id="cbox"><input type="checkbox" name="style_funky">Funky</div> <div id="cbox"><input type="checkbox" name="style_clinical">Clinical</div> <div id="cbox"><input type="checkbox" name="style_friendly">Friendly</div> <div id="cbox"><input type="checkbox" name="style_professional">Professional</div> <div id="cbox"><input type="checkbox" name="style_fun">Fun</div> </div> <div class="cboxb"> <div id="cbox"><input type="checkbox" name="style_young">Young</div> <div id="cbox"><input type="checkbox" name="style_innovative">Innovative</div> <div id="cbox"><input type="checkbox" name="style_flowery">Flowery</div> <div id="cbox"><input type="checkbox" name="style_loud">Loud</div> <div id="cbox"><input type="checkbox" name="style_elegant">Elegant</div> <div id="cbox"><input type="checkbox" name="style_environmental">Environmental</div> <div id="cbox"><input type="checkbox" name="style_other">Other</div> <input type="text" value="Other Please Specify" name="project" size="34"> </div> <div class="formclr"></div> </div> <div class="blank"> <div class="formclr"></div> </div> <div class="blank"> <h5>Name</h5> <input type="text" name="name" size="28"> <h5>Tel Number</h5> <input type="text" name="tel" size="28"> <h5>E-mail Address</h5> <input type="text" name="email" size="28"> <h5>If you feel we've not asked enough questions or would like to elaborate more on the questions above please write away now...</h5> <textarea name="furtherinfo" rows="6" cols="56"></textarea> </div> <div class="white"> <input type="submit" value="Submit" name="submit"> <input type="reset" value="Reset"> </div> </form> As you can see I want them to choose three checkboxes out of a number of options. Ive tried loads of different ways but it just doesn't work. The PHP ive written is as follows <?php if(isset($_POST['submit'])) { $to = "alex@jumpcommunication.co.uk"; $subject = "BIAC Brief Form"; $company = $_POST['company']; $sector = $_POST['sector']; $sectorother = $_POST['sectorother']; $targetaudience = $_POST['targetaudience']; $firstimpressions = $_POST['firstimpressions']; $competitors = $_POST['competitors']; $name = $_POST['name']; $tel = $_POST['tel']; $email = $_POST['email']; $furtherinfo = $_POST['furtherinfo']; $body = " From: $company\n Sector: $sector\n Sector Other: $sectorother\n Target Audience: $targetaudience\n First Impressions Of Brand: $firstimpressions\n Uniqueness Over Competitors: $competitors\n Name: $name\n Tel Number: $tel\n Email: $email\n Further Info: $furtherinfo\n "; ini_set('sendmail_from', 'my@mydomain.co.uk'); mail($to, $subject, $body); } ?> Ijust dont know where to begin with writing the PHP for the checkboxes. Any help is very much appreciated. Thanks OD
-
Will positioning H1 tag off the page be penalised by Google?
I agree with S3 that you wouldn't want to use your website name for every H1 on every page so would you be able to use a descriptive H1 with page keywards in such as "Cheap Bikes London". Would you be able to have that as the H1 text but then indesnt it and have an better looking image for that same phrase with alt the same? Would that likely be flagged as spammy by Google?
-
Will positioning H1 tag off the page be penalised by Google?
When you say with image replacement what do you mean? Do you put the image over the h1 text? Cheers
-
Will positioning H1 tag off the page be penalised by Google?
Thanks the replies. I presume the benfit is to have a more design led header. This way you can use ponsey fonts and not just boring system fonts. You can then include the same text as you have in your fancy image in the H1 tag which can then be crawled. Am i right in saying that keyword inclusion in your H1 tag is important from an SEO perspective??