More website scripting questions

Want to just shoot the breeze? Forum 42 is the place!

Moderator: Moderators

Post Reply
bicostp
Moderator
Posts: 10491
Joined: Mon Mar 07, 2005 5:47 pm
Steam ID: bicostp
Location: Spamalot
Contact:

More website scripting questions

Post by bicostp »

Ok, I'm 99% done with my site redesign, I just have a couple questions regarding scripting.

I'm making an image gallery, and I'd like to have one php document which dynamically changes for each document. It should look something like this:
<img src="http://img390.imageshack.us/img390/2497 ... plz0st.gif">

When you click on the link to a text file or whathave you, it opens a window like this. It would contain a frames page which would include a toolbar with a direct link to the file, and a "Close Window" link. The body of the window houses the content, be it an image, flash file, or text file.

I understand how to open a new window with no toolbar or scroll bar with JavaScript, but I am a total php noob. How would this work?

Thanks! :)
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

Hm... so do you want to dynamically generate the file index and then have it generate a link to the file in a popup?
nvm, I read over what you asked again, let me think abit :P
Edit: the only problem I see is with files that need to be embeded in html so the browser doesn't autodownload them.
gannon
Moderator
Posts: 6974
Joined: Sun Apr 04, 2004 4:48 pm
Location: Near that one big lake
Contact:

Post by gannon »

ok, Done. I sent you the URL. Hope that's what you want :)
Post Reply