Re: Popups from links




Bill Ray wrote:
I have a script that allows my website to display the contents of a
folder as links. I want those links to open as their MIME type (MP3
files) in a small window, displaying that file's name as an H2 tag.

Small window, that implies javascript:
HTML: <a href="URL" onClick="window.open('URL', 'window_name',
'window_options'); return false">

URL would be something like this:
<? $url = "show.php?file=".urlencode($filename); ?>
which expands to:
show.php?file=Britney.mp3

In show.php, there is something like this:
<? echo "<h2>".$_GET['file']."</h2>"; ?>
$_GET['file'] would hold Britney.mp3.

.



Relevant Pages

  • Re: Audion cant edit iTunes MP3s
    ... in the editor window (that is, it shows a waveform that doesn't ... say "Encoded with iTunes" in the iTunes Summary window. ... mp3 files again is, if you remove the suffix and again adds the ...
    (comp.sys.mac.apps)
  • Re: There is no .NET in Vista Code?
    ... Just for the fun of it I tried dragging a window ... same when displaying a graphic but very little when displaying text. ... I just don't like the fact that people get lazy and say, ... they'll just have to have a faster CPU because we don't want to ...
    (borland.public.delphi.non-technical)
  • Re: Debugging unusable in SP1
    ... If it does not, then the issue will be the Autos window when it's displaying your program, and I'd look for a recursive property or something like that. ... the tabs select. ...
    (microsoft.public.vstudio.general)
  • Re: Cant format (erase) hard drive
    ... > well with the new C drive, I tried to format the old drive E. I ... > window is displaying the contents of the drive. ... > program or disk utility could be open since I would not have changed the ...
    (microsoft.public.windowsxp.hardware)
  • Re: Window Flashing !!!
    ... Are you displaying the form modal or modelessly? ... Are you passing in the main form as the owner window when you show the ... I've noticed in my dot net program when the main program window ... >> the flash is very quick and hardly noticeable, but on a slower computer, ...
    (microsoft.public.dotnet.languages.csharp)