Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F946062
test_highlight.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
test_highlight.html
View Options
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<
html
>
<
head
>
<
title
>
dojox.fx.highlight
</
title
>
<
script
type
=
"text/javascript"
src
=
"../../../dojo/dojo.js"
djConfig
=
"isDebug:true"
></
script
>
<
script
type
=
"text/javascript"
>
dojo
.
require
(
"dojox.fx"
);
</
script
>
<
style
type
=
"text/css"
>
@
import
"../../../dojo/resources/dojo.css"
;
@
import
"../../../dijit/themes/dijit.css"
;
@
import
"../../../dijit/themes/tundra/tundra.css"
;
@
import
"../../../dijit/tests/css/dijitTests.css"
;
</
style
>
</
head
>
<
body
class
=
"tundra"
>
<
h1
class
=
"testTitle"
>
dojox.fx.highlight tests
</
h1
>
<
div
id
=
"attention"
style
=
"position:absolute; left:300px; top:200px; padding:10px;"
>
<
h3
>
This is the default highlight
</
h3
>
</
div
>
<
div
id
=
"attention2"
style
=
"position:absolute; left:300px; top:80px; padding:10px;"
>
<
h3
>
BRING ATTENTION HERE!
</
h3
>
</
div
>
<
div
id
=
"attention3"
style
=
"position:absolute; left:350px; top:150px; padding:10px; background-color:#CCCCCC"
>
<
h3
>
Highlight me
</
h3
>
</
div
>
<
a
href
=
"javascript:void(0)"
onClick
=
"dojox.fx.highlight({node:'attention'}).play()"
>
test #1 (default)
</
a
>
<
br
>
<
a
href
=
"javascript:void(0)"
onClick
=
"dojox.fx.highlight({node:'attention', repeat:1}).play()"
>
test #2 (default - play twice)
</
a
>
<
br
>
<
a
href
=
"javascript:void(0)"
onClick
=
"dojox.fx.highlight({node:'attention2', color:'#0066FF', duration:800}).play()"
>
test #3
</
a
>
<
br
>
<
a
href
=
"javascript:void(0)"
onClick
=
"dojox.fx.highlight({node:'attention3', color:'#0066FF', duration:800}).play()"
>
test #4
</
a
>
</
body
></
html
>
File Metadata
Details
Attached
Mime Type
text/html
Expires
Sat, Apr 26, 04:59 (3 d, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27167
Default Alt Text
test_highlight.html (1 KB)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment