Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

headintheshed

Members
  • Joined

  • Last visited

Everything posted by headintheshed

  1. Hi Im trying set up a page where users can send their email addy via PHP It works fine when I use one of my own addys (info@aardesign.co.uk) but when I test it on other addys it doesn't work This is the HTML for the page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">'>http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>lime_home</title> <link href="limestylesheet.css" rel="stylesheet" type="text/css" media="screen" /> </head> <body> <div id="background"> <div id="peel"><img src="grain.png" width="800" height="500" border="0" /></div> <div id="fresh"><img src="fresh.png" alt="logo" width="570" height="150" border="0"/></div> <div id="soon"><img src="comingsoon.png" width="500" height="100" border="0"/></div> <div id="emailtext">Submit your email to be notified when we go live</div> <div id="bar"><img src="middlebar.png" width="1000" height="68" border="0"/></div> <div id="emailsend"> <form action="feedback.php" method="post"enctype="multipart/form-data"> <input type="text" name="comments" size="50"> <input type="submit" class="submitButton" value="Submit" /> </p> </form> </div> <div id="maintext">Lime4 is a fresh company providing clear thinking and high quality expertise in project management and the development of sustainable solutions. Whether through project development, production of business cases and feasibilities, or more specifically related to the blossoming green and environmental sector.</div> <div id="limelogo"><img src="limelogo.png" width="170" height="135" border="0"/></div> <div id="address">Studio B, Derwentside Business Centre, Consett Business Park Consett, DH8 5BP</div> <div id="details">Phone : 01207 693 913 Mobile: 07729 327 323 e-mail: chris@lime4.co.uk</div> </div> </body> </html> This is the PHP which it is linked to <?php $comments = $_POST['comments']; $to = "info@echographics.co.uk"; $re = " New website email feedback"; $msg = $comments; mail ( $to, $re, $msg ); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <h1>Thanks for your email address, we will be in touch.<h1> </body> </html> This is the page in question http://www.aardesign.co.uk/lime/index.html Can anyone help ? Thanking you. Alan.
  2. Hi can you take a look at a site Im working on? Im wanting to make the black area scrollable (a scrollbar on the righthand side). (A sort of webpage within a webpage!) The site isnt finished yet thats why there is no content!! http://www.aardesign.co.uk/slideshow/index.php Is there any way I can do this? Also is there any way I can make the background slideshow images fade in and out of each other? Preferably without using Jquery? Ive found this piece of js code : fadeduration 1000, but Im not sure where it goes. Thanking you in advance. Alan.
  3. rallport -Thanks for that, in your opinion do you think I should abandon the PHP/JS and use the Jquery method instead?
  4. Hi, Ive got a slideshow which is working fine. However I would like the images to fade in and out of each other. I have found this js code but Im not sure where exactly it goes. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="fadeslideshow.js"> /*********************************************** * Ultimate Fade In Slideshow v2.0- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more ***********************************************/ </script> <script type="text/javascript"> var mygallery=new fadeSlideShow({ wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image imagearray: [ ["http://i26.tinypic.com/11l7ls0.jpg",'>http://i26.tinypic.com/11l7ls0.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."], ["http://i29.tinypic.com/xp3hns.jpg",'>http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave",'>http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"], ["http://i30.tinypic.com/531q3n.jpg"],'>http://i30.tinypic.com/531q3n.jpg"], ["http://i31.tinypic.com/119w28m.jpg",'>http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element! ], displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false}, persist: false, //remember last viewed slide and recall within same session? fadeduration: 500, //transition duration (milliseconds) descreveal: "ondemand", togglerid: "" }) var mygallery2=new fadeSlideShow({ wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image imagearray: [ ["http://i26.tinypic.com/11l7ls0.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."], ["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"], ["http://i30.tinypic.com/531q3n.jpg"], ["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element! ], displaymode: {type:'manual', pause:2500, cycles:0, wraparound:false}, persist: false, //remember last viewed slide and recall within same session? fadeduration: 500, //transition duration (milliseconds) descreveal: "always", togglerid: "fadeshow2toggler" }) </script> THIS IS THE CODE FOR MY SLIDE SHOW: <?php $imageDirectory = "images"; $interval = 5; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Max's Slide Show</title> <link href="nrg_stylesheet.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> var picn=0; var picList = new Array; var actImg = new Image(); <?php if ($handle = @opendir($imageDirectory)) { $i = 0; while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { $path = $imageDirectory; if(is_file($path.DIRECTORY_SEPARATOR.$file)) { $info = $path_parts = pathinfo($file); if ( (strtolower($info['extension']) == 'jpg') || (strtolower($info['extension']) == 'jpeg')) { $file = addslashes($file); echo "picList[$i] = '$path/$file';\r\n"; $i++; } } } } } ?> function setCountDown () { actImg.src = picList[picn++]; document.getElementById("pic").src=actImg.src; if (picn>=picList.length) picn=0; setTimeout ( "setCountDown()", <?php echo ($interval*1000); ?> ); } </script> </head> <body onload="setCountDown();"> <div id="container"> <div id="header"><div id="header_left"></div> <div id="header_main"></div><div id="header_right"></div></div> <div id="content"> <img src="<?php echo $path.'/'.$file; ?>" alt="pic" id="pic" border="1" /> </div> <div id="footer"><a href="http://www.phpf1.com" target="_blank">Powered by PHP F1</a></div> </div> Can anyone help please ?? Thank you. Alan.
  5. Hi the lad Im working for wants a slideshow for the background of his site. Ive got the slide show up and running. Its php and js. Ive tried to attach the php file to the css stylesheet as the background property but it doesnt work. Any suggestions. Thanks. Shedman.
  6. I found this and its just what Im looking for. Its not html5 but it is really simple to do - even I sussed it out!!! http://www.phpf1.com/download.html?item=16
  7. Hi Ive been asked to do a site with changing images on the home page. The images have to fill the whole page and change every 30 seconds or so, with no user interaction - IE no arrows etc. Something along the lines of this https://www.wetransfer.com/ Im familiar with javascript and php. Or is the a way to do it with HTML 5 ? Thanks Alan.
  8. Thanks for that webdesigner93. Ive tried it with the additional code and it works fine.
  9. Thats fine, but how do I adjust the code in order to make it work?
  10. Hi Im learning about PHP and Im teaching myself from a book. Im on to the section about cookies. This is the code I copied from the book: <?php $user = $_POST['user']; $color = $_POST['color']; $self = $_SERVER['PHP_SELF']; if (($user != null) and ($color != null)) { setcookie( "firstname", $user, time()+36000); setcookie( "fontcolor", $color, time()+36000); header( "Location:getcookie.php"); exit(); } ?> <html><head><title>Set Cookie Data</title></head> <body> <form action="<?php echo($self);?>" method="post"> Please enter your first name: <input type="text" name="user"><br><br> Please type in your favourite font color: <input type="radio" name="color" value="#FF0000">Red <input type="radio" name="color" value="#00FF00">Green <input type="radio" name="color" value="#0000FF">Blue <br><br><input type="submit" value="Submit"> </form> </body> </html> This is the code for the second part: <?php $user = $_COOKIE['firstname']; $color =$_COOKIE['fontcolor']; ?> <html><head><title>Get Cookie Data</title> <style type="text/css"> body{color: <?php echo( $color );?>} </style> </head> <body> <h1>HELLO<?php echo ($user);?>!</h1> </body> </html> The first page works but when input the data and press "Submit" I get this:(Please see attachment for screen shot) can anyone see where I am going wrong?? Thanking you in advance ShedHead.
  11. Thank You for all your comments. ShedHead.
  12. Hi, apart from my laptop which is WiFi enabled, Ive also got a table top computer (XP) which is not WiFi enabled. My router is Netgear. Im thinking of buying this adapter. Will this enable me to connect my table top to my router? I would appreciate any constructive advice. Thanking you, ShedHead.
  13. Right, Im in the Edit Themes/Appearence/Editor/StyleCSS. Correct me if Im wrong but is it just a case of changing the CSS rules. Also if I want to put an image in the header do I just link it to an image in the hosting server?
  14. Hi, Ive done a site for a friend www.northroadgym.co.uk. He is happy with it, but hes asked me about Wordpress so he can post news messages on the site. Ive got Wordpress installed on the remote server, sorted the MySQL etc and everything is fine. At the minute Im sitting looking at the "Dashboard". Ive read the documentation but Im still lost. My problem is what the hell do I do now??? Is it a case of linking the site to Wordpress or do I make a seperate HTML page for WordPress or am I missing something? Im totally stumped, so rather than sitting looking at it, I thought I would ask you folks for some advice. Im confident with HTML and CSS but I havnt a clue about this!!! Is there any good tutorials for simple people!!!??? Please Help!!!! ShedHead.
  15. Cheers bocaj, that worked a treat. Shedman.
  16. Using CSS, how do I change the colour of my email link on my web page. At the moment the default colour is blue but as my background colour is light blue there is a colour clash. Is there anyway I can change it? Thanking you in advance, Shedhead.
  17. Yeah Jon, Im trying to work out how do a PHP contact page. Any help would be appreciated. Shedhead
  18. Thanks for your help folks. Ive tried it with Yahoo and Hotmail. I mystified as to why it doesnt work for me!! Shedhead.
  19. Can someone please tell me why this contact page does'nt work? When I fill in the details and press the submit button, Im taken to my email but the message isnt there just a blank box. Can anyone see what is wrong with my code? Thanking you in advance. Ive just discovered the problem seems to be with Yahoo mail, as it works fine in Outlook and Google. Does anyone know why this might be?? This is my code:- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>palatine_contact</title> <style type="text/css" media="screen"> <!-- @import url("palatinestylesheet.css"); --> </style> </head> <body> <div id="body"></div> <div id="header"></div> <div id="phone">mobile - 07897111980</div> <div id="email"><a href="mailto:info@palatinecomputerservices.co.uk">email: info@palatinecomputerservices.co.uk</a></div> <div id="logo"></div> <div id="h_button"><a href="index.html"><img src="buttonhome.gif" alt="link to home page" width="150" height="70" border="0" /></a></div> <div id="s_button"><a href="services.html"><img src="buttonservices.gif" alt="link to service page" width="150" height="70" border="0" /></a></div> <div id="c_button"><a href="contact.html"><img src="buttoncontact.gif" alt="link to contact page" width="150" height="70" border="0"/></a></div> <div id="heading1">Contact Us</div> <div id="palatineform"> <form action="mailto:geoff.charlton2@virgin.net" method="post" enctype="text/plain" name="form1" id="form1"> Please enter your name and address<br> <textarea name="address" cols="60" rows="9" wrap="virtual"> </textarea> <p> Please enter your telephone number: <br><input type="text" name="Phone" size="40"><P> Please enter your email address:<br> <input type="text" name="Email" size="40"><P> </P> If you wish, you can write details of your problem below, please include your operating system:-<br> <textarea name="comments" cols=100 rows=10 wrap="virtual"> </textarea> </P> <br /> <br><input type="submit"> <input type="reset"><br/> </form> <div id="bottomspacer"></div> </div> </body> </html>
  20. Hi, Im working on a site for a computer repair company. On the Contact Us page, I thought it would be a good idea to enable the user to upload a screen shot to aid diagnosis. What is the best way of achieving this? Thanking you in advance. Shedhead.
  21. Hi, I use Firefox, However when I view my site in IE7 everything below the heading is way off to the right. The thing is when I preview it in IE7 through Dreamweaver everything is OK. Ive only just puplished it so its not coming up some search engines yet. The best way to view it is www.treesculpting.co.uk then go to the "aardesign" link then the link for the "henrytudorhotel". Everything is OK in Firefox it is just IE. Can anyone sort my problem out for me please? Thanking you Shedhead.
  22. Hi everyone, the last couple of weeks, when I close Firefox Ive got these full page adverts staring at me. Ive got "pop up blocker" enabled. How do I get rid of these things? Thanks ShedHead
  23. Hi Everyone,is there a way of removing the underline from a text link. Apart from making the link an image which I dont wish to do. Thanks Shedhead

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.