PDA

View Full Version : Using book flip and open specified link in new window



tghhampton
01-22-2009, 07:56 AM
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/dynamicindex8/newwindow3.htm and
http://www.dynamicdrive.com/dynamicindex14/bookflip.htm

Any help would be greatly appreciated.

Thanks Regards,

Graham
Down Under In Aus

jscheuer1
01-22-2009, 02:55 PM
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:


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:


"Image1","Link1","_blank",

tghhampton
01-23-2009, 05:31 AM
John,

Thanks heaps for the information will give it a go.

Appreciate the quick and detailed response.

Regards,

Graham