Results 1 to 5 of 5

Thread: Error with Advanced Gallery

  1. #1
    Join Date
    Jul 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Error with Advanced Gallery

    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!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Your script is missing the HTML markup portion of Advanced Gallery. It should look something like:

    Code:
    <div class="gallerycontent" subject="What is JavaScript?">
    1st content for gallery here
    </div>
    
    <div class="gallerycontent" subject="Java & JavaScript Differences">
    2nd content for gallery here
    </div>
    Whereby each content is wrapped around a DIV tag with the CSS class "gallerycontent". See the script page for more info.
    DD Admin

  3. #3
    Join Date
    Jul 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scuze me

    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!

  4. #4
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    If you look at the code of Step 2 on the script page, 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.
    DD Admin

  5. #5
    Join Date
    Jul 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you, I'll give it a try.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •