PDA

View Full Version : Spry Region and Firefox


westonm
05-01-2011, 05:41 PM
I have the following code

<div spry:region="dsNews">
<table width="100%">
<tr>
<th>&nbsp;</th>
</tr>
<tr spry:repeat="dsNews">
<td>{column0}</td>
</tr>
</table>
</div>
<comment> <p><a href="NewsCol2.html" target="_blank">details...</a></p> </comment>
<p><a href="javascript:void(window.open('NewsCol2.html'))">details...</a></p>



This was done some time ago and I am just relizing there is a problem in Firefox, but not IE.
I believe Dreamweaver inserted all of the code when I inserted a spry region, I don't recall entering it anyway.
The problem is that there are two href lines of code.
The first has been commented out and the second is javascript.
In Firefox it will show two "details..." links, in IE it shows only the one.
If I delete the commented line, Firefox is ok but IE doesn't have any of the region.
Is there a way to fix this so it will work in both browsers?

westonm
05-01-2011, 05:48 PM
OK I am not on firewater this morning - I just tried to remove the commented line again and it worked.

Some times it just doesn't pay to get up in the morning.

Sorry for cluttering up the forum but I guess it is resolved.

edbr
05-02-2011, 01:58 AM
no problem, just posting can sometime make the problem clearer i think