Solved

Word Wrap Text in Spry Tooltip widget

Posted on 2010-09-16
7
651 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
  • 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 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