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.

Shaun

Privileged
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Shaun got a reaction from sergRamalli in Redirect after form is submitted   
    Instead of:
     

    header("location: cart.php");
     
    use:
     

    header("location:".$_SERVER['HTTP_REFERER']);
  2. Like
    Shaun got a reaction from futureproof in CSS and jQuery question   
    div tags are valid HTML5
  3. Like
    Shaun got a reaction from sergRamalli in <hr /> breaks   
    Before the while loop, add:
     

    $i = 0;
     
     
    In the while loop, you should add:
     

    if($i++ % 3 == 0){ echo '<hr />'; }
  4. Like
    Shaun reacted to Leonvv in Menu help   
    Sure,
     
    here it is
  5. Like
    Shaun got a reaction from rrr in Contact form validation   
    Help you write it? Sure. Write it for you? Nah
  6. Like
    Shaun reacted to DigitalSquid in Error in W3C check   
    It should be:

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. Like
    Shaun got a reaction from murphos1508 in Controlling HTML form using Javascript   
    This is the basics of what you're trying to do with JQuery. If you have anything more specific you'd like to include, just ask. If you understand the semantics, you should be able to play around with this to have it do exactly what you want.
     

    <form id="formid"> <input type="text" id="req_field" /> <select id="disabled_field" disabled="disabled"> <option>Please Select</option> <option>Option 1</option> <option>Option 2</option> <option>Option 3</option> </select> </form> <script type="text/javascript" language="javascript"> $('#req_field').keyup(function(){ if($(this).val() != ''){ $('#disabled_field').attr('disabled', ''); } else { $('#disabled_field').attr('disabled', 'disabled'); } }); </script>
     
    (Don't forget to include the JQuery library in the header)
  8. Like
    Shaun reacted to Lev in Does My Website Look Professional?   
    Some little remarks (this list is not exhaustive):
     
     

     

    These elements should be aligned left. These elements should be aligned right. Text blok, image and brown background should be aligned along their horizontal axes. Why not to make these columns of the same width? Better to increase this padding to 10-20 px (61, 62, 63, 64,) Every hyperlink element should be interactive, dynamicaly react to user's actions (eg onmouseover / onmouseout events). All non-hyperlink elements should not be underlined. Hope that helps.
  9. Like
    Shaun got a reaction from terydinho in Protecting images using *just* CSS...   
    You could just use the style attribute in the IMG tags. i.e.
     

    <img style="background-image:url(image.jpg)" src="blank.gif" width="150" height="150" />
  10. Like
    Shaun got a reaction from terydinho in Protecting images using *just* CSS...   
    I disapprove of the lack of +1's I've been getting lately. Instead, just a lot more questions! lol
     
    Jack, the method I gave you would work. If it was me, I would just make the gallery dynamic so you don't need to go and edit every image tag (even though making a class would still mean having to edit every tag, anyway).
     
    If you don't want to bother with CSS anymore, terydinho's JS idea would work just as well, or even just watermarking.
  11. Like
    Shaun got a reaction from Lewwy in Variable Variable Nightmare   
    Lewwy, the least you could do is +1 Jock
  12. Like
    Shaun reacted to BlueDreamer in how to remove the border on a link   
    The outline is there for a purpose - to advise users of an active or in focus link. A lot of people with less than perfect eyesight rely on the outlines so removing tem just puts a barrier up for many of your visitors.
  13. Like
    Shaun got a reaction from cavking in I woke up this morning and thought......   
    Yes, something my dad taught me: ALWAYS have enough money in the bank to survive for 6 months. This has saved my bacon on a few occasions!
  14. Like
    Shaun got a reaction from hdougie in I woke up this morning and thought......   
    Yes, something my dad taught me: ALWAYS have enough money in the bank to survive for 6 months. This has saved my bacon on a few occasions!
  15. Like
    Shaun reacted to SniderDK in return array output?   
    BUT....
     
    [{"latitude":"39.994972","longitude":"-83.007027"},{"latitude":"40.144711","longitude":"-82.990883"}]
     
    is a JSON (javascript object notation) array so why not use the built in json functions its alot faster than home-brew encoding solutions.
     
    so this would be better for you...
     

    $sql = "SELECT * FROM mytable ORDER BY id DESC"; $rel = mysql_query($sql) or die(mysql_error()); if(mysql_num_rows($rel) < 1){ echo "No info to display!";} else { while($row = mysql_fetch_assoc($rel)){ $cords[] = array("latitude" => $row['lat'],"longitude" => $row['lng']); } echo json_encode($cords); }
     
    of course you can turn that back into an array by using json_decode();
     
    EDIT: assumed (yeah anno) the code given to you was correct, it had the lon and lat mixed up in the assignment...
  16. Like
    Shaun got a reaction from Frost Tear in Developer Needed for Paid Work   
    Very mature. I've reported you. First you turn a job request into a technical help thread, then you snap at Jake for correcting you, now you're turning a civil conversation into a playground fight.
  17. Like
    Shaun reacted to webdeveloper93 in return array output?   
    To grab information from ur database u would do something like the below
     

    <?php $sql = "SELECT * FROM mytable ORDER BY id DESC"; $rel = mysql_query($sql) or die(mysql_error()); if(mysql_num_rows($rel) < 1) { echo "No info to display!"; }else { while($row = mysql_fetch_assoc($rel)){ $lon = $row['longitude']; $lat = $row['latitude']; echo "Longitude".$lon." Latitude ".$lat.""; } } ?>
     
    Hope this helps some
  18. Like
    Shaun reacted to pat24 in Developer Needed for Paid Work   
    Walk Away quickly, check out his interests
     
    martial arts, projectile equipment, high energy materials.
     
     
     
  19. Like
    Shaun got a reaction from BritZin in Developer Needed for Paid Work   
    Very mature. I've reported you. First you turn a job request into a technical help thread, then you snap at Jake for correcting you, now you're turning a civil conversation into a playground fight.
  20. Like
    Shaun got a reaction from Richyyy in Developer Needed for Paid Work   
    Very mature. I've reported you. First you turn a job request into a technical help thread, then you snap at Jake for correcting you, now you're turning a civil conversation into a playground fight.
  21. Like
    Shaun reacted to megaspel in I am but a poor English web designer   
    I just found this forum on google and it's great. I'm 17 year old who knows nothing of the world but I've been designing for about two thirds of my life.
     
    Hopefully I will be able to obtain many sexy women and drugs with the money I make from web designing, although I'm afraid I probably won't be able to compete with all you proffesionals.
  22. Like
    Shaun got a reaction from traxor in Holidays   
    I'm so glad I decided not to take my laptop to Klagenfurt back in May. It was the first holiday I'd had since August 2006 that I was genuinely relaxed and thought-free.
     
    It left me a week behind when I got back but who cares?! Having time for yourself every now and then is surely more important.
  23. Like
    Shaun reacted to Shaun in Game Ideas?   
    There is possibly something like this out there... but a business and investment game?
     
    So you build up a business and increase revenue by recruiting, purchasing assets, creating marketing campaigns, securing investments and selling. for example, the companies would all sell products/services to other companies. Say you started a car dealership and a courier company needed 50 vans, this would increase the value of your company for making the sales and the courier company's value would also increase on assets.
     
    Not only would it be pretty fun and addictive but it could also be educational (depending on how realistic you make it!)
  24. Like
    Shaun got a reaction from darrenbale in Happy birthday Zigpress!   
    Happy birthday Andy!
  25. Like
    Shaun got a reaction from Cabbage in I got an interview ^_^   
    I completely agree, that's how it should be. Unfortunately, it's just how things are. It doesn't mean they're not human beings, it just makes them tough. Look at it this way, there is so much demand for design and development jobs these days that employers have the upper hand. If somebody comes along for an interview and then decides not to take the job, the employer has a whole list of potential candidates with the same skills.
     
    The 2 points I highlighted would infact be good questions, if the job required an extremely qualified and experienced individual to work in a unique position for a huge corporation. In this case, the employer would understand that the level of investment is mutual. However, we're talking about a design agency in Stoke.

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.