NathanHein
Junior Member
Posts: 2
Registered: 11/19/2004
Member Is Offline
|
| posted on 11/19/2004 at 04:08 PM |
|
|
Mac/Safari Solution
For compatibility with Mac/Safari you need to add the folling line to the scroll.html:
main.style.visibility='hidden';
It needs to be added at the begining of the init() function. It should be around line 66 where it goes.
Example:
66. function init(n_2measure) {
67. main.style.visibility='hidden';
68. var b_fl = true, e_frm, k = 0, i;
69. if (n_2measure != null)
70. items[n_2measure].height = vertical ? o_cont.offsetHeight : o_cont.offsetWidth;
71. for (i = n_num - 1; i >= 0; i--) if (!items.height) {
The credit for this fix goes to David Simmer, fivecentdesign[AT]f2o.org . Thanks David!
|
|
|
fivecentdesign
Newbie
Posts: 1
Registered: 12/13/2004
Location: Bloomington, MN
Member Is Offline
|
| posted on 12/13/2004 at 03:24 PM |
|
|
you're welcome
Glad it was useful to you as well. How'd you come across my fix?
|
|
|
bopp
Member
Posts: 13
Registered: 9/9/2005
Member Is Offline
|
| posted on 9/9/2005 at 10:28 PM |
|
|
so then do you remove the
main.style.visibility='visible';
line further down in the function?
|
|
|
simmerdown
Junior Member
Posts: 2
Registered: 11/17/2005
Location: Bloomington, MN
Member Is Offline
|
| posted on 11/17/2005 at 02:21 AM |
|
|
nope
| Quote: | Originally posted by bopp
so then do you remove the
| Code: | | main.style.visibility='visible'; |
line further down in the function? |
Stays as it is. You can see a working example on the site where I developed the fix: view the source of
www.normandale.edu/js/tigraScroller/scroll.cfm?type=
The relevant code won't be at line 66 anymore, but you'll find it. Hope you were able to figure it out ...
David (formerly known as "fivecentdesign")
|
|
|
simmerdown
Junior Member
Posts: 2
Registered: 11/17/2005
Location: Bloomington, MN
Member Is Offline
|
| posted on 11/17/2005 at 02:22 AM |
|
|
and the example in action ...
www.normandale.edu/
|
|
|
reflib
Newbie
Posts: 1
Registered: 1/31/2007
Member Is Offline
|
| posted on 1/31/2007 at 01:59 PM |
|
|
Mac/Safari Problems, Continued
My library purchased a web template created by a third party company. The template includes the Tigra scroller, which works wonderfully well -- except
when viewed via a Mac/Safari browser. I inserted the code to repair this problem precisely as described in the messages above -- but it is still not
visible via Safari. (The website can be viewed at www.tplibrary.org.)
Have I done something wrong in the way I implemented the "fix"?
Note that the version of TS used in our website is 1.4. Is this version too old for the "fix" to work?
|
|
|