Hello list!

I have changed my tables.tpl in order to show a hyperlink that a user can click

Here is my Code:

{if !$table->noRowId}<td>{$row->rowId}</td>{/if}
   {foreach name="measurement_fkey" from=$row->cells item=value}
              {if $smarty.foreach.measurement_fkey.first}
       <td>
<a href="http://wssoilution.bosqom.nl/Boorstaat.aspx?width=450&height=250&language=nl&layout=someBPLname&view=single&measurementobjects={$value}&outputtype=jpg&database=BoormanagerV2"; onclick="window.open('http://wssoilution.bosqom.nl/Boorstaat.aspx?width=450&height=250&language=nl&layout=someBPLname&view=single&measurementobjects={$value}&outputtype=jpg&database=BoormanagerV2', '{$value}',
'width=250,height=450,scrollbars=yes,resizable=yes'); return false">{$value}
       </a>
       </td>
          {else}
       <td>{$value}</td>
       {/if}


I cannot debug Internet Explorer, but Internet Explorer fails to create the popup.

When I inspect Firefox with Firebug; I see that some how the a href sequence gets messed up!

the onclick event gets positioned in front of href so the resulting hyperlink is something like <a onclick="" href=""> but I am certain I told the tables.tpl to do <a href="" onclick="">

Help !




--


        

Milo van der Linden
skype: milovanderlinden <skype:milovanderlinden?add>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.3dsite.nl

                

De informatie in dit bericht reflecteert mijn persoonlijke mening en niet die van een bedrijf of instantie. Aan de informatie kunnen geen rechten worden ontleend. Indien dit bericht onderdeel is van een forum, mailing-list of community dan gelden automatisch de bij het betreffende medium behorende voorwaarden. The information in this message reflects my personal opinion and not that of a company or public body. All rights reserved.If this message is contained in a mailing-list or community, the rights on the medium are automatically adapted.

_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to