homepage Welcome to WebmasterWorld Guest from 54.197.171.109
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Tool Tips for Filenames
How do I make my own?
nomadsoulkarma




msg:4109688
 10:04 am on Apr 4, 2010 (gmt 0)

When you place your cursor over any file, a tool tip box always pops up giving file info etc...

Well, I want to have my own information in the box. I don't know if or how to do this in a website.

Let me explain, I have an mp3 language translation website, after doing a db search, files are listed and click-able. Before the user listens to the mp3, I'd like to have a little pop-up with grammar tips phonetics or even the file's text translation.

All files are on a Linux server and am using a scaled down kplaylist (php , mysql)

 

lammert




msg:4109690
 10:15 am on Apr 4, 2010 (gmt 0)

Hi nomadsoulkarma, welcome to WebmasterWorld!

There are many fancy solutions with Javascript to your problem, which can draw very pretty boxes but the easiest way is to use the title tag in the link element to the file. For example:

<a href="/example.mp3">File name</a>

could be replaced with

<a href="/example.mp3" title="here are the tips">File name</a>

and produce a text box with the extra information if the visitors hover with their mouse above the title.

nomadsoulkarma




msg:4109697
 11:13 am on Apr 4, 2010 (gmt 0)

Thank you for the kind welcome. I am looking forward to exploring this website.

Well, my links are generated from a mysql database and I have thousands of files. I probably should have posted this in the php section. I think I'm going to have to make a new text columns in one of the tables then figure out what to do from there.
I'm probably going to have to stick to what I've got until my skills become more sophisticated.Im possibly over my head.
Thanks for your help.

g1smd




msg:4109705
 11:37 am on Apr 4, 2010 (gmt 0)

Yes, there's several parts:
- database to store the data,
- PHP and mySQL to manipulate the data,
- HTML to show the data.

nomadsoulkarma




msg:4109908
 12:26 am on Apr 5, 2010 (gmt 0)

So it can be done?
If you guys find and example, please link me.
Thanks

brotherhood of LAN




msg:4109962
 2:50 am on Apr 5, 2010 (gmt 0)

Yes, there's several parts:
- database to store the data,
- PHP and mySQL to manipulate the data,
- HTML to show the data.


That's the way to go. The most arduous part is the 2nd part, you could use phpMyAdmin for that though, rather than developing an interface to add in your new column data

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved