PDA

View Full Version : Php Photo Album page links not working



breagan1
12-18-2008, 02:27 PM
1) Script Title: Php Photo Album

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm

3) Describe problem: The page links don't work. I am using frames to view the larger photos. Also, is it possible to print the date and time under each thumbnail? My gallery is at: http://www.marcellusny.com/cam_2_archives/

Thanks. You have an awesome Web site.

breagan1
12-18-2008, 08:41 PM
I have determined that the problem does have to do with the use of frames.

jscheuer1
12-18-2008, 11:33 PM
I'm not sure what you mean. The viewing of the larger image in the frame named 'CENTER' appears to be working just fine here, and is how you have the page named:

cam_2_archives/cam_2_archives.html

configured via its base tag's target attribute and the script options used in the PHP Photo Album script. Were you expecting some other result?

breagan1
12-19-2008, 12:22 AM
When I click on the jump to page links at the bottom they don't work in the frame.

breagan1
12-19-2008, 12:53 AM
I solved the problem by changing:

document.write('<a id="navlink'+i+'" href="javascript:jumptopage('+i+')\">'+start+' to '+end+'</a> ')

To:

document.write('<a id="navlink'+i+'" href="javascript:jumptopage('+i+')\" target="_self">'+start+' to '+end+'</a> ')

Thanks for the great Web site.