Git Product home page Git Product logo

Comments (3)

trentrichardson avatar trentrichardson commented on June 28, 2024

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.

SGE00 avatar SGE00 commented on June 28, 2024

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.

SGE00 avatar SGE00 commented on June 28, 2024

Hi Trend,

As we are making some pages which need to be displayed on different devices we face 2 problems:

  1.  Impromptu is not responsive
    
  2.  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)

Closed #41 #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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.