PDA

View Full Version : nice trick.. summary of the topic


jacob
Fri 30th Mar '01, 1:09pm
look at this url:

http://www.eruditionzone.com/forum/index.cfm?fuseaction=listings&CFB=1&forum=2

move your mouse on any title and see what will happen

Wayne Luke
Fri 30th Mar '01, 1:32pm
It is done by using the "title" attribute which can be applied to any tag under the HTML 4.01 specification.

Kier
Fri 30th Mar '01, 1:50pm
You'll see it in use if you hover over any of the vbcode buttons on the beta forums.

Joe
Fri 30th Mar '01, 2:07pm
I use this in my postbit template, for the post count, location, and registered date, just put the mouse over the username for the popup, cleans up the forum quite a bit, you can see it in action at http://216.215.238.193/showthread.php?s=&threadid=1386

I also use the title= tag on my "five links" in the header, and i will also use them for the forum title like the site listed above in the near future, i just havent had time to put in the code yet.

I also use this for the (Read New | New Thread | Subscribe) links on the forum index, forgot about thoes ...

jojo85
Fri 30th Mar '01, 4:14pm
Originally posted by jacob
look at this url:

http://www.eruditionzone.com/forum/index.cfm?fuseaction=listings&CFB=1&forum=2

move your mouse on any title and see what will happen
It's very easy to make!!

Essam
Fri 30th Mar '01, 9:53pm
How can we do it to show a summary, not the whole post?

mrlister
Fri 30th Mar '01, 10:34pm
it requires a extra query right?

Essam
Fri 30th Mar '01, 10:46pm
Originally posted by mrlister
it requires a extra query right?

the summary? yeah I believe so,

Wayne Luke
Sat 31st Mar '01, 2:31am
You would have to pull the first post out of the database with the thread. With Joins, it wouldn't require another query just a more intense one.

Once you have the pagetext you can shorten it to the characters you want to show.