PDA

View Full Version : Photo Album script v2.0



trfinney
04-24-2007, 10:39 PM
1) Script Title: Photo Album script v2.0

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

3) Describe problem: How do you change the color of image title below the gallery preview? Is it a css fix.

ddadmin
04-25-2007, 12:37 AM
Well yes it is. Inside the default CSS for the script:


.photogallery{ /*CSS for TABLE containing a photo album*/
color: red;
}

The code in red is new, and should give your image titles a red color.

trfinney
04-25-2007, 04:16 PM
I tried placing the new code in the css file (external), and it didn't change the text color. If it helps, it is the "opt_image_title" that I am attempting to change.

ddadmin
04-26-2007, 04:18 AM
It should- I just tested it to confirm. Did you make any changes of your own to the CSS file that may have altered its structure? Please post a link to the page on your site that contains the problematic script so we can check it out.

trfinney
04-26-2007, 07:56 PM
http://www.troyfinney.com/2007/gallery.htm

I have uploaded the site. My css is external, and there are a few other css files referenced as well. I was wondering if there was a conflict myself.

trfinney
04-26-2007, 08:02 PM
The only alterations I made to the css were to place it in an eternal file, and changed a few minor attributes (Color, Font Size) but nothing to the structure.

ddadmin
04-27-2007, 05:40 AM
I see the problem now. Your CSS for the gallery is in fact defined incorrectly:

http://www.troyfinney.com/2007/css/gallery.css

The opening and closing:

<style type="text/css">

</style>

tags shouldn't be there, as in any external CSS file.

On an unrelated note, one of the JavaScripts on your page is throwing a JS error. The message is "menuModal2 is not defined". If you turn on JS debugging in IE, you can see the error popping up.

BTW, please note that your page is currently in violation of our usage terms, since the credit notice doesn't appear inline on the page. Please reinstate the credit notice:

trfinney
04-27-2007, 01:52 PM
Thanks so much for your help! I updated the code, and added the Dynamic Drive tag.

http://www.troyfinney.com/2007/gallery.htm