[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Change background of parent cell

Posted on 2006-06-09
6
Medium Priority
?
631 Views
Last Modified: 2011-09-20
I am trying to change the background of the parent cell of a hyperlink.  What I currently have is <a href="test.html" onmouseover="this.parentNode.style.background-image='url(images/DkBlueSlantedTAB.gif)';"  But the problem is that this returns a syntax error.  Any ideas?
0
Comment
Question by:johnywhite
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 63

Accepted Solution

by:
Zvonko earned 2000 total points
ID: 16874422
Yes, this one:

onmouseover="this.parentNode.style.backgroundImage='url(images/DkBlueSlantedTAB.gif)';"  

0
 

Author Comment

by:johnywhite
ID: 16874718
That works thanks.  It's amazing what a simple hyphen can do.
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 16874765
You can see it as a rule: every hyphen in CSS changes in Script the following character to uppercase and disappears.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 63

Expert Comment

by:Zvonko
ID: 16874780
Do you have problems closing answered questions?
Click on this: http:viewQuestionHistory.jsp?mid=3478229&orderBy=9&sort=1

0
 

Author Comment

by:johnywhite
ID: 16874940
Sorry about that.  I only don't close a question when I am waiting for a resolution to the problem.
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 16874963
No problem. See you in the onMouseUp problem.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question