Results 1 to 4 of 4

Thread: drop down textarea box on click?

  1. #1
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default drop down textarea box on click?

    I want a code that does something like this does: http://pastelsmash.com/fontstyles

    Except instead of the text that you click you click an image.

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    http://www.alistapart.com/articles/dropdowns

    Just put an img inside the a inside the li's and it will do that. There are other ones too this is the simplest named one I know.

  3. #3
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default

    ermm... im confused lol

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    blue says to follow the tutorial linked to in his post.

    and where the code has an anchor tag inside a list item tag, add your image tag.

    so this:

    HTML Code:
    <li><a href="">Shadow bass</a></li>
    would become this:

    HTML Code:
    <li><a href=""><img src="image.jpg" alt=""></a></li>
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •