vForums Support > Programming & Coding :: Code Requests & Support :: > [F] Topic description

[F] Topic description - Posted By blanka (blanka) on 16th Mar 08 at 7:36pm
http://support.virtualforums.co.uk/board/database/action/view_topic/topic/1464

I put it in global footers but it still didn't work.

Here is the link btw http://blanka.virtualforums.co.uk/board/general/

Re: Topic description - Posted By Tim (grievous) on 16th Mar 08 at 7:39pm
It worked for me, all I did was move the mouse over the text.

Re: Topic description - Posted By blanka (blanka) on 16th Mar 08 at 7:41pm
 
It worked for me, all I did was move the mouse over the text.


I wanted it to show the description under the thread title, like the code was suppose to do. {Smile}

Re: Topic description - Posted By Michael (wrighty) on 16th Mar 08 at 7:42pm
Ross had changed some widths. Try this:

Code:
 
  1. <script type="text/javascript">
  2. /*Topic Description Under Topic Title
  3. Created By Wrighty - vForums Support
  4. Don't RIP, Repost or Claim! */
  5.  
  6. var d = get('td','tag')
  7. for(i=0;i<d.length;i++){
  8. if(d[i].className=="window2" && d[i].width=="54%"  && d[i].innerHTML.match(/started by/i) && location.href.match(/\/board\/(\w)/)){
  9. d[i].getElementsByTagName('span')[2].innerHTML = d[i].getElementsByTagName('span')[0].getElementsByTagName('a')[0].title
  10. }
  11. }
  12. </script>
 

Re: Topic description - Posted By Tim (grievous) on 16th Mar 08 at 7:42pm
It is, i'm seeing a descrption everywhere it should be.

Edit:NVM

Re: Topic description - Posted By blanka (blanka) on 16th Mar 08 at 7:50pm
yay it works!

Thanks Wrighty {Smile}

Re: Topic description - Posted By Michael (wrighty) on 16th Mar 08 at 7:51pm
No worries! {Smile}