FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Example: WW_Overview_Mobile_Application
Example: WW_Overview_Mobile_Application
Iniciado por Urs Singer, 14,ene. 2017 18:05 - No hay respuesta
Conéctese…
Urs Singer
#1
Publicado el 14,enero 2017 - 18:05
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?
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto