Results 1 to 3 of 3

Thread: Using book flip and open specified link in new window

  1. #1
    Join Date
    Nov 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Using book flip and open specified link in new window

    Hi,

    I am using the Book Flip to present a number of photos on my home page http://12fieldregiment.com. Each of the photos has a link off to a Photo Gallery where they can be viewed in full however I would like for the Photo Gallery to open in a new window. I have inserted the code for "Open Select Link in New Window" and have inserted the " class="nwindow" " at the end of the link on the book flip however that does not work. Can this be achieved?

    The two scripts I am talking about are:

    http://www.dynamicdrive.com/dynamici...newwindow3.htm and
    http://www.dynamicdrive.com/dynamicindex14/bookflip.htm

    Any help would be greatly appreciated.

    Thanks Regards,

    Graham
    Down Under In Aus

  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

    Those two scripts will not work well together. You can use the advanced version of book flip:

    http://www.burmees.nl/menu/bookextended.html

    Which adds a third parameter in the image array:

    Code:
    Book_Image_Sources=new Array(
    		"Image1","Link1","",
    		"Image2","Link2","",
    		"Image3","Link3","",
    		"Image4","Link4","",
    		"Image5","Link5","",
    		"Image6","Link6","",
    		"Image7","Link7","",
    		"Image8","Link8",""	// NOTE No comma after last line
    		);
    This may be used to set the target, ex:

    Code:
    "Image1","Link1","_blank",
    - John
    ________________________

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

  3. #3
    Join Date
    Nov 2006
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John,

    Thanks heaps for the information will give it a go.

    Appreciate the quick and detailed response.

    Regards,

    Graham

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
  •