i want to make a popup div for my games section in my website, so when i click an image a sort of layer pops up (not a new window) i need it so i can add swf games to it, what do i need to do or can anybody send me a link to a scipt or possibly make me one

Recommended Answers

All 4 Replies

Use a jquery light box (google it). There are tons of free lightboxes out there.

There is also a way to do it with CSS3 however I wouldn't recommend doing that just yet haha.

Try to use JavaScript:

<script type="text/javascript">
function visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
e.style.display = 'block';

<a href="#" onclick="visibility('form')></a>
Click here to show / hide form.</a>
<div id="form" style="z-index: 1">This is the form.</div>

A conclusion has to be ready-made as to what to burning up in forte of those 3 controls. Do we burning up Drop DownLists or do we burning up Text boxes beside a few category of pop up fanlight to compress the background in the Text box.
best web designing company india

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.