MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > ----------= PC, Desktop and Laptop Support =---------- > Software
Register FAQ Members List Calendar Casino Mark Forums Read

Software Software such as operating systems like Windows XP, Windows Vista, Windows 7 etc., or specific programs.


Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-06, 18:33
whitelines's Avatar
whitelines whitelines is offline
Private First Class
 
Join Date: May 2006
Location: CA
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Default how do i automatically highlight text in a scrollbox?

Sorry if that sounds confusing, but what I mean is how do I have it to where text in a scollbox automatically highlights when people click the inside of it. That way they don't have to highlight it themsevles when they go to copy & paste it... Is there a code for it? I know I've seen other sites do it...
Reply With Quote
Sponsored links
  #2  
Old 06-13-06, 03:35
Raits Raits is offline
Private First Class
 
Join Date: Dec 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: how do i automatically highlight text in a scrollbox?

Hey, this should work:
Code:
<textarea cols="40" rows="10" onClick="javascript:this.select();">
Just some test text here
and there
</textarea>
Reply With Quote
  #3  
Old 06-13-06, 09:51
whitelines's Avatar
whitelines whitelines is offline
Private First Class
 
Join Date: May 2006
Location: CA
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: how do i automatically highlight text in a scrollbox?

ok yea it worked. thank you so much!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:17.


MajorGeeks.Com Home Page
| Admin Tools | All In One | Anti-Spyware | Anti-Virus | Appearance | Backup | Benchmarking | BIOS | Browsers | Covert Ops |
Data Recovery | Diagnostics | Drive Cleaners | Drive Utilities | Drivers | Driver Tools Ergonomics | Firewalls | Games | Game Tweaks | Graphics | Input Devices | Internet Tools | Macintosh | Mail Utilities | Memory | Messaging | Monitoring | Microsoft | Multimedia | Networking | Office Tools | Process Management | Processor | Registry | Security | System Info | Toys | Video | Miscellaneous
|
Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger