Solved

Word Wrap Text in Spry Tooltip widget

Posted on 2010-09-16
7
659 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
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.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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