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.

fat_boy

Members
  • Joined

  • Last visited

  1.    rallport reacted to a post in a topic: Can a company sue me for deleting "My Work"?
  2. Thank you guys, I will take your advices Its time to let go and move on. Long story mate, but it all came down to money. They told me if the company made this amount of income, I would get certain amount of bonus percentage. But I didn't get anything. No payrise, No bonus. After 3 years and few months I was on the same pay as I first started. So i got a little bit upset because I did not get what they promised me. They refused to give me what I was meant to get and things started to get ugly. After that day, me and the boss didn't get along. Since it is a family business, the father, mother, husband, cousin all worked in the office in different departments, it was hard for me to work there any longer. And they got rid of me. But now I'm paid in full after threatening them the sort of damage I could do to them. I've handed over all the work, usernames and password. Time to update my cv and portfolio now
  3. I have been working for this company for 3 years now as a Web Designer and IT Technician. I've designed the company website and looked after all the IT side of the business. Everything was verbally agreed, before I started working for them. No contract signed. The amount of work, effort and success I've brought to the company I feel as though I should get a percentage of the company. They cant just sack me....... but they did LOL. Now I plan on deleting "My Work".... What I mean by my work is the design's I did for them (including website, magazines, logo's, broachers etc etc etc, 52 employees emails set up by me) I want to delete it all. Can they sue me for deleting my work? but I did do most of the stuff while I was in the office working for them.
  4.    fat_boy reacted to a post in a topic: Unlimited Domain Name Hosting?
  5. What does it mean when a hosting company is offering unlimited domain name hosting? My brother has a hosting provider already for his company, will i be able to create 20 sub folders and put 20 different websites on it? for example: /public_html /public_html/first_website/index.php /public_html/second_website/index.php /public_html/third_website/index.php So far, they have put all of their stuff inside public_html folder. Will it work if i was to put all of their stuff on first_website folder and forward the domain name to /public.html/first_website/index.php and use second_website and third_website folder to put other websites on there. Sorry if this is a silly question, I'm just a newbie.
  6. Thank you very much. Works a treat. I'll take u out for a drink one day.
  7.    fat_boy reacted to a post in a topic: Adding cost to distance already calculated.
  8. Thank you for replying back. I have seen some of ure work and its very impressive. Do you think its a good idea for me to get personal on my website. I mean like talk about me, my hobbies, my likes & dislikes, put pictures of myself and family?? Or should i just talk about the service I would be providing and cost?
  9. Before I even start building a portfolio of myself. There is one question that has been bugging me. Do I advertise myself as a freelance web designer or as a company web designer?? If i do advertise myself as a freelance web designer, I plan on putting alot of information about me on my portfolio website. Pics, my likes, dislike etc etc What route should I take??
  10. How can i add cost to the distance already calculated? for example £1.20 for every km. <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Ibys Car</title> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> // Arrays for the origins and destinations inputs var origins = new Array(); var destinations = new Array(); // Initial query parameters var query = { travelMode: google.maps.TravelMode.DRIVING, unitSystem: google.maps.UnitSystem.METRIC }; // Google Distance Matrix Service var dms; // Interval and Limit values for tracking origins groupings (for staying within QUERY_LIMIT) var originsInterval = 0; var originsLimit; // Query Limit - 100 is the non-premier query limit as of this update var QUERY_LIMIT = 100; /* * Updates the query, then uses the Distance Matrix Service */ function updateMatrix() { updateQuery(); dms.getDistanceMatrix(query, function(response, status) { if (status == "OK") { populateTable(response.rows); }else{ alert("There was a problem with the request. The reported error is '"+status+"'"); } } ); } /* * Generates a table in 'matrix' element for populating dms results */ function createTable() { var table = document.getElementById('matrix'); var tr = addRow(table); addElement(tr); for (var j = 0; j < destinations.length; j++) { var td = addElement(tr); td.setAttribute("class", "destination"); td.appendChild(document.createTextNode(destinations[j])); } for (var i = 0; i < origins.length; i++) { var tr = addRow(table); var td = addElement(tr); td.setAttribute("class", "origin"); td.appendChild(document.createTextNode(origins)); for (var j = 0; j < destinations.length; j++) { var td = addElement(tr, 'element-' + i + '-' + j); } } } /* * Retrieves origins and destinations from textareas and * determines how to build the entire matrix within query limitations */ function getInputs(){ var originsString = document.getElementById('origins').value; var destinationsString = document.getElementById('destinations').value; origins = originsString.split("|"); destinations = destinationsString.split("|"); query.destinations = destinations; originsLimit = Math.floor(QUERY_LIMIT/destinations.length); if(originsLimit > 25){ originsLimit = 25; } } /* * Updates the query based on the known sizes of origins and destinations */ function updateQuery(){ if(origins.length * destinations.length < QUERY_LIMIT && originsLimit < 25){ query.origins = origins; originsInterval=1; }else{ query.origins = origins.slice(originsLimit*originsInterval,originsLimit*(originsInterval+1)); originsInterval++; } } /* * Initializes the matrix data and pulls the first set of near 100 results */ function matrixInit(){ dms = new google.maps.DistanceMatrixService(); getInputs(); createTable(); updateMatrix(); disableButton('initButton'); } /* * Accepts rows and populates table content. Error validation is limited to the "ZERO_RESULTS" * return status. originsLimit and originsInterval are used to find the correct table cell. */ function populateTable(rows) { var elementX; for (var i = 0; i < rows.length; i++) { for (var j = 0; j < rows.elements.length; j++) { elementX = originsLimit*(originsInterval-1) + i; if(rows.elements[j].status != "ZERO_RESULTS"){ var distance = rows.elements[j].distance.text; var duration = rows.elements[j].duration.text; var td = document.getElementById('element-' + elementX + '-' + j); td.innerHTML = distance + "<br />" + duration; }else{ var td = document.getElementById('element-' + elementX + '-' + j); td.innerHTML = "No results available," + "<br />" + "Check your location."; } } } if(origins.length <= elementX+1){ disableButton('updateButton'); enableButton('clearButton'); }else{ disableButton('updateButton'); setTimeout("enableUpdateButton()",10000); document.getElementById('updateButton').value="Wait 10 seconds..."; } } /* * Updates the query parameter for unitSystem when the unit select option is changed */ function updateUnits() { switch (document.getElementById("units").value) { case "km": query.unitSystem = google.maps.UnitSystem.METRIC; break; case "mi": query.unitSystem = google.maps.UnitSystem.IMPERIAL; break; } updateMatrix(); } /* * Adds a row to the provided table element */ function addRow(table) { var tr = document.createElement('tr'); table.appendChild(tr); return tr; } /* * Adds a cell with provided id to the provided row */ function addElement(tr, id) { var td = document.createElement('td'); if (id) { td.setAttribute('id', id); } tr.appendChild(td); return td; } /* * Disables a button using the provided elementId */ function disableButton(buttonId){ document.getElementById(buttonId).disabled=true; } /* * Enables a button using the provided elementId */ function enableButton(buttonId){ document.getElementById(buttonId).disabled=false; } /* * Renames the updateButton and enables it. */ function enableUpdateButton(){ enableButton('updateButton'); document.getElementById('updateButton').value="Add more values"; } /* * Clears the results table and resets button states */ function clearTable(){ var table = document.getElementById('matrix'); var rowCount = table.rows.length; for(var i=0; i<rowCount; i++) { table.deleteRow(0); } originsInterval = 0; originsLimit = null; disableButton('clearButton'); enableButton('initButton'); } </script> <style> body { font-family: sans-serif; font-size:.8em; } #container { width:100%; padding:15px; } #matrix { font-size: 15px; border-collapse: collapse; } table, td, th { border:1px solid black; } .origin,.destination, { font-weight: bold; text-align: center; background-color: #e0ffe0; } #instructions { padding: 10px; } #queryInputs{ margin-top: 10px; } td { border: 1px solid grey; width: 100px; cursor: default; background-color: #ffffff; } a { text-decoration: underline; color: blue; cursor: pointer; } input, select, textarea{ margin: 10px 10px 15px 10px; } </style> </head> <body> <div id="container"> <div id="controls"> <a id="instructionsLink" onclick="instructionsShowHide()"></a> <form id="queryInputs"> Pick Up:<br /> <textarea id="origins" rows="5" cols="50">Swiss Cottage</textarea><br /> Drop Off:<br /> <textarea id="destinations" rows="5" cols="50">Kentish Town</textarea><br /> <input type="button" id="initButton" onClick="matrixInit()" value="Calculate Cost"></button> <input type="button" id="updateButton" onClick="updateMatrix()" disabled="true" value="Add more values"></button> <input type="button" id="clearButton" onClick="clearTable()" disabled="true" value="Clear"></button> </form> </div> <table id="matrix"> </table> </div> </body> </html>
  11.    fat_boy reacted to a post in a topic: My First Ever Website
  12.    fat_boy reacted to a post in a topic: My First Ever Website
  13. 103 Views and nobody knows how it is done?? Someone please guide me some where. What i am trying to do is: 1. to allow users to search for uk address or point of interest. 2. calculate the distance between two location and adding price to it. How do i start this??
  14. that is not my work. It is something i am trying to do. I need help trying to figure out how it is done?? any ideas how they managed to do that??
  15. Thank you all
  16. P.S I will be using joomla 1.6
  17. This is my first ever project for a real client. My local mini cab office want me to build them a website to allow customers to book online and provide instant quote on-line. This is the sort of booking page they want. https://www.addisonlee.com/quickbooker/# How is this done? where do they get their database from? Any help or suggestions would be greatly appreciated.
  18. Hello everyone. I've just joined this website. I'm new to web designing and hope to learn a few tricks from here. P.S In case u guys are wondering... Yes I am fat.

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.