Solved

Word Wrap Text in Spry Tooltip widget

Posted on 2010-09-16
7
665 Views
Last Modified: 2013-12-24
I am using Spry Tooltip widget and I cannot get the text to wrap!  Instead, it just cuts it off.
<cfset RegionAssign = "This is the text that should be in the box and needs to wrap">

            <div id="Region#Region_ID#">
                #Region#
            </div>
            <div id="Title#Region_ID#" class="tooltipContent" style="width:200px;font-size:.9em;">#RegionAssign#</div>
            <script type="text/javascript">
            var tt1 = new Spry.Widget.Tooltip('Title#Region_ID#','##Region#Region_ID#', {offsetX: "10px", offsetY: "10px"});
            </script>

Open in new window

0
Comment
Question by:Lee R Liddick Jr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 6

Accepted Solution

by:
reiters earned 500 total points
ID: 33693327
Seems like you may have CSS set somewhere defaulting to "overflow: hidden;" thats getting applied to your div.  Have you used that somewhere that might be getting assigned and you don't remember it?

maybe try something like this?
<div id="Title#Region_ID#" class="tooltipContent" style="overflow: show;width:200px;font-size:.9em;">#RegionAssign#</div>

I know very little about css so im completely guessing...good luck
0
 

Author Comment

by:Lee R Liddick Jr
ID: 33693444
That didn't work, but thanks.
0
 
LVL 6

Expert Comment

by:reiters
ID: 33693524
The only way, that I can think of, that  content can be hidden like that is with overflow: hidden; or iframe.  I wouldn't think it's an iframe.

If you use firebug plug-in in Firefox you can inspect the element and see where the css is being applied.

If I could get an link here or through private message I'd be happy to look at it.
0
Linux Academy Android App Now Supports Chromecast

We have some fantastic news for our Android fans. We’re so excited to announce that the Linux Academy Android app is now available with Chromecast support. That’s right – simply download the latest update of the Linux Academy App and start casting your favorite course videos!

 

Author Comment

by:Lee R Liddick Jr
ID: 33693617
its on a secure network...let me look at firebug and see what I can see and figure out.
0
 

Author Closing Comment

by:Lee R Liddick Jr
ID: 33840385
I never did figure this out...I just went a different route so I'm just awarding the points to the answer you provided.  Thank you!
0
 
LVL 6

Expert Comment

by:reiters
ID: 33840429
Thank you for the points.  You can always request your points funded if you do not get an answer.  I don't think anybody helping expects points if their solusion isn't correct.
0
 

Author Comment

by:Lee R Liddick Jr
ID: 33840480
Not a problem...I'm sure it will help someone else out though if they search on a solution for something like this.
0

Featured Post

Create CentOS 7 Newton Packstack Running Keystone

A bug was filed against RDO for the installation of Keystone v3. This guide is designed to walk you through the configuration for using Keystone v3 with Packstack. You will accomplish this using various repos and the Answers file.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, I will be creating today a basic tutorial on how we can create a Mail Custom Function and use it where ever we want. The main advantage about creating a custom function is that we can accommodate a range of arguments to pass to the Function and …
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question