Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Can't get show to work with onMouseOver event

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
JazzcatCB Posted - 29 Jul 2005 : 07:13:00
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.
3   L A T E S T    R E P L I E S    (Newest First)
JazzcatCB Posted - 29 Jul 2005 : 13:53:54
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.
JazzcatCB Posted - 29 Jul 2005 : 10:43:01
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>
s.dav Posted - 29 Jul 2005 : 08:40:59
Please send this sample to me and I'll try to understand the problem ;-)

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000