Current time: 04-19-2014, 07:33 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tooltip Mykod
09-14-2009, 09:48 AM
Post: #1
Tooltip Mykod
Admin Cp>Configuration>MyCode>Add New MyCode

Title
Tooltip Mykod

Regular Expression
Code:
\[tooltip\](.*?)\[/tooltip\]

Replacement
Code:
<a href="#" class="tool"><img style="width:16; height:14px;" src="images/toolfaq.gif" alt="" /><span>$1</span></a>

Save Mycode.

Admin Cp>Templates & Style>Templates>Themes>Theme>global.css>Advanced Mode
Add to Bottom
Code:
a.tool {
   font-weight: bold;
   position: relative;
   text-decoration: none;
   cursor: help;
}

a.tool span {
   position: absolute;
   font-weight: normal;
   border: 1px solid black;
   background-color: #CFE1F6;
   padding: 10px;      
   color: black;
   width: 225px;

   left: -9999em;
}

a.tool:hover {
   visibility: visible;
   z-index: 100;
}

a.tool:hover span, a.tooltip:focus span {
   left: 30px;
   text-decoration: none;
}
Save.

[Image: 85091294.png]

Code:
[tooltip]text[/tooltip]


.zip  images.zip (Size: 479 bytes / Downloads: 161)

Thanks - mybbdestek.com .

Visit this user's website Find all posts by this user
Quote this message in a reply
09-14-2009, 10:21 AM
Post: #2
RE: Tooltip Mykod
That's actually pretty nice. Thanks a lot.
Find all posts by this user
Quote this message in a reply
09-14-2009, 08:45 PM
Post: #3
RE: Tooltip Mykod
been done a few times but useful.

Do you design websites for Wordpress and Joomla? Looking to make some spare cash this summer? Please PM me.
Visit this user's website Find all posts by this user
Quote this message in a reply
10-14-2013, 12:12 PM
Post: #4
RE: Tooltip Mykod
thanks but how i can use it?
Find all posts by this user
Quote this message in a reply
11-25-2013, 02:30 PM
Post: #5
RE: Tooltip Mykod
I tried it but it doesn't show the box, just a clickable text that leads to nowhere
http://prntscr.com/26nvxw
Find all posts by this user
Quote this message in a reply
12-24-2013, 05:02 PM
Post: #6
RE: Tooltip Mykod
This user has been denied support. This user has been denied support.
I tried it but it doesn't show the box, just a clickable text that leads to nowhere
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication