Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Can't get show to work with onMouseOver event
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JazzcatCB
Practical

46 Posts

Posted - 29 Jul 2005 :  07:13:00  Show Profile  Visit JazzcatCB's Homepage  Reply with Quote
Davide, I have an image with some events assigned to it. First, it has a rollover event assigned to it to change images when the mouse rolls over it. Then, it has several events that hide the default text background rectangle and default text, and then show the selected text background rectangle and selected text. The hide seems to work, but the show does not. The selected background and text are hidden behind the default background and text - would this have something to do with it? If so, how do I get show to display them?

Thanks for your help.

s.dav
Site Admin

Italy
3364 Posts

Posted - 29 Jul 2005 :  08:40:59  Show Profile  Visit s.dav's Homepage  Reply with Quote
Please send this sample to me and I'll try to understand the problem ;-)

Regards, Davide
Go to Top of Page

JazzcatCB
Practical

46 Posts

Posted - 29 Jul 2005 :  10:43:01  Show Profile  Visit JazzcatCB's Homepage  Reply with Quote
Davide, here is the relevant code:


<div id="ldhelabelSodaFunds" style="position: absolute; left: 315px; top: 70px; width: 51px; height: 17px; text-align: justify;" align="left">
<span class="centurygothic100FFFFFFt">Funding</span></div>
<div id="ldherectSelectedTextBG" style="position: absolute; left: 0px; top: 90px;" align="left">
<table width="246" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000"><tr><td width="246" height="361" bgcolor="#FFFFC0"><img src="blank.gif" border="0" alt=""></td></tr></table></div>
<div id="ldhelabelFunding" style="position: absolute; left: 5px; top: 120px; width: 238px; height: 160px; text-align: justify;" align="left">
<span class="arial100FFFFFFt">Recycled Movie has many potential avenues to generate income.  Collecting recyclable goods is only the beginning and can be complimented by private donations, screenplay submission fees, and an annual film festival.   Ultimately, Recycled Movie is to become a trusted household name producing finished films that generate profit through international distribution.</span></div>
<div id="ldhelabelFundingTitle" style="position: absolute; left: 5px; top: 95px; width: 236px; height: 19px; text-align: center;" align="left">
<span class="arial120FFFFFFtb">Funding</span></div>

<div id="ldheimgSodaCanSelected" style="position: absolute; left: 315px; top: 5px;" align="left">
<a href="#" onmouseover="jsShow('labelSodaFunds',1);jsShow('rectTextBG',0);jsShow('labelGoal',0);jsShow('labelGoalTitle',0);jsShow('rectSelectedTextBG',1);jsShow('labelFundingTitle',1);jsShow('labelFunding',1);return false;" onmouseout="jsShow('rectTextBG',1);jsShow('labelGoalTitle',1);jsShow('labelGoal',1);return false;"><img id="imgSodaCanSelected" name="imgSodaCanSelected" src="preview_imgsodacanselected.png" width="46" height="66" border="0" alt=""></a></div>

<div id="ldheimgSodaCan" style="position: absolute; left: 315px; top: 5px;" align="left">
<a href="#" onmouseover="jsRoll('imgSodaCan',2,'this');jsShow('labelSodaFunds',1);jsShow('labelGoal',0);jsShow('labelGoalTitle',0);jsShow('rectTextBG',0);jsShow('rectSelectedTextBG',1);jsShow('labelFundingTitle',1);jsShow('labelFunding',1);return false;" onmouseout="jsRoll('imgSodaCan',3,'this');jsShow('rectTextBG',1);jsShow('labelGoalTitle',1);jsShow('labelGoal',1);return false;"><img id="imgSodaCan" name="imgSodaCan" src="preview_imgsodacan.png" width="46" height="66" border="0" alt=""></a></div>
Go to Top of Page

JazzcatCB
Practical

46 Posts

Posted - 29 Jul 2005 :  13:53:54  Show Profile  Visit JazzcatCB's Homepage  Reply with Quote
Davide, I found the problem. I had a graphic rectangle sitting between the background and text elements I wanted to display and the surface. This was preventing them from showing. I removed it, and now everything is fine.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000