View Full Version : Dreamweaver Error

02-08-2006, 09:34 AM
currently building a large app for a major uttility company

thought it would be nice to have a tooltip on a RS result <td>

<td onMouseOver="return escape('<?php echo $row_downloads['inv8_memo']; ?>')"

then i found that the tooltip displayed (empty) even if $row_downloads['inv8_memo']; was empty so i tried this ... notice the if statement

<td <?php if ( $row_downloads['inv8_memo'] !=''){ echo ?> onMouseOver="return escape('<?php echo $row_downloads['inv8_memo']; ?>')
<?php } ?>

as you can see i am checking that $row_downloads['inv8_memo'] contains stuff before writing the onMouseOver event to each row in the DO { loop

the code appears valid and works in the site with no errors but when opening and switching the page within DW i get a ...

while executing findServerBehaviors in DynAttribute.htm error in DW

any ideas

i removed the IF to stop this for now coz DW hates it

Creative Insanity
02-08-2006, 04:02 PM
I get this alot with DW when adding your own code. Which is why I have been harping on about buggy DW. I have never found a cure for this either other than trimming down like you did, or just adding the code by hand before uploading.
DW is a good program but personally I think it has some serious bugs that have not been addressed for a long time. I never got this problem with UltraDev. It only started when they merged the 2.
Sorry DJ I have no fix for you.

02-09-2006, 12:54 PM
can you remember drumbeat?

Creative Insanity
02-09-2006, 04:03 PM
No dj don't know that one.
Before UD and DW I used UltraEdit and still do rather alot.