The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How would I change the "Preview" Tooltip?

5 posters

Go down

Solved How would I change the "Preview" Tooltip?

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

How would I change the "Preview" Tooltip? 2m7z2nt


Last edited by sign da tits on May 4th 2011, 1:21 am; edited 1 time in total
sign da tits
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 May 3rd 2011, 1:44 pm

BUMP
sign da tits
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. 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.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

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

Post by Saxaca 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
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 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
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 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
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 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.
avatar
Guest
Guest


Back to top Go down

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

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

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

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

Back to top Go down

Back to top

- Similar topics

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