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

GenoPro Support Forum




Problem viewing the family picture slide show

Click to view RSS...
Author JavaScript error when running the picture slide show.
Posted Saturday, September 17, 2005 - Post #8450
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 3.0.0.7

Last Login: Sunday, November 26, 2023
Posts: 213, Visits: 4,464

I think I have found a bug in the HTML code generated by the report generator.

If there are some family pictures (e.g. 7 pictures), the browser displays only two pictures from the individual page, and after that you get an Error at the bottom of the page. When you go to the family page, you can scroll among all the family pictures without any Error.

I don't know if this problem is only in my computer, but it is a good idea to check it.

Edited: Saturday, September 17, 2005 by GenoProSupport

Posted Saturday, September 17, 2005 - Post #8451
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
Humm, can you include a sample HTML page of this?  I am a newbe regarding to HTML and CSS.  Perhaps someone can find out what the problem is...
Posted Saturday, September 17, 2005 - Post #8452
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 3.0.0.7

Last Login: Sunday, November 26, 2023
Posts: 213, Visits: 4,464
GenoProSupport (9/17/2005)
Humm, can you include a sample HTML page of this?  ...

I'll try Smile

                                              "Error in page"

This is the "family pictures" part from the "individual" page. I put 8 picturs to that family, but when I tried to scroll among those pictures,  after two pictures I got an error massage at bottom of the page, and I couldn't scroll anymore to the other pictures.

But....when I went to the "family page", I could scroll among all the 8 pictures without any error.

                                                    "DONE"

Posted Saturday, September 17, 2005 - Post #8453
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
Can you include an attachment of the HTML file to your post.  I will take a look at it on my machine.

By the way, have you tried to modify the HTML code to include the following

<html dir=rtl>

This will display the text from right-to-left.  Eventually, GenoPro will have a checkbox in the report generator dialog to let the user pick the text direction.

Posted Saturday, September 17, 2005 - Post #8454
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 3.0.0.7

Last Login: Sunday, November 26, 2023
Posts: 213, Visits: 4,464
GenoProSupport (9/17/2005)
Can you include an attachment of the HTML file to your post.  I will take a look at it on my machine..

I don't know how to send HTML attachments to this forum, so here is a link to those html files:

!!!! Not available anymore !!!!

Also - Here is direct links to those html files inside my website:

!!!! Not available anymore !!!!

edit 18.9.05- 12:57 pm

The bug was fixed after Dan found a solution to the problem (see: http://support.genopro.com/FindPost8464.aspx Wink , so I removed those links because they are not relevant anymore and they have changed according to dan's solution.

Edited: Sunday, September 18, 2005 by beraha

Posted Saturday, September 17, 2005 - Post #8455
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
GenoPro version: 2.5.4.0

Last Login: Sunday, September 20, 2015
Posts: 64, Visits: 1,814
I can confirm that.
And the slide show hangs.
(Using Win 98 and Firefox)


Edited: Saturday, September 17, 2005 by GenoProSupport
Posted Saturday, September 17, 2005 - Post #8456
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
I get the JavaScript error Object Required running the picture slide show only in the page http://beraha.atspace.com/rivka/ind00024.htm.

What is strange is the code works on http://beraha.atspace.com/rivka/family.fam00008.htm.

I have extracted the code from http://beraha.atspace.com/rivka/ind00024.htm causing the error.  When I compared this code with http://beraha.atspace.com/rivka/family.fam00008.htm, I found they are identical.  I believe the problem lies in the following code:

<select class='hide' id='idPVs_fam00008' onchange="PV_PickCore('fam00008', 0);">

<option selected class='hide'
 value='&lt;img src=&#39;pictures/eliezerStela_levi4.jpg&#39;  
 width=&#39;248&#39; height=&#39;176&#39; class=&#39;pic&#39;
 style=&#39;margin:36px 0px 36px 15px;&#39;
 onclick=&#39;viewPic(this.src)&#39;
 alt=&#39;eliezer&amp;amp;stela_levi4&#39;/&gt;&#31;eliezer&amp;stela_levi4&#31;' >
</option>

<option class='hide'
 value='&lt;img src=&#39;pictures/eliezerStela_levi8.jpg&#39;
 width=&#39;188&#39; height=&#39;248&#39; class=&#39;pic&#39;
 style=&#39;margin:0px 30px 0px 45px;&#39;
 onclick=&#39;viewPic(this.src)&#39;
 alt=&#39;eliezer&amp;amp;stela_levi8&#39;/&gt;&#31;eliezer&amp;stela_levi8&#31;מכתב אהבה מאליעזר לסטלה' >
</option>

<option class='hide'
 value='&lt;img src=&#39;pictures/eliezerStela_levi3.jpg&#39;
 width=&#39;168&#39; height=&#39;248&#39; class=&#39;pic&#39;
 style=&#39;margin:0px 40px 0px 55px;&#39;
 onclick=&#39;viewPic(this.src)&#39;
 alt=&#39;eliezer&amp;amp;stela_levi3&#39;/&gt;&#31;eliezer&amp;stela_levi3&#31;' >
</option>

</select>

Can you try removing the picture comment מכתב אהבה מאליעזר לסטלה and re-generate the report.  Maybe the JavaScript engine does not like Unicode text.  If this is the problem, I can fix this easily.

Edited: Saturday, September 17, 2005 by GenoProSupport

Posted Saturday, September 17, 2005 - Post #8457
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 3.0.0.7

Last Login: Sunday, November 26, 2023
Posts: 213, Visits: 4,464
GenoProSupport (9/17/2005)
Can you try removing the picture comment מכתב אהבה מאליעזר לסטלה and re-generate the report.  Maybe the JavaScript engine does not like Unicode text.  If this is the problem, I can fix this easily.

I have deleted all comments, and generated a shinked version of the tree using the original Skin

*** EDIT: NOT AVAILABLE ANYMORE ***

Still, the same problem, as you can see by yourself. So - I'm not sure the problem is with the Unicode text. I'm ready to generate more tests with less information as you like in order to find the problem.


Edited: Wednesday, May 31, 2006 by beraha

Posted Saturday, September 17, 2005 - Post #8458
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
I tested page http://beraha3.atspace.com/test6/ind00001.htm and noticed the error occurs when a picture contains the & symbol.  Can you try renaming the picture name, file name and description to remove any &.  Html uses the & as a reserved character and it is possible the report generator is not encoding this character properly.

I believe all & are being HTML-encoded as &amp; but it is possible some of those characters slipped.

Posted Saturday, September 17, 2005 - Post #8459
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 3.0.0.7

Last Login: Sunday, November 26, 2023
Posts: 213, Visits: 4,464
GenoProSupport (9/18/2005)
I tested page *** EDIT: NOT AVAILABLE ANYMORE *** and noticed the error occurs when a picture contains the & symbol.  Can you try renaming the picture name, file name and description to remove any &.  Html uses the & as a reserved character and it is possible the report generator is not encoding this character properly.

I did what you asked and removed all pictures contains the & symbol.

Look at:  *** EDIT: NOT AVAILABLE ANYMORE ***

Still the same problem.Crying

What else should I remove?

Edited: Wednesday, May 31, 2006 by beraha



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse