|
|
#1 |
|
Senior Member
Join Date: Aug 2006
Posts: 129
Rep Power: 15 ![]() |
Could anyone briefly explain how to add "?" icons beside certain input fields that when enduser rollover them they help explain things in a pop-up type window... link how its currently done in many fields in the 68c admin area?
|
|
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,113
Rep Power: 118 ![]() |
Sure I can try and explain it.
First open the layout.tpl.php template file and add this to the head: Code:
<script type="text/javascript" src="javascript/overlib/overlib.js"><!-- overLIB (c) Erik Bosrup --></script> Code:
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div> Code:
<a href="javascript:void(0);" onmouseover="return overlib('My popup text.')" onmouseout="return nd();"> <img src="images/help.png" border="0" /></a>
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#3 |
|
Coder
Join Date: Mar 2006
Posts: 4,564
Rep Power: 111 ![]() ![]() |
Just look at the templates for admin and ad the same javascript to your regular templates.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|