PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Example: WW_Overview_Mobile_Application
Example: WW_Overview_Mobile_Application
Started by Urs Singer, Jan., 14 2017 6:05 PM - No answer
Connect yourself…
Urs Singer
#1
Posted on January, 14 2017 - 6:05 PM
Following function is not working in Chrome but in IE
/
Scroll to a
Position
FUNCTION
ScrollToAnime
(
n
Position
)
{
$
(
'
html
,
body
'
)
.
animate
(
{
scrollTop
:
n
Position
}
, '
slow
'
)
;
}
the function is call by following procedure:
// Summary: Displays an area
// Syntax:
//AreaDisplay (<nSubscript> is int)
//
// Parameters:
//
nSubscript (integer): Subscript of the area to display
//
Procedure
AreaDisplay
(
n
Subscript is
int
)
n
Margin is
int
=
ZONE_Header
..
Height
BRW_Bar
..
Collapsed
=
True
SWITCH
n
Subscript
CASE
1
ScrollToAnime
(
ZONE_1
..
Y
-
n
Margin
)
CASE
2
ScrollToAnime
(
ZONE_2
..
Y
-
n
Margin
)
CASE
3
// YouTube video
ScrollToAnime
(
ZONE_3
..
Y
-
n
Margin
)
// Start the video playing
EXTERN
player
IF
player
THEN
player.playVideo
(
)
END
CASE
4
ScrollToAnime
(
ZONE_4
..
Y
-
n
Margin
)
CASE
5
ScrollToAnime
(
ZONE_5
..
Y
-
n
Margin
)
END
Somebody knows what has to be corrected that it works also in Chrome?
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text