gregwhitworth's Profile User Rating: -----

Reputation: 219 Stalwart
Group:
Contributor w/DIC++
Active Posts:
1,603 (0.8 per day)
Joined:
20-January 09
Profile Views:
23,762
Last Active:
User is offline Jun 13 2014 11:46 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Mac
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Chevrolet
Dream Kudos:
50
Expert In:
HTML, CSS, Web Design

Latest Visitors

Icon   gregwhitworth Ahhhh, gotta love a peaceful snowfall near the holidays.

Posts I've Made

  1. In Topic: HELP With clear button. Begginner REALLY need help

    Posted 6 May 2014

    Here's a fiddleshowing my preferred method, let me know if you need to support older browsers.

    HTML:
    <input id="msgTxt" style="width: 343px;" value="123456789" />
    <input id="clearBtn" style="background-color: red;" type="button" value="clear" width="80px" />
    


    JS:
    var clearButton = document.getElementById("clearBtn");
    clearButton.addEventListener("click", function() {
        var message = document.getElementById("msgTxt");
        message.value = ""; 
    });
    


    If you need any explanations on this please let me know, but I see some of this in your code already. :)
  2. In Topic: Retype Password textbox issue in IE 11

    Posted 6 May 2014

    While I agree with @astonecipher can you post the HTML of the fields as they are rendered and your template markup for that section so that we can figure out why the content isn't being shown. Because even though this is a password issue now, it may bite you in the future and I would prefer to get to the root of the problem.
  3. In Topic: Add GEO search so i can show relevant results

    Posted 12 Apr 2014

    Ok cool, glad you got things working :)
  4. In Topic: resize html according to screen resolution

    Posted 12 Apr 2014

    The only way to use pixels and have it be responsive is to use media queries to setup thresholds to switch sizes. The easiest solution would be to use percents, but you'll want to still make sure that you have min and max widths set or your design could get destroyed since most websites don't look great in all scenarios. Ping me if you need more help.
  5. In Topic: Add GEO search so i can show relevant results

    Posted 12 Apr 2014

    First off, @modi123_1 is right you should be able piece it together with the info provide. DIC isn't here to write your code for you but to point you in the right direction (teach a man to fish, etc). At any rate, you have the right pieces but I don't see where you are applying the lat & long values back into their respective form value attributes, or did you not include that code? Your PHP seems to be expecting a POST value of latlang (assuming you've assigned the POST array item of 'latlang' to the variable of latlang) but you are actually assigning it to a JS variable and not to the value of a form item.

    Also, if the values of lat and lon do have data from the geo method then you don't need to combine them into one. Just read them in your PHP.
    $lat = $_POST['lat'];
    $lon = $_POST['lon'];
    
    

My Information

Member Title:
Tired.
Age:
29 years old
Birthday:
February 3, 1985
Gender:
Location:
Wasilla, Alaska
Interests:
WISHLIST:

STEAM: http://steamcommunity.com/profiles/76561198008108961/wishlist
AMAZON: http://amzn.com/w/1ZQR48AECMCTM

And pretty much anything from ThinkGeek. Thanks
Years Programming:
13
Programming Languages:
HTML, XML, AS2, PHP, CSS, JS

Contact Information

E-mail:
Private
Website URL:
Website URL  http://www.whitworthgallery.org
Facebook:
http://www.facebook.com/gwhitworth
Twitter:
http://twitter.com/gregwhitworth

Comments

Page 1 of 1
  1. Photo

    Lance907 Icon

    14 Dec 2012 - 17:32
    You were an excellent mentor during my internship in IT. Thanks buddy! Keep in touch.
  2. Photo

    skyhawk133 Icon

    11 Apr 2011 - 17:59
    How ya been man?!
  3. Photo

    muahugs Icon

    11 Aug 2010 - 11:20
    please help solve my problem invisual basic...thanks..
Page 1 of 1