Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zanhuangyingji
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yaqizhang
zanhuangyingji
Commits
cf629e9f
Commit
cf629e9f
authored
Apr 06, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a
parent
96ca3366
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
app.js
ioc_frontweb/js/app.js
+7
-7
No files found.
ioc_frontweb/js/app.js
View file @
cf629e9f
...
...
@@ -209,14 +209,14 @@ $(function () {
});
$
(
'.legendcss'
).
on
(
'mouseover'
,
function
(
ev
)
{
console
.
log
(
ev
.
target
.
className
);
if
(
ev
.
target
.
tagName
.
toLowerCase
()
!==
'ul'
&&
ev
.
target
.
tagName
.
toLowerCase
()
!==
"a"
&&
ev
.
target
.
className
!==
"legendchild"
)
{
$
(
"#legend"
).
find
(
"li .legendchild"
).
hide
();
$
(
ev
.
target
).
closest
(
'li'
).
find
(
".legendchild"
).
show
();
$
(
ev
.
target
).
closest
(
'li'
).
css
({
"backgroundImage"
:
"url(images/vectorbot.png)"
})
}
else
{
//
console.log(ev.target.className);
//
if (ev.target.tagName.toLowerCase() !== 'ul' &&ev.target.tagName.toLowerCase()!=="a"&& ev.target.className !=="legendchild" ) {
//
$("#legend").find("li .legendchild").hide();
//
$(ev.target).closest('li').find(".legendchild").show();
//
$(ev.target).closest('li').css({"backgroundImage":"url(images/vectorbot.png)"})
//
}else{
}
//
}
// if(ev.target.tagName.toLowerCase()=="a" || ev.target.className =="legendchild"){
// $(ev.target).closest('li').css({"backgroundImage":"url(images/re.png)"});
// }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment