SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Jun 2010
    Location
    Israel
    Posts
    523
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    decreasing the amount of JS files in a website from 2 to 1

    hey everyone,
    i got 2 galleries that use 2 JS files for a thumbviewer, those 2 files are very similar and both are used to achieve excactlly the same thing

    the only difference is that one of them got page scrolling:

    here is the one that use page scrolling : ddphpalbum.js
    http://sospets.brinkster.net/newsite/gallery.asp

    and here is the one without : thumbnailviewer.js
    http://sospets.brinkster.net/newsite/cats.asp

    My question is, is there any way of changing one of those files so it'll fit both kinds of galleries? so ill just use 1 of them instead of 2...

    thanks for the help

  2. #2
    SitePoint Wizard donboe's Avatar
    Join Date
    Jun 2010
    Location
    Netherlands
    Posts
    2,065
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not familiar with ddphpalbum.js, but it is obviously some sort of lightbox clone. Maybe you would be better of using the lightbox plugin with pagination support.


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
  •