Hall Templates


Website Templates


Today's Deals



Newsletter
Subscribe to our newsletter and get all of the latest tips and tricks sent directly to your email!

E-mail

RSS Feed
Get the most recent posts sent to you directly by subscribing to our RSS feeds!

Oct
30

How can i decorate an images popup title/alt attribute?

Programming & Design

  
wordpress templates
deathbychorusandverse asked:

Ive seen this on a i cant find anymore but their was some javascript that allowed you to an alt/title attribute so when the little box pops up, its fits your theme.

Know where i can find some title/alt scripts? maybe something that pops them up faster and stylizes them?

Sphere: Related Content



Tags: , , , , , ,


Top Recommended Ebooks

  1. kryzchek79 Says:

    Your best bet is to simply use a hidden that contains your alt text. This is then shown when the OnMouseOver event is triggered. You simply need a Javascript function that handles the OnMouseOver event, and takes a string parameter containing what would be your title/alt text. The can already be formatted, or you can simply set the innerHTML text property with the string passed to the function.

Add A Comment

Related Posts: