Results 1 to 2 of 2

Thread: CMotion Script

  1. #1
    Join Date
    Oct 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question CMotion Script

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


    Is there a way to tweak this code so that, instead of loading the enlarged viewing in a popup window, it loads the window into an iframe window above the gallery?

    IE-

    ------------------
    |.......iframe........|
    |______________|
    |__galleryscript__|

    I'm not familiar with javascript, but I took a look in the js file and saw no variable or tag at all that may allow me to change that, and when I simply added the target="show" tag to the link, I got an error.

  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

    It is not clear to me what you did but, for what you want, you should be able to make your links look like this (from the example):

    HTML Code:
    <a href="larger_image.jpg" target="iframe_name"><img src="dynamicbook1.gif" border=1></a>
    where larger_image.jpg is the name of the image you want displayed in the iframe and iframe_name is the name of the iframe:

    HTML Code:
    <iframe name="iframe_name"></iframe>
    You will of course want to use other attributes, of your choosing, in the iframe tag,
    - John
    ________________________

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

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
  •