Results 1 to 2 of 2

Thread: call the plugin?

  1. #1
    Join Date
    Feb 2010
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question call the plugin?

    Hi,

    this is going to be very easy for someone - but not me!

    Sourced a nice picture viewer, but not fully understanding "call the plugin" statement. I know what this means & have searched online but not established how to implement it.

    Here is the code and directions - pretty straight forward except for the above
    Code:
    Attach the Javascript and CSS files to your document. Edit CSS file and fix the paths to images and change colors to fit your site theme. Important: be sure to include Javascript files in the specific order as in the example below.
    <link rel="stylesheet" media="screen" type="text/css" href="css/spacegallery.css" />
    <script type="text/javascript" src="js/eye.js"></script>
    <script type="text/javascript" src="js/utils.js"></script>
    <script type="text/javascript" src="js/spacegallery.js"></script>
                    
    Invocation code
    Prepare a block level element with some images inside. All you have to do is to select the elements in a jQuery way and call the plugin.
    $('#myGallery').spacegallery({loadingClass: 'loading'});
    Working example here http://www.sohoapart.com/alsina.asp

    Thanx
    Last edited by Snookerman; 05-11-2010 at 07:52 PM.

  2. #2
    Join Date
    Feb 2010
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Still no suggestions?

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
  •