-
Responsive Images whilst keeping aspect ratio
Thank you teodora but thats not what i need. Sorry I don't think I explained it very well. The image needs to shrink in height if the browser is not tall enough as well as shrink in width if the browser is not wide enough. I have found a jquery gallery view as an example, I need this - http://tympanus.net/Development/GammaGallery/?id=1 but without any of the buttons or transitions. I have only learnt the bare basics of javascript so am not skilled enough to extract what I need. Any help would be great. Thank you
-
Responsive Images whilst keeping aspect ratio
unfortunately it needs to be an image
-
Responsive Images whilst keeping aspect ratio
Hello all, I am looking to have an image which will respond to the browser size. The image needs to keep its aspect ratio and will respond to both width or height depending on which boundary it hits first. If anyone knows of a solution it would be a massive help. So far my google searches have not come up with much, Cheers.
-
Freelance Website
Some great feedback porkchop, thank you. re-starting with typography and will change the centered alignment. I will also go over my spacing again once I have finalised the font. service page will get re-done and am looking at changing the images. Will tighten up the footer and contact page with your input as well. Thank you for all the feedback, will hopefully have a re-design up some time next week. Thank you all!
-
-
Freelance Website
That's an interesting thought and I will give it a go to see what that hover state looks like. Currently I have divided it into two columns to differentiate between types of work. thanks fore the heads up on the links and with the map I was just being lazy, will implement google at some point. thank you.
-
-
-
Freelance Website
I have dropped quicksand and used arial for everything. I am finding that at the larger font sizes it is just too thick. Will search for a cleaner font next week. thank you
-
-
Freelance Website
Thanks a lot, some great feedback! will look into that border on the main slider and change the flexslider title. My friend suggested the same thing and I will be looking into getting probably a single image to transition along with the description. I also agree with your point on the sub heading, need to make it more obvious. I was also thinking of splitting it into two columns to have web on the left and visualisation on the right. Will also remove the homepage link and use the logo a link now. thank again.
-
Freelance Website
Thanks a lot for the great feedback. Using Firefox and chrome the footer displays perfectly on all of the pages for me. I will have a look into why this is not the case on the ipad. Again the designer header and images are all fine as well so I will borrow works ipad to check these. Thank you
-
-
Freelance Website
Thank you, I also forgot to add that a lot of the text is still being used as a placeholder and nothing has been spell checked im afraid. Just wanted to get some thoughts on design, sorry for missing that out
-
Freelance Website
Good morning all, I have just put up a first draft for my Freelance Web Design / Visualisation website. Anthony Goodier Any and all critiscisms are welcome. Please note that I have not debugged it for any version of explorer yet! Thank you!
-
Changing Div contents on rollover
Hi all, I am currently getting a divs contents to change when the user mouses over an image. The probelm arises when I have one set of images to change one div and another set of images to change another. The links for these two tests are here - Example 1 Example 2 I have played around with the javascript but cant get it to work properly. <section> <div id="web_about_text_1" class="web_h">Initial Header</div> <div id="web_about_text_2" class="web_p"> <p>Inital Content</p></div> <div id="web_about_0" i="0" class="web_about_1a left hand" data-name1="Consultation" data-desc1="Web Content 1"> <img src="http://placehold.it/150x150"/> </div> <div id="web_about_1" i="1" class="web_about_1a left hand" data-name1="Design" data-desc1="Web Content 2"> <img src="http://placehold.it/150x150"/> </div> <div id="web_about_2" i="2" class="web_about_1a left hand" data-name1="Build" data-desc1="Web Content 3"> <img src="http://placehold.it/150x150"/> </div> <div id="web_about_3" i="3" class="web_about_1a left hand" data-name1="Tools" data-desc1="Web Content 4"> <img src="http://placehold.it/150x150"/> </div> </section> <script type="text/javascript"> $(".web_about_1a").click(function(){ $(".web_about_1a").unbind('mouseenter mouseleave'); colorsOff($(this).attr('i')); window.location = '/about/'; }); $(".web_about_1a").hover( function () { colorsOff($(this).attr('i')); }, function () { colorsOn(); } ); $(".web_about_t_1a").hover( function () { colorsOff($(this).attr('i')); }, function () { colorsOn(); } ); function colorsOff(ii){ for(var i=0;i<4;i++){ if(i != ii){ $("#web_about_" + i).stop().animate({opacity: .3},300); $("#web_about_t_" + i).stop().animate({opacity: .3},300); }else{ $("#web_about_" + i).stop().animate({opacity: 1},100); $("#web_about_t_" + i).stop().animate({opacity: 1},100); $('#web_about_text_1').html($("#web_about_" + i).attr('data-name1')); $('#web_about_text_2').html('<p>' + $("#web_about_" + i).attr('data-desc1') + '</p>'); } } } function colorsOn(){ for(var i=0;i<4;i++){ $("#web_about_" + i).stop().animate({opacity: 1},800); $("#web_about_t_" + i).stop().animate({opacity: 1},800); } $('#web_about_text_1').html('Initial Header'); $('#web_about_text_2').html('<p>Initial Content</p>'); } </script> <section> <div id="vis_about_text_1" class="vis_h">Initial Header</div> <div id="vis_about_text_2" class="vis_p"> <p>Inital Content</p></div> <div id="vis_about_0" i="0" class="vis_about_1a left hand" data-name2="Consultation" data-desc2="Vis Content 1"> <img src="http://placehold.it/150x150"/> </div> <div id="vis_about_1" i="1" class="vis_about_1a left hand" data-name2="Design" data-desc2="Vis Content 2"> <img src="http://placehold.it/150x150"/> </div> <div id="vis_about_2" i="2" class="vis_about_1a left hand" data-name2="Build" data-desc2="Vis Content 3"> <img src="http://placehold.it/150x150"/> </div> <div id="vis_about_3" i="3" class="vis_about_1a left hand" data-name2="Tools" data-desc2="Vis Content 4"> <img src="http://placehold.it/150x150"/> </div> </section> <script type="text/javascript"> $(".vis_about_1a").click(function(){ $(".vis_about_1a").unbind('mouseenter mouseleave'); colorsOff($(this).attr('i')); window.location = '/about/'; }); $(".vis_about_1a").hover( function () { colorsOff($(this).attr('i')); }, function () { colorsOn(); } ); $(".vis_about_t_1a").hover( function () { colorsOff($(this).attr('i')); }, function () { colorsOn(); } ); function colorsOff(ii){ for(var i=0;i<4;i++){ if(i != ii){ $("#vis_about_" + i).stop().animate({opacity: .3},300); $("#vis_about_t_" + i).stop().animate({opacity: .3},300); }else{ $("#vis_about_" + i).stop().animate({opacity: 1},100); $("#vis_about_t_" + i).stop().animate({opacity: 1},100); $('#vis_about_text_1').html($("#vis_about_" + i).attr('data-name1')); $('#vis_about_text_2').html('<p>' + $("#vis_about_" + i).attr('data-desc1') + '</p>'); } } } function colorsOn(){ for(var i=0;i<4;i++){ $("#vis_about_" + i).stop().animate({opacity: 1},800); $("#vis_about_t_" + i).stop().animate({opacity: 1},800); } $('#vis_about_text_1').html('Initial Header'); $('#vis_about_text_2').html('<p>Initial Content</p>'); } </script> I know that the 'i' value is'nt working for too examples but do not know how to get around this. Any help as to where I am going wrong would be amazing.
-
-
Fun with checkboxes
Thanks for your help Jock. I stripped back the php file to just include the form and nothing else and it worked perfectly. Adding the rest of the pages in bit by bit I narrowed the problem down to the validation script. the JavaScript validation file that I am using does not effect the check box or two drop down boxes that I am using, but when implemented it stops the drop down box values from being mailed and always returns no for the check box value. Has anyone experienced this before? Thanks.
-
Fun with checkboxes
Thanks for the quick reply, I just assumed that on was a default value for the checkbox being ticked. Unfortunately this still hasn't fixed the problem. Looked through various threads already but its just been a bit of a cut and paste job and haven't had any working results yet.
-
Fun with checkboxes
Afternoon all, having yet more fun with php mailer forms so any help would be much appeciated! Currently have a form with a single checkbox to output a simple yes or no answer. As it stand it always outputs no regardless if its ticked or not. Would anyone be able to explain as to why this is? Many thanks, code below! <input name="chktest" type="checkbox" /> <?php $myemail = 'xxxxxxxxxxxxxxxxx';//<-----Put Your email address here. $name = $_POST['name']; $number = $_POST['phone']; $email = $_POST['email']; $pages = $_POST['pages']; $budget = $_POST['budget']; $test = $_POST['test']; $chktest = ($_POST['chktest']); if ($chktest=="on") {$chktest="Yes";} else { $chktest="No";} $to = $myemail; $email_subject = "Freelance Query: ".$name; $email_body = "You have received a new message. \n \n Here are the details:\n \n Name: ".$name." \n \n Number: ".$number." \n \n Email: ".$email." \n \n Pages: ".$pages." \n \n Budget: ".$budget." \n \n chktest: ".$chktest." \n \n message: \n ".$test; $headers = "From: ".$myemail; $headers .= "Reply-To: ".$email_address; mail($to,$email_subject,$email_body,$headers); ?>
-
PHP mailer with ajax textarea
Thank you all for the help, it is now working correctly