Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Modifying discussionexcerpt2 to show only on hover?
Douglas_Thor
New
i have downloaded discussionexcerpt2, but it puts the preview underneath the discussion links. This is fine except my link colors make it all hard to read.
I would like to be able to hover the mouse over a discussion link and have a short preview pop up with the ALT or TITLE html tag, instead of having it always showing below the link.
Can someone please show me how to mod the discussionexcerpt2 addon to do this?
I would like to be able to hover the mouse over a discussion link and have a short preview pop up with the ALT or TITLE html tag, instead of having it always showing below the link.
Can someone please show me how to mod the discussionexcerpt2 addon to do this?
0
Best Answer
-
jspautsch ✭✭✭Hmm, to get exactly what you describe would require some javascript. I might be able to write it up real quick.0
Answers
This would be easy to do back in my perl script days, but i never learned PHP/CSS...
[edit] I'm an idiot, I just saw that you don't know CSS. It's pretty simple, I'd just look up some quick tutorials. What you're looking for is something like
.excerpt:hover{ display: block; }
What i would like, is for when visitors are at lets say... http://vanillaforums.org/discussion and they hover over the links for the discussions, the html ALT or TITLE tag shows them a short preview of the thread, so they dont have to click on each one to see whats inside.
I'm not sure it needs to be that involved really.
In HTML it would be similar to this:
<a href="http://blahblah.blah/ " TITLE="discussionexcert2 goes here">Test Discussion Link</a>
But i'm so new at PHP that i just dont know how to do it. Any help solving this problem is very appreciated
Did we ever solve this? @jspautsch, did you write him up something he needed there?
Thanks,