I am working with share point 2010 and a wiki with about 20 pages. Now I'd like to add some tooltips / mouseover effects on some elements. The title attribute in a html tag does not help, cause I just can enter text. I'd like to have tooltips with pictues, formatted text...
Can anybody help?
I also tried to add custom html, but <script> and <style> is not allowed or will be removed.
You cannot just type html directly into the rich text editor portion of the screen. However using the Content Editor Web Part you can. Insert the content editor web part and then when selected choose edit source and add your html there.
I use JQuery UI so in your content editor web part use JQuery to add title attribute to create tooltip.
Ted Wagner SharePoint Architect
okay... I tried to work with that instruction:
I have added a new Web Part (Announcement) but when I want to edit the web part I do not get a html editor or something like that. The arrow in the right upper corner of the web part opens a submenu but there is no editor option.
I also checked out that video. But it does not help... Any ideas?
- Include the jQuery library in the MasterPage (so that you can access it from any site page).
- To aid jQuery to find the element you can use one of several methods: 1) walk the DOM using jQuery methods; 2) use the unique ID that SharePoint creates for each element; or 3) use an empty unique class name. These methods are discussed in greater detail in the references.
- You can package all of this into a single text file and then link to it from a Content Editor web part inserted into the page, or copy and past the script into the CE web part itself. or just edit the page itself and insert directly into the page between suitable contentplaceholder tags.
- Selecting Elements
- 10 jQuery snippets for SharePoint 2010
- Using jQuery to Simplify Your Forms