MozillaZine

composer, tooltip usage, and mouseover

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

Post Posted March 24th, 2010, 7:42 am

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.

Andy Boze

User avatar
 
Posts: 2706
Joined: June 30th, 2005, 9:53 pm
Location: South Bend, IN

Post Posted March 24th, 2010, 8:34 am

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

Post Posted March 24th, 2010, 2:48 pm

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.

Andy Boze

User avatar
 
Posts: 2706
Joined: June 30th, 2005, 9:53 pm
Location: South Bend, IN

Post Posted March 24th, 2010, 5:17 pm

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.

Return to SeaMonkey Support


Who is online

Users browsing this forum: Andy Boze and 2 guests