|
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.0
Last Login: Yesterday @ 12:43 PM
Posts: 1,596,
Visits: 32,537
|
Some time ago I showed how a djvu image can contain identification of people and also links to web pages. As my ISP lost all my original files, this no longer works. However I have now experimented to see if it is possible to plant an image into a GemoPro Report. If you have the djvu add-in, then try http://familytrees.genopro.com/appleshaw/djvu/default.htm If you do not have the browser plug-in it can be obtained from Lizardtech..This is a first attempt - proof of concept if you like. A small image is loaded into the home page and when you move the cursor over it, names appear. Clicking on a name brings the relevant page of data from the report. You have to use the back button to get back to the image - this is only first attempt. Hopefully most of the links work, although there are at least two where I have not yet found the relevant data and so you get an error message. The image is very small on first loading but can be zoomed, or use the 100% button to get a reasonable size. The code to load the image is This code is based on the example given in the Lizardtech help pages. I had problems getting the image in the correct place so that the URL entered into the djvu image was able to find the report data. The simplest way seems to put the image in the root directory of the customised skin. You need Djvu Solo editor to add the URL, which I obtained by loading the relevant page and copying the link location and cutting it back to the basic data. It would obviously be better to load the image where the .svg image appears so that the data can appear above the picture. This will involve getting to grips with the code.
|
|
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, March 21, 2021
Posts: 716,
Visits: 12,927
|
IainTait (3/30/2007)
But it still takes up the whole individual htm instead of opening in a lower frame like your image shows. IainTait, if you click this source from the left "toc" frame, it will show up as you are showing, however if you select this source from the family page, this source belongs to, it will show up in the popup frame(as shown in screen shot). If you enter "detail" into the Target >other> of the djvu file (without the excl. marks), the individual will show up in the upper frame. It works without having to create the frameset file.
Please also note, that you can set the height to 100%, it all depends how you would like to see it.
Edited: Saturday, March 31, 2007 by
maru-san
|
|
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.0.1.5
Last Login: Saturday, March 14, 2020
Posts: 365,
Visits: 3,680
|
maru-san (3/31/2007)
IainTait (3/30/2007)
But it still takes up the whole individual htm instead of opening in a lower frame like your image shows.IainTait, if you click this source from the left "toc" frame, it will show up as you are showing, however if you select this source from the family page, this source belongs to, it will show up in the popup frame(as shown in screen shot). If you enter "detail" into the Target >other> of the djvu file (without the excl. marks), the individual will show up in the upper frame. It works without having to create the frameset file. Please also note, that you can set the height to 100%, it all depends how you would like to see it. I tried this and it was perfect so will now see if I can get the link to work from the family page.
This is the code I put in the toc_djvu.htm to open the multimedia.htm in the lower frame as you suggested. <body> <br><br> <center> <p align="center"><font size="5" face="Tolkien" color="#0000ff"><b>Linked Family Portraits</b></font><br> <div class='nobr'><br> <ul id='names' class='xT'> <li class='xT2-o' onclick='xTclk(event,"2");'> <span class='xT-i bold'>S</span><ul><br> <img src='images/photo.gif' border='0' width='16' height='16' alt='Family Tree'/> <a href='multimedia.htm?x=-849,5,y=-609,5,highlight=false'onclick='showPopUpFrame("");' target='popup'>Sinclair Family Portrait</a><br /></ul></li> </ul> <br><br> </center></p> </body>
Edited: Sunday, April 1, 2007 by
IainTait
|
|
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.0.1.5
Last Login: Saturday, March 14, 2020
Posts: 365,
Visits: 3,680
|
Thanks for the tip, I have managed to make a button for the heading.htm and a toc_djvu.htm which opens the multimedia.htm in the lower frame though it doesn't fill it.I messed around with the links in the finished toc_genomaps.htm and toc_timelines.htm untill I found the combination which worked by trial and error. (mostly error !) I hadn't been able to open the links in the upper frame so will now try. I didn't manage to get the link from the sources to work but will also try the family link tomorrow. Thanks again.
|
|
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.0
Last Login: Yesterday @ 12:43 PM
Posts: 1,596,
Visits: 32,537
|
In my example there are several attempts to get this working. The link 'framed' is the correct version. If this is opened from the list of Sources, followed by clicking on 'mixed.html' then the frames are set correctly and the links work as planned. If you start from the family list then the link 'framed' is still there but within another set of frames. This sequence then opens a new frame, which needs to be resized so that the new information can be seen. Need to see if it is possible to use the existing frame name, which appears to be 'popup'
|
|
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, March 21, 2021
Posts: 716,
Visits: 12,927
|
appleshaw (4/1/2007) In my example there are several attempts to get this working. The link 'framed' is the correct version. If this is opened from the list of Sources, followed by clicking on 'mixed.html' then the frames are set correctly and the links work as planned. If you start from the family list then the link 'framed' is still there but within another set of frames. This sequence then opens a new frame, which needs to be resized so that the new information can be seen. Need to see if it is possible to use the existing frame name, which appears to be 'popup'
May be this is something Ron can look into it: If I open a place from the toc frame, the list appears in the detail frame, if I click then to show the google map, the popup frame comes up. I would like to see the same procedure with sources: Open a source from the toc frame, the list appears in the detail frame, if I click the linked file, it will replace the detail frame instead of showing in the popup frame. The question is, does it makes sense to show this linked file in the popup frame, since it could also be in a different file format than djvu (pdf, doc, xls, etc)?
|