Everything posted by ben357
-
Jscroller issue..
Ive added the JS jscroller into my page as i want to have "testemonials" scrolling down the right hand div....the actual scroller just appears in the top left of the page though when viewing....i have put the html, JS and css below... I also have jquery cyle at the top, that is to be used later for a picture scroller at the bottom of the right hand div also. <!doctype html> <html> <head> <meta charset="utf-8"> <title>Paul Harley Injury Therapist - Corporate</title> <meta name="keywords" content="physio Nottingham, physio Derby, physio Leicester, sports massage Derby, sports massage Nottingham, sports massage Leicester, PHIT for all Nottingham, PHIT for all Derby, PHIT for all Leicester, PHIT for all corporate, PHIT for all physio, PHIT for all sports injury" /> <meta name="description" content="PHIT for all offers high quality physio, sports injury treatments, sports massage and nutritional programs to both private and corporate clients." /> <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> <script type="text/javascript" src="js/jquery.cycle.all.js"></script> <script type="text/javascript" src="js/jquery.reflect.js"></script> <script type="text/javascript" src="js/jscroller-0.4.js"></script> <!-- Slider Javascript Start --> <script type="text/javascript"> $('#slider').cycle({ fx: 'scrollLeft', speed: 'fast', timeout: 6000, next: '#next', prev: '#prev' }); </script> <!-- Slider Javascript End --> <!-- Text Slider --> <script type="text/javascript"> $(function() { // Add Scroller Object $jScroller.add("#scroller_container","#scroller","down",1); // Start Autoscroller $jScroller.start(); }); </script> <!-- Text Slider End --> <link href="css/style1.css" rel="stylesheet" type="text/css"> </head> <body> <div id="wrapper1"> <div id="logo"> <p> </p> <p> </p> <a href="mailto:paul@phitforall.co.uk">Email:paul@phitforall.co.uk</a> </div> </div> <div id="wrapper2"> <div id="menu"> <div id="menu1"><a href="index.html">Home</a></div> <div id="menu2"><a href="about.html">About</a></div> <div id="menu3"><a href="individual.html">Individual</a></div> <div id="menu4"><a href="corporate.html">Corporate</a></div> <div id="menu5"><a href="contact.php">Contact Us</a></div> <div id="menu6"><a href="prices.html">Our Prices</a></div><br> </div> <div id="content4"> <div id="c4wrap2"> <div id="c4b2"> <div id="scroller_container"> <div id="scroller"> This text should scroll<br> So should this<br> and this....<br> </div> </div> </div> </div> <div id="c4wrap1"> <div id="c4b1"> <h3>CORPORATE TREATMENTS PACKAGE</h3> If you or your employees are absent through sickness or ill health it could have adetrimental effect on to your business. This could be through the potential cost of covering sickness through overtime or temporary or permanent recruitment drives. The added potential of failing to meet targets due to an already stretched workforce and the long term effects on the business of having key line managers / management personnel absent from work could all be addressed by having PHIT for all's mobile medical professionals at your place of work, at your convienience, as often as you or your business requires.<br> 1/2 day or full day packages available weekly, monthly, quarterley tailored to meet your companies needs. A mobile clinic set up at your work premises. Each clinic will consist of your employees having access to:-<br> <br> <ul> <li>Sports massage and injury therapist</li> <li>Physiotherapist</li> <li>Personal trainer</li> <li>Nutritional advisor</li> <li>Lifestyle advisor</li> </ul> All of the above highly qualified individuals aim to work with you, your employees and any occupatioanl health department to get personnel back to full fitness and return to work quicker than being left to the NHS. The current waiting time on the NHS for a physiotherapist consultation is 6-8 weeks. PHIT for all are commited to ensuring that a clinic can be established on your premise within 5 working days of any request for our services wherever possible.<br> For further details and quotations please <a href="mailto:paul@phitforall.co.uk">CONTACT US.</a><br> </div> </div> </div> </div> <div id="wrapper3"> <div id="footer"> <div id="f1"> <a href="index.html">HOME</a> | <a href="about.html">ABOUT</a> | <a href="contact.php">CONTACT US</a> | <a href="individual.html">INDIVIDUAL</a> | <a href="corporate.html">CORPORATE</a> | <a href="prices.html">PRICES</a><br>All images © PHIT for all 2013<br> Website designed by SCL Design 2013 © </div> <div id="f2"><img src="images/facebook.gif" width="100" height="60" alt=""></div> <div id="f3"><img src="images/fht.gif" width="100" height="60" alt=""></div> </div> </div> </body> </html> #scroller_container { position: relative; width: 340px; height: 300px; overflow: hidden; } #scroller p { padding: 0; } /* * jScroller 0.4 - Autoscroller PlugIn for jQuery * * Copyright (c) 2007 Markus Bordihn (http://markusbordihn.de) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * $Date: 2009-06-18 20:00:00 +0100 (Sat, 18 Jul 2009) $ * $Rev: 0.4 $ */ eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$2={Q:{R:"S 2 T w U",V:0.4,W:"X Y (Z://10.11)",12:"13 14 15"},5:{g:[],x:16,s:{6:/([0-9,.\\-]+)6/}},h:{m:0,y:0},17:j(a,b,c,d,e){3($(a).F&&$(.F&&c&&d>=1){$(a).k({18:\'19\'});$(.k({1a:\'1b\',7:0,8:0});3(e){$(.1c(j(){$2.n($(,1d)},j(){$2.n($(,G)})}$2.5.g.1e({z:$(a),f:$(,H:c,o:d,n:G})}},n:j(a,{3(a&&I b!==\'J\'){w(t i K $2.5.g){3($2.5.g[i].f.L("M")===a.L("M")){$2.5.g[i].n=b}}}},p:j(){3($2.h.m===0&&$2.5.x>0){$2.h.m=l.1f($2.A,$2.5.x)}3(!$2.h.y){$(l).1g($2.N);$(l).O($2.p);$(l).1h($2.p);$(l).A($2.p);$(1i).1j($2.p);3($.1k.1l){l.O()}$2.h.y=1}},N:j(){3($2.h.m){l.1m($2.h.m);$2.h.m=0}},B:{6:j(a){t b=\'\';3(a){3(a.C($2.5.s.6)){3(I a.C($2.5.s.6)[1]!==\'J\'){b=a.C($2.5.s.6)[1]}}}1n b}},A:j(){w(t i K $2.5.g){3($2.5.g.1o(i)){t a=$2.5.g[i],7=P(($2.B.6(a.f.k(\'7\'))||0)),8=P(($2.B.6(a.f.k(\'8\'))||0)),D=a.z.q(),E=a.z.r(),q=a.f.q(),r=a.f.r();3(!a.n){1p(a.H){u\'1q\':3(8<=-1*q){8=D}a.f.k(\'8\',8-a.o+\'6\');v;u\'1r\':3(7>=E){7=-1*r}a.f.k(\'7\',7+a.o+\'6\');v;u\'7\':3(7<=-1*r){7=E}a.f.k(\'7\',7-a.o+\'6\');v;u\'1s\':3(8>=D){8=-1*q}a.f.k(\'8\',8+a.o+\'6\');v}}}}}};',62,91,'||jScroller|if||config|px|left|top|||||||child|obj|cache||function|css|window|timer|pause|speed|start|height|width|regExp|var|case|break|for|refresh|init|parent|scroll|get|match|min_height|min_width|length|false|direction|typeof|undefined|in|attr|id|stop|focus|Number|info|Name|ByRei|Plugin|jQuery|Version|Author|Markus|Bordihn|http|markusbordihn|de|Description|Next|Generation|Autoscroller|120|add|overflow|hidden|position|absolute|hover|true|push|setInterval|blur|resize|document|mousemove|browser|msie|clearInterval|return|hasOwnProperty|switch|up|right|down'.split('|'),0,{}))
-
Issues with my Form fields....
Problem solved, bit of moving around.... used this following code... <!-- Contact Form --> <form name="form1" method="post" action="send.php"> <div class="frmcontainer"><div class="frm1"><label>Name:</label></div> <div class="frm2"><input name="name" type="text" id="name" size="35"></div> </div> <div class="frmcontainer"><div class="frm1"><label>Email:</label></div> <div class="frm2"><input name="email" type="text" id="email" size="35"></div> </div> <div class="frmcontainer"><div class="frm1"><label>Subject:</label></div> <div class="frm2"><input name="subject" type="text" id="subject" size="35"></div> </div> <div id="frmcontainer4"><div id="frm7"><label>Comments:</label></div> <div id="frm8"><textarea name="comments" cols="30" rows="5" id="comments"></textarea></div> </div> <div class="frmcontainer"><div class="frm1"><label>Security:</label></div> <div class="frm2"><input name="security" type="text" id="security" size="10" value="6 + 4=?"></div> </div> <div class="frmcontainer"><div class="frm1"><label> </label> </div> <div class="frm2"><input name="submit" type="submit" id="submit" value="Submit"></div> </div> </form> <!-- Contact Form Ends --> /* Contact Form Settings End */ .frmcontainer { width:420px; height:25px; } #frmcontainer4 { width:420px; height:120px; } .frm1 { width:85px; height:25px; float:left; } .frm2 { width:335px; height:25px; float:right; } #frm7 { width:85px; height:120px; float:left; } #frm8 { width:335px; height:120px; float:right; } #name { border-radius:10px 10px; background-color:#CCC; padding-left:2px; } #email { border-radius:10px 10px; background-color:#CCC; padding-left:2px; } #subject { border-radius:10px 10px; background-color:#CCC; padding-left:2px; } #comments { border-radius:10px 10px; background-color:#CCC; padding-left:2px; } #security { border-radius:10px 10px; background-color:#CCC; padding-left:2px; } .success { color: #0F3; margin-left: 15px; font-family: "Century Gothic", Verdana, sans-serif; } .fail { color: #F00; margin-left: 15px; font-family: "Century Gothic", Verdana, sans-serif; /* End of Form */ question.... at the end of the CSS where i have #name #email etc for the settings on the background of the text area's etc, can i do a universal rule for these or do i have to type them all seperatley?
-
Issues with my Form fields....
Thanks for the idea.. ive just re-designed it this way... <form name="form1" method="post" action="send.php"> <div class="frmcontainer"><div class="frm1"><label>Name:</label></div> <div class="frm2"><input name="name" type="text" id="name" size="45"></div> </div> <div class="frmcontainer"><div class="frm1"><label>Email:</label></div> <div class="frm2"><input name="email" type="text" id="email" size="45"></div> </div> <div class="frmcontainer"><div class="frm1"><label>Subject:</label></div> <div class="frm2"><input name="subject" type="text" id="subject" size="45"></div> </div> <div id="frmcontainer4"><div id="frm7"><label>Comments:</label></div> <div id="frm8"><textarea name="comments" cols="35" rows="5" id="comments"></textarea></div> </div> <div class="frmcontainer"><div class="frm1"><label>Security:</label></div> <div class="frm2"><input name="security" type="text" id="security" size="10" value="6 + 4=?"></div> </div> <div class="frmcontainer"><div class="frm1"><label> </label> </div> <div class="frm2"><input name="submit" type="submit" id="submit" value="Submit"></div> </div> </form> .frmcontainer { width:420px; height:25px; } #frmcontainer4 { width:420px; height:100px; } .frm1 { width:100px; height:25px; float:left; } .frm2 { width:270px; height:25px; float:right; } #frm7 { width:100px; height:100px; float:left; } #frm8 { width:270px; height:100px; float:right; } here's the link.. http://www.ihost-design.com/bensmith/contact.php now hanging over on all browsers, what styling am i missing to resolve it?
-
Issues with my Form fields....
Would that require putting each individual field its in own DIV or something different....i am a complete newbie at this so im learning as i go along...
-
Issues with my Form fields....
Hi! Im having trouble with a website i am designing currently. I have only started to learn HTML / CSS etc in the past couple of months so bear with me! On the contact me page, the data entry fields will run a 1/3rd of the way into the next div (the white space), this only happens on my samsung, kindle fire and older browsers, it works fine on apple iphones, ipads, firefox and iexplorer the later versions....ive searched for an answer but havent been able to find what im looking for currently.... i'll add what i can below..... ive attached 2 photos of the problem, one working in IE9, one not working on the kindle fire. page link - www.ihost-design.com/bensmith/contact.php html.... < div id="c4b1"> < !-- Start of PHP code for email form validation --> <? $s=$_GET['s']; if ($s=="1") { echo('<span class="success">Success! Your message has been sent and we will try to reply within 48 hours.</span>'); } else if ($s=="2") { echo('<span class="fail">An error occured. Your message was NOT sent, please try again ensuring the security question has been answered.</span>'); } ?> <!-- End of PHP --> <br><font color="#ffff00"><u>CONTACT US:</u></font> <p>If you have any queries, require more specific information or to book a session with any of our health care professionals or sports industry specialists please contact:-<br> <br> <font color="#ffff00"><u>Paul Harley</u></font> - 07930695408 or 0115 9538852<br> <font color="#ffff00"><u>Email</u></font> : <a href="mailto:paul@phitforall.co.uk">paul@phitforal l.co.uk</a><br> Follow us on FACEBOOK to find out about our latest offers..<br> <br> Or alternatively use our easy contact form and we will aim to contact you within 24 hours. <p><br> <!-- Contact Form --> <form name="form1" method="post" action="send.php"> <table style="text-align:left; padding-left:25px; font-family:Verdana, Geneva, sans-serif; font-size:18px; color:#fff;" width="404" border="0"> <tr> <td width="130">Name:</td> <td width="261"><input name="name" type="text" id="name" size="46"></td> </tr> <tr> <td>Email:</td> <td><input type="text" name="email" id="email" size="46"></td> </tr> <tr> <td>Subject:</td> <td><input type="text" name="subject" id="subject" size="46"></td> </tr> <tr> <td>Comments:</td> <td><textarea name="comments" id="comments" cols="35" rows="5"></textarea></td> </tr> <tr> <td>Security:</td> <td>6+4 = <label for="security"></label> <input type="text" name="security" id="security" size="6"></td> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" id="submit" value="Send"></td> </tr> </table> < /form> < !-- Contact Form Ends --> </div> css for form... #c4b1 { width:440px; height:580px; box-shadow: 0px 5px 5px 0px #333; padding: 5px; background-image:url(../images/box_back2.jpg); background-repeat:no-repeat; } #c4b1 a { color:#FF6; } #c4b1 a:hover{ color:#666; } /* Contact Form Settings */ #name { border-radius:10px 10px; background-color:#CCC; } #email { border-radius:10px 10px; background-color:#CCC; } #subject { border-radius:10px 10px; background-color:#CCC; } #comments { border-radius:10px 10px; background-color:#CCC; } #security { border-radius:10px 10px; background-color:#CCC; } .success { color: #0F3; margin-left: 15px; font-family: "Century Gothic", Verdana, sans-serif; } .fail { color: #F00; margin-left: 15px; font-family: "Century Gothic", Verdana, sans-serif; } /* Contact Settings End */ Hope this helps anyone help me!
-
Hello Everyone
Hi, Just a quick introduction. I have recently taken up learning basic web design in my spare time to help a friend with a site...found i have quite enjoyed it although it does get frustrating! Hopefully i can get a few pointers and advice from this forum with my issues! Ben.