Solved

Modal message problem

Posted on 2011-03-25
7
296 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
thank you,
Exactly what i wanted
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now