Jump to content

[SOLVED] PHP / Ajax Help. Popup downloader...


PutterPlace

Recommended Posts

I am currently developing a music search engine site, and would like some help to avoid actual popups when downloading music. You can see how it currently works by visiting my site here:

 

http://www.xtremefilez.com/

 

After you search for a song, you can choose to download it by clicking the "Download Link". After doing so, a popup window is loaded showing you the artist and title name of the song you're about to download. After 3 seconds, a meta refresh is used to open a PHP script which decodes the file URL and streams the file to you.

 

My question is..how can I go about opening this popup without actually opening a popup window? I'm still somewhat new to Ajax, and I'm not sure how to create a small box without leaving the current page that will do the equivalent of the popup window. After the download prompt is shown, I would like the window to close automatically.

 

Any help would be greatly appreciated.

Link to comment
Share on other sites

I'd also like to add that I wouldn't even mind a commercial solution. I'm basically looking for something that looks like a Windows-Style modal dialog box, but when the dialog box is open, I want all of the background controls to be disabled. And when the dialog box is closed, the background controls would be enabled again. I understand that this could be done using DIV layering? I've seen a few similar things while searching through Google, but the ones that I've seen allow the user to "minimize" or "maximize" the dialog box, and also "move" the dialog box around. I don't want any of that.

 

Thanks for any suggestions that you can provide. :)

Link to comment
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.