1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Movable Text Box

Discussion in 'HTML & Website Design' started by SoCoolNetwork, Jul 20, 2013.

  1. #1
    I know pretty much zip about CSS/JS and I suspect this is really easy, but I just wonder what the best most flexible ways to do it.

    How would you create a text box (i'e a box that users can type text into, and that text is held in a variable) which can easily be manipulated on the screen by it's x and y? I come from a games coding background so I used to manipulating things by their .x and .y ! [​IMG] Would this be straight CSS3? or would be better with JQuery?

    Thanks for any help.
     
    SoCoolNetwork, Jul 20, 2013 IP
  2. s.molinari

    s.molinari Member

    Messages:
    82
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    45
    #2
    You're probably best off using jQuery as a framework and adding the functionality you are looking for to it. For instance, this here.
    http://jqueryui.com/draggable/

    Scott
     
    s.molinari, Jul 21, 2013 IP
    digitalpoint likes this.