I am using jquery terminal to run commands in my project, in that I want to make its screen adjustable, I am unable to do that, can anybody help me?
Asked
Active
Viewed 412 times
-8
-
1Welcome to Stackoverflow. Please read this carefully before asking https://stackoverflow.com/help/on-topic – lin Sep 14 '17 at 11:57
-
what you mean by adjustable? – jcubic Sep 14 '17 at 12:58
-
adjustable means that I want to change its width from my mouse pointer, just like we do in any popup, to make it large or smaller in width – Nitisha Tambi Sep 15 '17 at 07:49
1 Answers
1
You can create jQuery Terminal inside jQuery UI dialog or maybe use resizable from jQuery UI
<div class="wrapper">
<div class="term"></div>
</div>
$('.wrapper').resizable();
$('.term').terminal();
.wrapper {
width: 400px;
height: 200px;
}
.term {
height: 100%;
}

jcubic
- 61,973
- 54
- 229
- 402
-
Thank you so much, I will try this and will let you know the result. – Nitisha Tambi Sep 18 '17 at 06:57
-
I also used handles, because I wanted it from left side. https://stackoverflow.com/questions/6871558/jquery-ui-resizable-left-bottom-handle-to-resize – Nitisha Tambi Sep 18 '17 at 07:03
-
@NitishaTambi if the answer solve your question you can mark it as the right answer by clicking check mark icon. – jcubic Sep 18 '17 at 09:51