Solved

Modal message problem

Posted on 2011-03-25
7
331 Views
Last Modified: 2013-11-19
Hello,

how could i add scroll (if the data inside is bigger than the screen) to this modal :
http://www.dhtmlgoodies.com/index.html?whichScript=modal-message

Thank you
0
Comment
Question by:teodor birca
7 Comments
 
LVL 10

Expert Comment

by:aboo_s
ID: 35213433
Now altough I am almost sure that this modal gives you a way of doing this and for this you should read the manual or something, but anyhow since you could specify an external html file to be the content of your modal, well then this solves it, because you can set the scrolling functionality right from you html file, you have to consider the dimensions of course of both your modal and your html source!
0
 
LVL 3

Author Comment

by:teodor birca
ID: 35219163
thank you but this won't help me .
If i had the possibility to use a iframe i didn't used anymore this sample.

Thanks
0
 
LVL 15

Expert Comment

by:crisco96
ID: 35417830
If at all possible it may be easier to use a jquery dialog: http://docs.jquery.com/UI/Dialog. It's very customizable and I know it will automatically add scroll bars if the content is larger than the dialog. Also for information on how to load an external html file into the dialog (which you may be doing, I'm not sure) look at: http://forum.jquery.com/topic/loading-existing-html-pages-into-a-jquery-dialog-window
0
 
LVL 30

Accepted Solution

by:
MlandaT earned 500 total points
ID: 35418237
This renders as a DIV with class="modalDialog_contentDiv". You could perhaps try adding this CSS to the page:
div.modalDialog_contentDiv {overflow:scroll;}

Open in new window

0
 
LVL 3

Author Closing Comment

by:teodor birca
ID: 35419397
thank you,
Exactly what i wanted
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
This article discusses how to implement server side field validation and display customized error messages to the client.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

697 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