|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (10 bit)
Join Date: Jan 2002
Location: Ontario
Posts: 636
|
ok i need help. my cousin wants me to make him a web site with lots of pictures on it...simple right? yeah. i just made a link to each picture so you can click and see the picture in ur browser and then press back to see the index page again. now he wants all the backgrounds black. the only way i know to do this is make a page for each image with a black background and the pic embedded. easy enough, but there are quite a few pictures up already. is there an easier way???
__________________
Dell XPS M1530
|
|
|
|
|
|
#2 |
|
Member (13 bit)
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
|
Hmm, a neater way would be to display the image in a JavaScript popup window in front of the page, that way you can keep several open and you can change the settings of the picture page. I wrote up some code that should work.
__________________
"A witty saying proves nothing." - Voltaire |
|
|
|
|
|
#3 |
|
Member (10 bit)
Join Date: Jan 2002
Location: Ontario
Posts: 636
|
i put it in but it doesnt work properly. when i test it on my computer it just opens the folder that the page is in ... ?
o i see the problem the window just doesnt open. i dont know java very well though so i dont know why.. Last edited by erucader; 04-05-2002 at 10:10 PM. |
|
|
|
|
|
#4 |
|
Member (13 bit)
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
|
Oops, sorry about that, there was a bug in the code. It should be fixed now.
|
|
|
|
|
|
#5 |
|
Member (10 bit)
Join Date: Jan 2002
Location: Ontario
Posts: 636
|
thank you doctor!!! this is exactly what i need.
|
|
|
|
|
|
#6 |
|
Member (13 bit)
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
|
Glad it worked. Make sure you use all of the code from the second text file I used since I made some minor changes from the first.
|
|
|
|
|
|
#7 |
|
Member (10 bit)
Join Date: Jan 2002
Location: Ontario
Posts: 636
|
very helpful
|
|
|
|
|
|
#8 |
|
Member (10 bit)
Join Date: Jan 2002
Location: Ontario
Posts: 636
|
this code is great, but how would i put a close window link under the picture? i cant figure out how to make it do that
|
|
|
|
|
|
#9 | ||
|
Member (13 bit)
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
|
Under...
Quote:
Quote:
|
||
|
|
|
|
|
#10 |
|
Member (10 bit)
Join Date: Jan 2002
Location: Ontario
Posts: 636
|
thanks - i got it to work
|
|
|
|
|
|
#11 |
|
Member (9 bit)
|
You will also find scripts for this very thing at both of the following sites.
http://www.dynamicdrive.com/ http://www.webpage-tools.com/index.asp I found a couple of good scripts at both sites and have been playing with them. Both place link buttons for the images either at the top of the page or on the side. You just place a back ground, then add the link to your photos. One of them requires you to actually click on the link to get the photos to start showing. The other works on a mouse over technique. As long as the mouse is over the link the photo is displayed, move the mouse down to the next or away from the links and the photo closes. Both sites have lots of different scripts so it is a good place to bookmark for the future. Mind you by the sound of it Dr Zaius's script sounds more like what I have been looking for. I have downloaded and will give it a shot. Thanks Dr Zaius.
__________________
Cheers Eaglefeather My favourite hobby, it seems to me, Is crashing my PC.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|