PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
WB - Como habilitar rolagem de um texto em um campo via codigo em WebDev?
WB - Como habilitar rolagem de um texto em um campo via codigo em WebDev?
Started by BOLLER ADRIANO, Jun., 28 2016 6:33 AM - No answer
Connect yourself…
BOLLER ADRIANO
#1
Registered member
3,659 messages
Popularité : +175 (223 votes)
Posted on June, 28 2016 - 6:33 AM
Como habilitar a rolagem de texto em um campo via codigo em WebDev?
Le defilement d
`
un texte
DANS
un champ peut etre obtenu
par
programmation
DANS
les traitements navigateur d
`
une page
.
L
`
utilisation d
`
une
Procedure
repondant a un
Timer
est necessaire
.
Exemple
:
// Chargement (onload) de la page
GLOBAL
ChaineScroll est une
chaîne
PosScroll est un
entier
LOCAL
ChaineScroll
=
"Texte qui passe dans le champ de droite a gauche..."
Timer
(
"Scroll"
,
20
)
// Scroll est une procedure Navigateur de la page
// Traitement de la procedure Scroll (code Navigateur)
Procedure
Scroll
(
)
// Affichage du libelle
PosScroll
+
+
SI
PosScroll
>
Taille
(
ChaineScroll
)
ALORS
PosScroll
=
1
SCROLL
=
ChaineScroll
[
[
PosScroll a
Taille
(
ChaineScroll
)
]
]
+
ChaineScroll
[
[
1
a PosScroll
-
1
]
]
Note
:
Il est egalement possible de
FAIRE
un defilement en utilisant des balises HTML specifique
.
par
exemple pour un champ libelle
,
DANS
sa
Description
il faut
:
-
onglet
`
Dtail
` :
type
static
,
-
onglet
`
Avanc
`
,
code avant
: <
MARQUEE
>
-
onglet
`
Avanc
`
,
code aprs
: <
/
MARQUEE
>
Attention
,
pour utiliser ces traitements il faut disposer de documentations HTML pour verifier
:
-
les balises accompagnatrices
(
reglage defilement
...
),
-
la portabilite de ces balises
(
navigateurs les supportant
...
).
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
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