Comments (3)
The width is part of the "position" option. Have a look at the tour example on the documentation. You will notice each state has a "position" option with a width defined. You can define the width but omit the other position attributes.
$.prompt({
state0: {
html: 'hello world!',
position: { width: 200 }
}
});
from jquery-impromptu.
Great! Thx.
From: Trent Richardson [mailto:[email protected]]
Sent: dinsdag 16 september 2014 14:31
To: trentrichardson/jQuery-Impromptu
Cc: SGE00
Subject: Re: [jQuery-Impromptu] How to define the width of Impromptu box (when using states) ? (#41)
The width is part of the "position" option. Have a look at the tour example on the documentation. You will notice each state has a "position" option with a width defined. You can define the width but omit the other position attributes.
$.prompt({
state0: {
html: 'hello world!',
position: { width: 200 }
}
});
—
Reply to this email directly or view it on GitHub #41 (comment) . https://github.com/notifications/beacon/8177867__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNjQ4OTg0OSwiZGF0YSI6eyJpZCI6NDI1OTI3ODd9fQ==--1263ae2161b11b827418230edd5f9cde3650af0b.gif
from jquery-impromptu.
Hi Trend,
As we are making some pages which need to be displayed on different devices we face 2 problems:
-
Impromptu is not responsive
-
No scrolling of text .
Do you think you can add this to the code ?
Regards,
Stefan
From: Trent Richardson [mailto:[email protected]]
Sent: dinsdag 16 september 2014 20:45
To: trentrichardson/jQuery-Impromptu
Cc: SGE00
Subject: Re: [jQuery-Impromptu] How to define the width of Impromptu box (when using states) ? (#41)
—
Reply to this email directly or view it on GitHub #41 (comment) . https://github.com/notifications/beacon/8177867__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNjUxMjMwNSwiZGF0YSI6eyJpZCI6NDI1OTI3ODd9fQ==--c00acb732320c2e5408b68b25c2fca44cc1cdc04.gif
from jquery-impromptu.
Related Issues (20)
- 'show' option is not working HOT 3
- Can't get Enter keypress to click "OK" HOT 1
- Buttons with HTML characters not created correctly HOT 3
- Can't trigger the event of a non-default button in a modal when the Enter key is pressed
- Close Event
- Callback function HOT 1
- Form submission causes submission of all states
- html option text? HOT 1
- Prompts not always showing in IE11/ME, Graphical Bug HOT 2
- In new version $.prompt("") is not working, must call $.prompt(" ") ? HOT 3
- Webjar License Error HOT 3
- Pattern validation
- Responsive? HOT 2
- multi language text or images instead of buttons in impromptu HOT 1
- Getting tooltip dimensions in "position" function
- I need that close bottom, close the div and erase the data not submit.
- $.prompt is not a function HOT 2
- custom buttons
- Awesome plugin HOT 1
- Jquery Mobile Compatibility? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-impromptu.