Welcome, guest ( Login )

Powered by JotSpot

WikiHome » Customization » JavaScript

JavaScript

Version 13, changed by sebastian.hosche@web.de. 06/04/2007.   Show version history

Future home of all the world's knowledge of customizing SmugMug's JavaScript :)

Pitch in and help!

Sections:
  • YUI - Yahoo's UI library
  • Standard SmugMug Variables you can change.  These go in your Javascript Block of your customization.
    // Custom Right Click Message -  you can put your message in here.
    rightClickWarning = "All photos are © NAME - STUDIO.   All rights reserved. Unauthorized use is prohibited."  

    // show the frames warning? set to "false" to break out of our frames.
    framesWarning = true;

    //filmStrip values you can override:
    rightMoves = 5;
    leftMoves = -5;

    // how fast do you want the filmstrip to move?  0 for no movement by default. 
    filmstripMove = 1;

    //slideshow duration for each slide in seconds
    slideDuration = 3;

    // show the next and previous image previews?
    showImagePreview = true;

    // don't want the lightbox? 
    useLightbox = true;

    // don't like the PhotoRank mouseover?
    displaySmugPopular = true;

    // don't like the PhotoBar? (caution, funcationality is missing when you do this!)
    showPhotoBar = false;

    // adds a delay to your PhotoBar before it shows up - replace 0 by the amount of seconds
    photoBarDelay = 0;

    // don't want the PhotoBar popping up over your photos? Make it go below the photo.
    // So far 'bottom' is the only possible setting
    SM.PhotoBar.config.position = 'bottom';

    // want to force smugmug small or large? Change the default setting 'resizeable' either to 'small' or 'large'
    SM.SmugMug.config.size = 'resizeable';

  • A cool javascript + css hack to create a 2nd homepage
  • Bigwebguy's Homepage Slideshow Hack
  • Devbobo's Bulk Zoom Thumbnail Hack
  • Cool Firefox Addon that you can use to manage your SmugMug Site

Attachments (0)

  File By Size Attached Ver.