Solved

How to get the jQuery window plugin to show title when dock to left?

Posted on 2011-03-17
7
374 Views
Last Modified: 2012-05-11
Hi, I'm using this jQuery plugin, http://fstoke.me/jquery/window/
It's only showing one single letter 'S' when I need it to show as many as the letters in the windows title that would fit in the space.  how can I do that?  Thank you.
Please see the screen shot file attached.
0
Comment
Question by:lapucca
[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
  • 5
7 Comments
 
LVL 13

Expert Comment

by:darren-w-
ID: 35154630
hi, can you attach the screen shot and the source code

Darren
0
 

Author Comment

by:lapucca
ID: 35159483
Sorry, here are the file.  thanks.
Index.htm
DashBoardWidgets.js
widgets.jpg
0
 

Author Comment

by:lapucca
ID: 35159865
I forgot to attache the plugin widget css.  Thanks.
jquery.window.css
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:lapucca
ID: 35160344
Ok, I'm able to get the title to align to left instead of center by modifying
.window_panel .window_header_minimize_vertical {
/*      padding: 7px 0px;
      line-height: 13px;*/
      text-align: left;
}
in the jquery.window.css.  But still need help to get more text show up. thanks.
Titlewidgets.jpg
0
 
LVL 3

Accepted Solution

by:
ccwill88 earned 500 total points
ID: 35161820
if you dock window to left,
the plugin will modify title text as vertical presentation.

You can modify _transformTitleText() function in jquery.window.js

replace
buf += c+"<br>";
to
buf += c+"";
0
 

Author Closing Comment

by:lapucca
ID: 35161871
That is so awesome!  You saved my life.  Tank you very much.
0
 

Author Comment

by:lapucca
ID: 35162342
Hi, i have 2 more questions rel to the same plugin.  I appreciate it if you can have a look too.  Thanks.
ID: 26895406, ID: 26895443
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

696 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