The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How would I change the "Preview" Tooltip?

View previous topic View next topic Go down

Solved How would I change the "Preview" Tooltip?

Post by sign da tits on April 30th 2011, 3:58 am



Last edited by sign da tits on May 4th 2011, 1:21 am; edited 1 time in total

sign da tits
Forumember

Male Posts : 236
Reputation : 30
Language : British English, AutoIt
Location : England!

http://www.devforumz.com/

Back to top Go down

Solved Re: How would I change the "Preview" Tooltip?

Post by sign da tits on May 3rd 2011, 1:44 pm

BUMP

sign da tits
Forumember

Male Posts : 236
Reputation : 30
Language : British English, AutoIt
Location : England!

http://www.devforumz.com/

Back to top Go down

Solved Re: How would I change the "Preview" Tooltip?

Post by Nera. on May 3rd 2011, 9:34 pm

I would answer you but I'm not sure what is a tooltip? Embarassed
Preview button or something else?

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How would I change the "Preview" Tooltip?

Post by Saxaca on May 3rd 2011, 10:36 pm

What he wants to do is to replace the title attribute in the preview input.
The only way to do it on Forumotion boards is javascript. It can easily be achieved by jQuery, or javascript. Use javascript to get all inputs, loop through them all, and set a new title attribute for each input with your desired title attribute.

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Solved Re: How would I change the "Preview" Tooltip?

Post by Gangstar15 on May 3rd 2011, 10:41 pm

If you don't know what Saxy talking about then just put this script in your overall_header above the </head> tag (:
Code:
<script>jQuery(document).ready(function(){ jQuery('input[value="Preview"]').attr("title", "Preview"); });</script>

Hope it works .)

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Solved Re: How would I change the "Preview" Tooltip?

Post by sign da tits on May 4th 2011, 12:55 am

@Nera. wrote:I would answer you but I'm not sure what is a tooltip? Embarassed
Preview button or something else?
it's fine Nerner<3

sign da tits
Forumember

Male Posts : 236
Reputation : 30
Language : British English, AutoIt
Location : England!

http://www.devforumz.com/

Back to top Go down

Solved Re: How would I change the "Preview" Tooltip?

Post by Guest on May 4th 2011, 1:32 am

Um, there's no need for javascript here.

Since the OP is using PunBB (the ugly post area is a dead giveaway), just go into the posting_body template and edit the INPUT tag for the preview button to add the appropriate title.

Actually, the OP should wait until eToxic re-installs their new (slow, buggy) editor, because any changes made now will most likely not work with the new editor.

Guest
Guest


Back to top Go down

Solved Re: How would I change the "Preview" Tooltip?

Post by kirk on May 4th 2011, 4:55 am

Since the topic was marked as solved i will now lock the thread.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum