HTML Drop down text area - Google

Discussion in 'HTML & Website Design' started by hsc, Apr 21, 2008.

  1. #1
    Hi

    i want to create on click Dropdown text area using HTML. not java scripts. And it should be scroll by google.

    Because i have long page, i want to make it shooter and keep same text for google also.

    please let me know HTML or any golgle scrollable code.

    Thank you
     
    hsc, Apr 21, 2008 IP
  2. mobilebuzz

    mobilebuzz Banned

    Messages:
    1,108
    Likes Received:
    101
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i dnt think it is poss
    you can create a drop down list not drop down text area
    btw your english is superb :D
     
    mobilebuzz, Apr 21, 2008 IP
  3. hsc

    hsc Banned

    Messages:
    237
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sorry about that. Thank you
     
    hsc, Apr 21, 2008 IP
  4. itcn

    itcn Well-Known Member

    Messages:
    795
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    118
    #4
    LOL

    Do you mean this?
    <select name="mydropdown">
    <option value="1">Item 1</option>
    <option value="2">Item 2</option>
    <option value="3">Item 3</option>
    </select>

    Because that text can be indexed by Google (Item 1, etc.)
     
    itcn, Apr 21, 2008 IP
  5. jeeberman

    jeeberman Guest

    Messages:
    141
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    jeeberman, Apr 21, 2008 IP
  6. hsc

    hsc Banned

    Messages:
    237
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    No i'm taking about drop down text box. not like dropdown menu.

    Ex - Title - (onclick) - 250 text area.
     
    hsc, Apr 22, 2008 IP
  7. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You'll need Javascript, otherwise the closest you can get to with HTML and CSS is having the click on "Title" show the text area so long as :focus is on "Title" but then if this is a blank text area where people have to type, it will be gone as soon as the keyboard or mouse tries to sit on it-- and Opera and Safari don't keep :focus on an element after click anyway.

    But, you CAN make it googliefriendly! What you do is, have the text area show up BY DEFAULT-- that is, those without Javascript (like, teh googlies, and the blind, and people like me with it turned off) get the whole page. Those with Javascript don't see the text area until they click-- meaning first the Javascript hides the text area On Load (which will of course only work on those with JS enabled!), and shows On Click. This is the best way. It's called graceful degradation-- the page is still fully functional without Javascript, but those who have Javascript get a progressive enhancement-- the page looks cleaner when JS is running.

    But pure HTML and CSS, sorry, you can't do it. Possibly in the far far future when CSS3 is fully out and implemented, as there are regular-expression possibilities in that. But that's like 10 years away plus another 10 for IE : )
     
    Stomme poes, Apr 22, 2008 IP
  8. hsc

    hsc Banned

    Messages:
    237
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thank you very much stomme poes. Really valuable points. Thank you again.
     
    hsc, Apr 22, 2008 IP