Results 1 to 2 of 2

Thread: Cmotion with Lighbox

  1. #1
    Join Date
    Aug 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Cmotion with Lighbox

    1) Script Title: CMotion Image Gallery

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex...iongallery.htm

    3) Describe problem:

    Hi:

    I'm using a variation of CMotion Image Gallery in this site:

    http://www.pintorcastanyer.com/MUBAG.htm

    As you can see, it works properly.

    Below in the same site, there is a table that uses Lightbox to display images.

    My problem is that I want use the CMotion script in combination with Lightbox. I mean, when I click on an image of CMotion I would like it runs Lightbox intead of opening new windows.

    As you can see, the code for the CMotion for the first image is:

    HTML Code:
    <a href="#"><img src="mubag/1Autorretratob.jpg" border=1 onClick="MM_openBrWindow('mubag/cat1.htm','Cat1','scrollbars=yes,resizable=yes,width=wd,height=ht,left=0,top=0')" width="171" height="235" alt="Autorretrato"></a>
    I have tried to implement this code for Lightbox substituing a href="#" for the image location:

    HTML Code:
    <a href="mubag/1Autorretrato.jpg" rel="lightbox[mubag]"><img src="mubag/1Autorretratob.jpg" border=1 onClick="MM_openBrWindow('mubag/cat1.htm','Cat1','scrollbars=yes,resizable=yes,width=wd,height=ht,left=0,top=0')" width="171" height="235" alt="Autorretrato"></a>
    It doesn't work because two equal images are loaded in the "rel" of the Lightbox.

    Thanks for any ideas.
    Last edited by keyboard; 06-27-2019 at 05:45 AM. Reason: Format: HTML Tags

  2. #2
    Join Date
    Mar 2011
    Posts
    1,850
    Thanks
    59
    Thanked 104 Times in 102 Posts
    Blog Entries
    4

    Default

    Good afternoon Raymonet.
    I don't have experience using either CMotion or Lightbox but I can take a look. Unfortunately the link you provided isn't resolving for me (pintor(...).com).
    Do you have another example page or something?

    keyboard

Similar Threads

  1. Resolved Content Glider and Lighbox Conflict
    By modermo in forum Dynamic Drive scripts help
    Replies: 14
    Last Post: 08-14-2009, 09:07 PM
  2. Lighbox script needs to be work without Pagination.
    By ronit87 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 07-09-2009, 07:22 PM
  3. Ultimate fade-in slideshow with lighbox problem IE
    By rosy in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 11-11-2008, 11:36 AM
  4. Disable right click on Lighbox images
    By kunwarbs in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 01-11-2008, 04:08 PM
  5. Lighbox not 100% height in IE7
    By roland in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 10-09-2007, 11:20 AM

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
  •