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.

Chris Day

Privileged
  • Joined

  • Last visited

Everything posted by Chris Day

  1. Yea after the first year the domain renewal is £9 per year. Bellow is my last bill from them Product description: Amount in GBP: Web Space Small (15 GB) - 12 months GBP 13.80 Annual domain fee - renewal (.net) GBP 9.00 +20% VAT GBP 4.56 Total invoice amount in GBP: GBP 27.36
  2. I used them for 3+ years for my first ever website (i think i still use them for another site). There admin panel is limited but for a basic website it is great. Never had an issue with downtime, any issues i had the customer support handled very quickly. Plus when i started there they offered 1GB storage + the domain then it went to 3GB, then 5GB and now 15GB. And the prices have stayed the same. One are one of the best hosts ive used if not the best.
  3. it is because you are using & in the url this acts as a seperator, try using %26 inplace of the & i.e. mysite.com/index.php?s=html %26 php
  4. As said above it all depends on your work environment i work 08:30-17:30 with a hour lunch so i would say 8 work days for a single person, but if i was to split the work i would say 6 days. Having double the people does not mean it will take half of the time.
  5. I have used this before and worked well for what i wanted, but we only supported the latest browsers as it was an internal piece of software.
  6. Looks nice an clean, The only thing i would say is add label tags so the user can click on the input add on and that select the input
  7. I would say use a contract, this will give you valuable experience actually writing up a formal contract for when you actually start getting paid work. Your first few contracts you may miss out vital parts but as it is free work it wont be as bad as if you has a client who was paying for your service
  8. Chris Day replied to andy9l's topic in General Chat
    Ive went through and followed every one
  9. where i have: <div class="box" style="background-color: <?php echo $settings["color"]; ?>;"></div>You could change that to <div class="box"> <img src="<?php echo $settings["color"]; ?>.png" alt="color" /></div>Then you would make your images yellow.png, red.png and green.png.
  10. Try this: -- -- Table structure for table `settings` -- CREATE TABLE IF NOT EXISTS `settings` ( `name` varchar(32) DEFAULT NULL, `value` text ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `settings` -- INSERT INTO `settings` (`name`, `value`) VALUES ('color', '#009900'), ('password', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8'); This is a mysql export of the table so should work.
  11. I used the hamburger icon on mobile devices for http://cdcoding.com/new/ but it would always stay in the view-port. Once clicked the whole page would turn into the navigation. There may be a few bugs with the above site as i still need to finish it, but as im doing so much coding at work when i get home i have no motivation to finish it lol
  12. Sorry for the poor indentation of the code, WDF removed the tabs/spaces.
  13. The SQL code to run in phpmyadmin (or SQL server): CREATE TABLE settings ( 'name' VARCHAR(32), 'value' TEXT ); INSERT INTO settings (name ,value) VALUES ('color', '#009900'), ('password', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8'); -- The default password is password and the default color is a darkish red Now make a file called color.php (or index.php if you want this to be the homepage) <?php /* Change these values */ $DBhost = 'localhost'; $DBname = 'name_of_your_db'; $DBuser = 'name_of DB_user'; $DBpass = 'password_for_db'; /* Leave everything below this line as it is */ $db = new PDO("mysql:host=".$DBhost.";dbname=".$DBname, $DBuser, $DBpass); $settingsQuery = $db->prepare("SELECT * FROM settings"); $settingsQuery->execute(); $settingsArray = $settingsQuery->fetchAll(PDO::FETCH_ASSOC); $settings = array(); foreach ($settingsArray as $val) { $settings[$val["name"]] = $val["value"]; } if (isset($_POST['color']) && isset($_POST["password"]) && sha1($_POST['password']) == $settings["password"]) { $update = $db->prepare("UPDATE settings SET value = :color WHERE name = 'color'"); $update->bindParam(":color", $_POST['color']); $update->execute(); $settings["color"] = htmlentities($_POST['color']); } ?> <!DOCTYPE html> <html lang=""> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title></title> <link rel="stylesheet" href="style.css" /> </head> <body> <div class="box" style="background-color: <?php echo $settings["color"]; ?>;"></div> <form method="post" action="#"> <input type="color" name="color" placeholder="color" /> <input type="password" name="password" placeholder="password" /> <input type="submit" /> </form> </body> </html> make a file called style.css, this you will need to edit to get the style you want html, body { background-color: #555; text-align: center; } .box { width: 200px; height: 200px; display: inline-block; } Please note that this is very un-tested and should give you a base to work from
  14. I have to make something very similar to this for a project im working on, but it would automaticly generate them form values stored in the database Overall it looks nice and is easy to use, but i would add the ability to add the addresses for both businesses.
  15. It looks like you have only posted part of your HTML. If you are trying to add a semi transparent background you can use background: rgba(RRR, GGG, BBB, OOO);
  16. Can you post the code here or provide us with a link? JS Fiddle if a handy tool
  17. A different word in a different location each day ... kind of like a treasure hunt
  18. Sur just PM me the link
  19. Why not set the orange element hidden from the page by giving it a negative x000 top position. I have updated your script: http://jsfiddle.net/uL8z4p1h/2/
  20. This will fix the issues with the new line on the navigation, just replace Emma.css with this: .nav a { color: #5a5a5a; font-size: 14px; font-weight: bold; padding: 14px 20px; text-transform: uppercase; } .nav li { display: inline; } /* no Pull left was added */ .pull-left { float: left; } .pull-right { float: right; } .jumbotron { background: url(Emma3.jpg); height: 1200px; background-repeat: no-repeat; background-color: black; padding: -10px; /* add this to fix the float issues */ clear: both; } .jumbotron .container { position: relative; top:10px; } .jumbotron h1 { color: #fff; font-size: 48px; font-weight: bold; text-transform: uppercase; } .jumbotron p { font-size: 20px; color: #fff; } .cc { font-size: 11px; color: #5a5a5a; float: right; }
  21. I don't have flash active on chrome so it must of fell back to a html/php script. There are two ways you can do this. 1) Use PHP GD Libary to load the image and then add the text. and use html to send the text 2) Use JQuery to add the text over an image like this example or this (same as other example, i just added the ability to move the text)
  22. How many photos are you wanting to search throgh?
  23. For what languages? I.E. for javascript you could make a simple game like cookie clicker or 2048 Or if you want to learn a server side language like PHP build a text based game. I like to make games as you learn alot more rather then just doing the regular "build a guestbook" tutorial, plus at the end you get to play a game

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.