View Full Version : Error with Advanced Gallery

01-21-2010, 04:53 PM
1) Script Title: Dynamic Drive - Advanced Gallery

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/agallery.htm

3) Describe problem: Please help! Since I use this scrip when I open site it gives me the following error:
Message: 'style' is null or not an object
Line: 425
Char: 1
Code: 0
URI: http://www.locatari.blogspot.com/

How can I get rid of that? Please help!

01-22-2010, 12:37 AM
Your script is missing the HTML markup portion of Advanced Gallery. It should look something like:

<div class="gallerycontent" subject="What is JavaScript?">
1st content for gallery here

<div class="gallerycontent" subject="Java & JavaScript Differences">
2nd content for gallery here

Whereby each content is wrapped around a DIV tag with the CSS class "gallerycontent". See the script page for more info.

01-22-2010, 07:38 AM
Thank you for the answer. I don't want to be annoying but I am a rookie and I really don't know what to do. Plese be a little bit more explicit, how can I solve the problem. Thanks for your patience and understanding!

01-22-2010, 08:11 AM
If you look at the code of Step 2 on the script page (http://www.dynamicdrive.com/dynamicindex17/agallery.htm), that's a sample HTML markup that needs to be added to your page. Obviously you'll want to edit the HTML inisde it to show your own, but the basic structure as far as each content being separated by DIV elements should be preserved.

01-22-2010, 08:32 AM
Thank you, I'll give it a try.