Link to home
Create AccountLog in
Editors IDEs

Editors IDEs

--

Questions

--

Followers

Top Experts

Avatar of Bruce Dimon
Bruce Dimon🇺🇸

Javascript for Mouse Events
I'm using NetBeans 6.5 with the JSF library (Woodstock 1.2). I just want the image to change during the onMouseOver event. The IDE provides property strings for mouse events. You put JavaScript in the strings. I need to know what syntax is expected. What I assumed is wrong as nothing happens during the mouse-over. I attached the JSP code generated by the IDE.
<webuijsf:image id="image1" 
onMouseOut="url=&quot;/resources/Image%201.jpg&quot;"
onMouseOver="url=&quot;/resources/Image%201%20Mouseover.jpg&quot;" 
style="left: 48px; top: 48px; position: absolute" url="/resources/Image%201.jpg"/>

Open in new window

NB-Image-Properties.jpg
NB-Java-Express.jpg

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


ASKER CERTIFIED SOLUTION
Avatar of dnunes_brdnunes_br🇧🇷

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of Bruce DimonBruce Dimon🇺🇸

ASKER

Still nothing happens when I move the mouse over the image. I'm using Tomcat 6 & IE 7 but assume that is not an issue. There are no build errors.

Avatar of Bruce DimonBruce Dimon🇺🇸

ASKER

I think this should work but I don't know why it does not. I'm hoping that the final compilation will work because Run Main Project (F6) does not update the image upon mouseover. Thanks for your solution.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

Editors IDEs

Editors IDEs

--

Questions

--

Followers

Top Experts

Development in most programming languages is frequently done with an editor or integrated development environment (IDE). An IDE is a software application that provide comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger. XCode, Visual Studio, Adobe Dreamweaver and Eclipse are some of the more popular development tools, but an editor or IDE can be anything from simple text editors to sophisticated programs. Related topics: All programming and development language, database and web based content management systems topics