The Most Active and Friendliest
Affiliate Marketing Community Online!

“Adavice”/  “1Win

help understanding html

W

wiccanwonder

Guest
Can someone help?

I have a webpage with no frames.

I created mouseover buttons that swapped one image for another on my navigation bar - and that was ok.

I then wanted to use a timed status 'function', mouseover effect that gave a message on the status bar eg "return to home page".

I can get these effects to work separately but not on the same page.

Is this possible or am I trying to do the impossible?

Im new to html and obviously struggling.........
 
Anything is possible :)

It would help a bit though if you'd post what tools are you using to build your webpages and maybe a small sample of code for one of those buttons.
 
Hello,

Let us know a URL or please copy here the code, so we can analyze to see wath is the problem.

Best Regards,
Ovi
 
The solution is simple:
1. instead of doing the action on onMouseOver/onMouseOut events, you define two functions that each does all the things you want them to (change image, chage status bar text, etc.) and call thos functions on the respective events, or
2. you can put multiple JavaScript instructions on any event, separated by ';' as in:
onMouseOver="this.className='buttonOver';window.status='some nice text for our user here....'"

Hope it helps.

Alex
 
banners
Back