Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do you make a small window overlay and grey out the main window?

Posted on 2009-07-07
4
Medium Priority
?
325 Views
Last Modified: 2012-05-07
Here's a screen shot of what I'm looking to do:
http://screencast.com/t/jGQJOVR6z

Would like some guidance on how this is done? I know PHP but only a little Javascript. I suspect this is probably done with Javascript. If so, need some details.

Thanks!
0
Comment
Question by:alicia1234
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
BrianMM earned 375 total points
ID: 24794826
I would suggest using jQuery...

http://jqueryui.com/demos/dialog/
0
 
LVL 3

Expert Comment

by:Michal-Drozd
ID: 24794854
Hi,
it is easy with greybox, just include scripts and css of this library.

And then for example add attribute rel="gb_page[440, 500]" to link where you want show overlay window like:


<a href="<some URL>" title="title of this link" rel="gb_page[440, 500]">Some link</a>

Open in new window

0
 
LVL 3

Assisted Solution

by:Michal-Drozd
Michal-Drozd earned 375 total points
ID: 24794887
for more info about greybox (in my above comment) go here: http://orangoo.com/labs/greybox/normal_usage.html

greybox is the best in its field
0
 

Author Comment

by:alicia1234
ID: 24795467
Two very good resources. Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo‚Ķ
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

772 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