Ajax tooltip - customize text |
Post Reply |
Author | |
worldofrugs
Senior Member Joined: 24-April-2008 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 12-May-2008 at 2:26pm |
Anyone an idea how to set a different style on the Ajax tooltip?
I do find the in the css: #dhtmltooltip, but this changed ALL the text at once.. Looking in the ei-tooltip.js, it's not really clear what is what... I like to modify each line (SKU, price, list price, you save, etc..) |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
The text is built by pc/xml_getPrdInfo.asp
I believe to achieve what you want you will have to build a custom version of that file. |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Of course - first check out the other styles in the ei-tooltip.css, if you haven't already done that - but I believe the level of granularity you want is greater than is currently in place.
|
|
worldofrugs
Senior Member Joined: 24-April-2008 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Thanks once more Hamish! You've been a big help already and don't know how to stop
I'll see what I can do with the pc/xml_getPrdInfo.asp... Indeed already knew about the ei-tooltip.css file. p.s.: Have not figured out the centering of the recently products yet., but that's in another topic |
|
inetbizo
Groupie Joined: 10-April-2008 Location: Destin, FL, USA Status: Offline Points: 0 |
Post Options
Thanks(0)
|
This really does bring up the fact that this code should obey storefront.css inherint for store prices and not glob all of it together under one style.
|
|
Current Project http://www.canvasusa.com
|
|
worldofrugs
Senior Member Joined: 24-April-2008 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Not sure what you're talking about Inetbizo...
The Ajax tooltip has a style defined in the css, however that's for everything (text) in this tooltip..
What I'm trying to figure out is how to seperate the text.
Example: To make all the text black, but the price text red, the savings line cursive, etc....
|
|
inetbizo
Groupie Joined: 10-April-2008 Location: Destin, FL, USA Status: Offline Points: 0 |
Post Options
Thanks(0)
|
wordofrugs the price display definitions are found in pcStorefront.css and I believe it should be used instead of the ietooltip.css but, they may of had reasons but nonetheless, it's not a good way to display it altogether under one rule.
|
|
Current Project http://www.canvasusa.com
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |