Solved

Word Wrap Text in Spry Tooltip widget

Posted on 2010-09-16
7
646 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
Comment Utility
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
Comment Utility
That didn't work, but thanks.
0
 
LVL 6

Expert Comment

by:reiters
Comment Utility
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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

Author Comment

by:Lee R Liddick Jr
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now