 |
|
 |
|
slice2020 Cookie Monster
Joined: 22 Aug 2011 Posts: 50
|
|
 |
|
 |
|
Posted: Wed Aug 31, 2011 3:02 am Post subject: Drupal / PHP question |
|
|
There's just one last thing I'd like to do, but he says he thinks that is impossible with existing Drupal modules (at least those he knows of) and that it should be done using php. Unfortunately he isn't that good with php and neither am I...
So, to come to the point, I have this block on my right toolbar which lists upcoming events using the view module, thus showing 3 different fields : title, date and attachments. My friend was able to make it so the attachments show up with these neat generic logos representing the type of docs they are. What I'd like to do is hide the name of the document that is showing up (that would be done quite easily using display:none) but have that information (the name) inserted automatically in the name attribute of the img (those logos) tag, so that it shows up on hover.
================
Web Design Agency||Web Design London |
|