Solved

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

Posted on 2011-03-17
7
370 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

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