GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Author I hate frames
Posted Sunday, April 6, 2008 - Post #21314
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
I am trying to get this done on my PC, but would like the "Source/URL" file to be opened also in a dhtml frame like all other items. (I am thinking of htm/l files and DjVu). What needs to be done besides downloading the two files as above from Ron?

Update: solved this problem!


Edited: Monday, April 7, 2008 by maru-san
Posted Friday, January 18, 2008 - Post #20515
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.0.1.6

Last Login: Monday, November 9, 2009
Posts: 15, Visits: 58
Ron (1/18/2008)
With the DynamicDrive script there were just a few tweaks required to get something working. First attempt is attached, just put the files in a custom Narrative skin., overwriting the standard files.

This has given me a few ideas for the Narrative Report. Perhaps left hand pull out iFrames for the index pages?

Anyway this will be something for GenoPro Gamma.

I can almost taste the Laphroaig Tongue:


Well...http://familytrees.genopro.com/Desiredbard/default.htm
It seems to work Wink

Send me a PM and the background its on its way.




Kindest Regards

My Website

Edited: Friday, January 18, 2008 by Desiredbard

Posted Friday, January 18, 2008 - Post #20510
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.0.1.6

Last Login: Monday, November 9, 2009
Posts: 15, Visits: 58
OK now I am going to print the code on transparencys and spot the differences
I could not get the changes done....

Anyways PM me with your details ...bottles are not homeing pigeons after all


Kindest Regards

My Website

Posted Friday, January 18, 2008 - Post #20506
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Important Contributors
Customers
GenoPro version: 3.1.0.1

Last Login: Saturday, December 28, 2024
Posts: 193, Visits: 4,270
OFF

Ron, do you know this site? Just when reading Laphroaig Smile

ON



Feri
Posted Friday, January 18, 2008 - Post #20503
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 8 hours ago
Posts: 3,419, Visits: 26,424
With the DynamicDrive script there were just a few tweaks required to get something working. First attempt is attached, just put the files in a custom Narrative skin., overwriting the standard files.

This has given me a few ideas for the Narrative Report. Perhaps left hand pull out iFrames for the index pages?

Anyway this will be something for GenoPro Gamma.

I can almost taste the Laphroaig Tongue:


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Friday, January 18, 2008 by Ron
Posted Monday, January 14, 2008 - Post #20417
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.0.1.6

Last Login: Monday, November 9, 2009
Posts: 15, Visits: 58
Here we go, it should work in any folder with this name

My workaround is to set the 65% in script.js to 100% which solves the scrollbar issue in the right hand site but not the breaking out of the design.

Side effect is of course as well that once google indexed my
http://www.de-ridder.info/famtree/default.htm and others users will get displayed the default genopro layout without having been in MY standard template at all.

Workaround for thios is having the home button in the header point to my new index.php
However since the genopro default design is a good working onme ...there is no need to hit the HOME as such.


Kindest Regards

My Website

default.rar (94 views, 1.71 KB)

Edited: Monday, January 14, 2008 by 372698

Posted Sunday, January 13, 2008 - Post #20398
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 8 hours ago
Posts: 3,419, Visits: 26,424
372698 (1/13/2008)
INow this default htm is not live...
But if anyone fancies having a look at it...... (Fix it and you get a bottle of jamesons w00t )

I'm certainly interested in having a look. But my preference would be Laphroaig rather the Jamesons!

Why not post it here as an attachment? 


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Sunday, January 13, 2008 - Post #20396
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
GenoPro version: 2.0.1.6

Last Login: Monday, November 9, 2009
Posts: 15, Visits: 58
I dont have a fundamental problem with frames especially iframes
Sometimes they are the best solution, however design wise..... I would have prefered a set of iframes and a popup for the googlemaps and the likes as on:

http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow.htm

This would make it realy easy for the endusers to place theit own style around the genopro design. Which from my point of view does exactly doe what it needs without an overkill on fancy lineout


