PDA

View Full Version : Help reg html tags and JS events.



mnr_bujji
19 Apr 2007, 12:42 AM
Hi there,

My code is:
<div id="test" style="display:none;" onmouseout="hidelayer('test');return false;"></div>
Later, onclick of some text, I made this div innerHTML as below...

<a id='anchor' class='anchor' target='_blank' href='newpage' >
Some text.
Some text.
Some text.
Note:--- this div is a popup layer.
thats it. Now, the problem is , when I mouse out from that div, Its getting hidden.But, even I move mouse over the anchor link too , the total div is getting hidden.
Hope..u guys got my prob?.
Is it with resp onmouseout event?.
shud I include some event for anchor tag too?

Any help is most appreciated.
Thanks,
Naren.