composer, tooltip usage, and mouseover

User Help for Seamonkey and Mozilla Suite
Post Reply
SocialMinistry
Posts: 2
Joined: July 14th, 2009, 8:18 am

composer, tooltip usage, and mouseover

Post by SocialMinistry »

Hi, I'm new to Seamonkey and will be doing some basic web pages for a friend. I love the easy of using Seamonkey, but am confused about the tooltip usage. I'm trying to do a mouseover on a button, no mouse=regular button, mouseover=highlighted button. I can go into the html and edit the line showing the button and link, but my friend when he takes over will have a lot of problems with doing the same. Can I use a tooltip for that job, this is something I can teach him with ease. The line I'm using for the html is:

<img src="Images/cooltext453151655.png" onmouseover="this.src='Images/cooltext453151655MouseOver.png';" onmouseout="this.src='Images/cooltext453151655.png';" />

I know this is probably a simple task, and a question from a newbee, but any help, or pointers to where to find info would be greatly appreciated.
User avatar
Andy Boze
Posts: 2755
Joined: June 30th, 2005, 9:53 pm
Location: South Bend, IN

Re: composer, tooltip usage, and mouseover

Post by Andy Boze »

I'm not sure how you would use a tooltip to accomplish the same thing you're doing with the JavaScript mouse events. I'd be more inclined to use CSS, which would probably be simpler for your friend. Take a look at the article at http://www.elated.com/articles/css-rollover-buttons/. I think it may give you some ideas. The comments at the end are useful, too.

BTW, if you're using SM solely for the Composer component, I'd recommend using KompoZer, which is a descendant of SM Composer. It has more advanced CSS tools than SM Composer does.
But then again, I may be wrong.
SocialMinistry
Posts: 2
Joined: July 14th, 2009, 8:18 am

Re: composer, tooltip usage, and mouseover

Post by SocialMinistry »

Andy Boze wrote:I'm not sure how you would use a tooltip to accomplish the same thing you're doing with the JavaScript mouse events. I'd be more inclined to use CSS, which would probably be simpler for your friend. Take a look at the article at http://www.elated.com/articles/css-rollover-buttons/. I think it may give you some ideas. The comments at the end are useful, too.

BTW, if you're using SM solely for the Composer component, I'd recommend using KompoZer, which is a descendant of SM Composer. It has more advanced CSS tools than SM Composer does.


Andy, Thank you the tip and feedback, it's nice to know that forums are so very helpful.
User avatar
Andy Boze
Posts: 2755
Joined: June 30th, 2005, 9:53 pm
Location: South Bend, IN

Re: composer, tooltip usage, and mouseover

Post by Andy Boze »

Glad to help. This is a great place for assistance. I've learned a lot over the years.
But then again, I may be wrong.
Post Reply