Now i'm not a js wiz but this seemed the logical to do wiithout mesing with the actual basic design.... if it aint broke dont fix it


I have a default. htm amended with
to id the framesets
and iframe's replacing the actual frames.
Eventhough i still think its obsolete you can have heading running in its own private iframe with borders set to none Wink

This works fine appart from the popup screen always being visible.

Now this default htm is not live...
But if anyone fancies having a look at it...... (Fix it and you get a bottle of jamesons w00t )

And really the only reason i would like this is to stop people from Breaking out of my template



Kindest Regards

My Website

Edited: Sunday, January 13, 2008 by GenoProSupport

Posted Thursday, January 10, 2008 - Post #20359
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 8 hours ago
Posts: 3,419, Visits: 26,424
JcMorin (1/10/2008)
The frame model has been proven bad in history for Html

I would not put it as strongly as that, although frames are unpopular with many web designers and are generally denigrated, but others have just jumped on the band wagon.

Anyway many of the reasons given not to use frames do not apply in the case of the Narrative Report.:

  1. Difficult to maintain is one reason given. Well that's my problem, the frames and pages are automatically generated for the user and so maintenance for them is not an issue. Anyway I do not believe the code is any more difficult to maintain just because of frames.
  2. Search engines mark a page not a frameset, so user is directed to a page without navigation. Well thanks to javascript added by Jean-Claude Morin, the frameset is recreated whenever a user follows a link to a page in the report and so all features of the report remain in tact. (This is the root of the problem Bas has by the way when trying to remove frames).
  3. Frames impose a structure not layout. I would say no more structure than a browser window. you can resize then if you want.
  4. There are server side alternatives. As Jean-Claude has said, GenoPro users want to look at reports locally on a PC and carry them around on a CD or USB stick and so server side scripting etc. is not appropriate.
  5. Heavy reliance on Javascript to provide navigation. Some users don't want to run javascript. Well virtually every page now-a-days has some javascript in it!
  6. Printing is difficult. Yep I agree with this one.

 But back to Bas's issue:

Just removing the heading.htm frame from the default.htm frameset does cause a problem. You need to remove Jean-Claude's  bit of Javascript from script.js i.e. this section starting at line 28

        if (self == parent || self == mytop) {
  // redirect to the home page with the current page in query string
  var beginWebFileName = location.pathname.lastIndexOf('/');
  var beginFileName = location.pathname.lastIndexOf('\\');
  var fileName;
  if (beginFileName < beginWebFileName) {
   fileName = location.pathname.substring(beginWebFileName + 1);
  } else {
   fileName = location.pathname.substring(beginFileName + 1);
   } 
  
  mytop.location = 'default.htm?page=' + fileName;
 }

Also the buttons and popup frame links do not work because the script uses the heading frame as a marker for when the report is embedded in a users own frameset, so rather than removing the heading.htm frame, set its number of rows to zero in the framset declaration above it. I could have coded this another way to prevent this but that's life!

May be one day I or someone else will produce a new Web Report design. A lot of water has gone under the bridge since I started playing with this. I knew precious little about javascript and html and even less about web design. "with the benefit of hindsight etc. "


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, January 10, 2008 - Post #20352
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Gamma
Moderators
Administrators
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.0

Last Login: Wednesday, October 7, 2020
Posts: 952, Visits: 10,075
The frame model has been proven bad in history for Html, but for static (no server side processing), scalable report, it's the best thing available at the moment.

Some report have thousands of individuals, and it is impossible include the index in every page because the report will be too big and very slow to display.

I spent some time looking for a solution and Ajax report would do a better job, however it has the following shortcomings for many users:

  • The report cannot be viewed on a local disk unless you configure IIS.
  • The report cannot be copied to a cd-rom.
  • Much harder to debug and correct mistakes than plain HTML pages.


Edited: Thursday, January 10, 2008 by GenoProSupport


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!