Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-21-2010, 01:39 AM   PM User | #1
wjrasmussen
New Coder

 
Join Date: May 2008
Posts: 33
Thanks: 11
Thanked 0 Times in 0 Posts
wjrasmussen is an unknown quantity at this point
MouseOver/Hover link displays content of link

On this very forum, when you MouseOver/Hover on link for a thread, we get a preview of about 100 words from the first post. How is this done?
wjrasmussen is offline   Reply With Quote
Old 10-21-2010, 01:48 AM   PM User | #2
DrDOS
Senior Coder

 
Join Date: Sep 2010
Posts: 1,231
Thanks: 11
Thanked 156 Times in 156 Posts
DrDOS is infamous around these parts
It's just using the title attribute.

title="Part of the thread text here"
DrDOS is offline   Reply With Quote
Users who have thanked DrDOS for this post:
wjrasmussen (10-21-2010)
Old 10-21-2010, 06:59 AM   PM User | #3
wjrasmussen
New Coder

 
Join Date: May 2008
Posts: 33
Thanks: 11
Thanked 0 Times in 0 Posts
wjrasmussen is an unknown quantity at this point
How would you pull the text out of the linked page to put into the title?
wjrasmussen is offline   Reply With Quote
Old 10-21-2010, 10:16 AM   PM User | #4
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,689
Thanks: 158
Thanked 2,184 Times in 2,171 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
How would you pull the text out of the linked page to put into the title?
Do you know how the forum displays that text in that linked page?
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 10-21-2010, 09:23 PM   PM User | #5
wjrasmussen
New Coder

 
Join Date: May 2008
Posts: 33
Thanks: 11
Thanked 0 Times in 0 Posts
wjrasmussen is an unknown quantity at this point
Quote:
Originally Posted by abduraooft View Post
Do you know how the forum displays that text in that linked page?
you have been very helpful.
wjrasmussen is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 +1. The time now is 08:00 PM.


Advertisement
Log in to turn off these ads.