No account yet?
 

Subscriptions

ImageWhen you sign up as a premium subscriber, you get more than access to a host of fantastic features. You become a member of a flourishing community that continuously improves the very projects that run your website. Why not sign up today?

Subscriber Benefits

  • Subscriber only addons and plugins!
  • Latest beta code and SVN builds!
  • Access new versions before anyone else!
  • Premium Priority Support!
  • User Manuals for our components!
Read On!
Pragmatic Utopia
Welcome, Guest
Please or Register.    Lost Password?
Preferred PUArcade Web Host:
Random Game Popup/Tooltip Module -XHTML/W3C VALID (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Random Game Popup/Tooltip Module -XHTML/W3C VALID
#9729
pimboli (User)
Player
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
Random Game Popup/Tooltip Module -XHTML/W3C VALID 2 Months ago Karma: 5  
I know nothing of php but thanks to the other developpers

http://www.pragmaticutopia.com/component/option,com_sobi2/sobi2Task,sobi2Details/catid,14/sobi2Id,31/Itemid,143/


I'm an amateur but want my contribution
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.


#10020
Smokey4life (User)
Newb Sauce
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:Random Game Popup/Tooltip Module -XHTML/W3C VALID 1 Month, 2 Weeks ago Karma: 0  
Very nice but how could i change the layout and colors of the tooltip? it would be nice if it was inside some kind of colored box or something so that you could actually read it Check it out on my site you cant read the tooltips at all.


+ Karma, thanks either way its still nice!
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/10/13 01:23 By Smokey4life.
 
  The administrator has disabled public write access.
#10021
pimboli (User)
Player
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
Re:Random Game Popup/Tooltip Module -XHTML/W3C VAL 1 Month, 2 Weeks ago Karma: 5  
Joomla 1.0.xx

The colors for the Tooltips on Joomla 1.0.xx are set in the OverLIB JavaScript file.
You will find this file on your Joomla site here:
your_joomla_root/includes/js/overlib_mini.js

Open that file with any text editor.
The file has been "minified" so it is not very easy to read.
Line 21 of overlib_mini.js has the relevant settings. (on Joomla 1.0.15)
This line is one very looooooong line.

I put line breaks in so I could read it more easily
The first 4 settings are the most important.

if(typeof ol_fgcolor=='undefined'var ol_fgcolor="#F1E8E6";
if(typeof ol_bgcolor=='undefined'var ol_bgcolor="#000099";
if(typeof ol_textcolor=='undefined'var ol_textcolor="#000000";
if(typeof ol_capcolor=='undefined'var ol_capcolor="#FFFFFF";

Caption title background color is ol_bgcolor
Caption title text color is ol_capcolor (white)
Text inside the box is ol_textcolor (black)
Background color inside the box is ol_fgcolor (gray)



Joomla 1.5.x

Tootips are a now core Joomla 1.5 feature and the styles are now in the template CSS file (template.css).
The core template file may be found in your template folder.
Example path:
joomla_root/templates/template_name/css/template.css

Search for the classes below.

/* Tooltips */

.tool-tip {
/*tip container css here*/
}

.tool-title {
/*tip title css here*/
}

.tool-text {
/*tip text css here*/
}
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#10036
Smokey4life (User)
Newb Sauce
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:Random Game Popup/Tooltip Module -XHTML/W3C VALID 1 Month, 2 Weeks ago Karma: 0  
Yea, sorry... im using joomla 1.5 in legacy mode until all my modules and whatnot are updated to go native.

I tried changing

if(typeof ol_fgcolor=='undefined'var ol_fgcolor="#F1E8E6";
if(typeof ol_bgcolor=='undefined'var ol_bgcolor="#000099";
if(typeof ol_textcolor=='undefined'var ol_textcolor="#000000";
if(typeof ol_capcolor=='undefined'var ol_capcolor="#FFFFFF";

and when i go to /templates/yoo_chrome/css here is what i have

Code:

joomla.css editor_content.css ie6hacks.css menus.css modules.css custom.css editor.css layout.css extensions.css ie7hacks.css iehacks.css popups.css general.css
I have looked through all of these and i found one that had some tool tip styling in it and i changed it as well but still no luck... its still shows gray and you cant read any of it at all.
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#10039
pimboli (User)
Player
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
Re:Random Game Popup/Tooltip Module -XHTML/W3C VAL 1 Month, 2 Weeks ago Karma: 5  
It's theme related. I think that you must ad the code in a css file. I'm looking at your site.

.tool-tip, .tool-title, .tool-text

another example of tooltip


.tool-tip {
background: #ffc;
border: 2px solid #D4D5AA;
padding: 5px;
font-size: 0.79em;
max-width: 200px;
}
.tool-title {
font-weight: bold;
}

Is an another example: just change code of the colors
You can make a lot of combinations with it
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/10/14 02:52 By pimboli.
  The administrator has disabled public write access.
#10040
pimboli (User)
Player
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
Re:Random Game Popup/Tooltip Module -XHTML/W3C VAL 1 Month, 2 Weeks ago Karma: 5  
The module is working with overlib_min.js

Try this
if(typeof ol_background=='undefined'var ol_background="#FFFFFF";
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#10053
Smokey4life (User)
Newb Sauce
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:Random Game Popup/Tooltip Module -XHTML/W3C VALID 1 Month, 2 Weeks ago Karma: 0  
Yea im still not having much luck on adding a background.... also i noticed that logged in members and guests both have seperate styles as well.
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#10104
ramda (User)
Newb Sauce
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Random Game Popup/Tooltip Module -XHTML/W3C VALID 1 Month, 2 Weeks ago Karma: 0  
Thanks !!!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

My Amazon.com Wish List