Results 1 to 2 of 2

Thread: Thumbnail viewer with rollover and page link

  1. #1
    Join Date
    May 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thumbnail viewer with rollover and page link

    Hi,

    I would however like to ask you / anyone if they can help me take it a step further, and find out if this next step is possible.

    My list of names on the left (http://www.banquetingsuitemidlands.co.uk/ Anthony Eyton has been set up) can now bring up a relavent picture on the right when mouse is rolledover the name. This is perfect. What I would like it to do as well though, is when you have found the name you want to select, and viewed the picture on the right, I want to then click on that name (not the picture) so the user is transfered to that names personal page.

    Is this possible?

    Regards,

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post, in this case, Image Thumbnail Viewer II. See this thread for the proper posting format when asking a question.

    Try the following modified .js file, and then modify the markup for your thumbnails per the below example:

    Code:
    <a href="http://google.com" data-src="http://www.nasa.gov/images/content/167040main_image_feature_738_ys_4.jpg" rel="enlargeimage" rev="targetdiv:loadarea" title="The Universe is just waiting to be explored">Saturn #1</a><br />
    In other words, change your thumbnails' markup so they use the new "data-src" attribute to specify the full path to the enlarged image (instead of "href" as was the case before), and use the "href" attribute instead to set the link the browser should go to when the user clicks on the thumbnail link.
    DD Admin

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
  •