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
Solved

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

Posted on 2011-03-17
7
372 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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Suggested Solutions

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…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn how to dynamically set the form action using jQuery.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

856 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