Results 1 to 3 of 3

Thread: CMotion "enlargeimage" scrollbars?

  1. #1
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CMotion "enlargeimage" scrollbars?

    CMotion Image Gallery

    http://www.dynamicdrive.com/dynamici...iongallery.htm

    Using the "enlargeimage" function, how do you include scrollbars in the kiosk window?

    To view my usage please see http://proudfoto.com

    The filmstrip at the bottom of the page uses cmotion gallery, but I have also added "Lightbox image viewer 2.03a" (http://www.dynamicdrive.com/dynamici...box2/index.htm) to the mix, so to see the kiosk window click the "Click here for REALLY big picture..." link at the bottom of the picture frame.

    I am assuming that the "enlargeimage" function variables in "motiongallery.js" are what I need tutelage in.
    Last edited by Augustorm; 12-23-2007 at 02:54 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Code:
    function enlargeimage(path, optWidth, optHeight){ //function to enlarge image. Change as desired.
    var actualWidth=typeof optWidth!="undefined" ? optWidth : "600px" //set 600px to default width
    var actualHeight=typeof optHeight!="undefined" ? optHeight : "500px" //set 500px to  default height
    var winattributes="width="+actualWidth+",height="+actualHeight+",resizable=yes,scrollbars=yes"
    window.open(path,"", winattributes)
    }
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks John - You da man.

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
  •