jacksbackw
Technical User
I have modified the main top navigation visible on all pages of a Sharepoint site. When a user clicks on the link it opens up two email client windows.
Looking at the source code of the page that is rendered it is not only doing a regular "A Href" link, but also an onClick javascript call so that explains why it is opening two windows.
My question is, why in the world is it generating it this way?
Anyone run into this?
Here is the code that it creates
<table style="display: inline; cursor: hand" onclick="window.location = 'mailto:fssnews@turner.com?subject=FSS - Submit a Question'" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle" style="width: 132px;height: 18px;background-image: url(_themes/fssnews/nav_hor_spring.gif)" onmouseover="this.style.backgroundImage='url(_themes/fssnews/nav_hor_over_spring.gif)';" onmouseout="this.style.backgroundImage='url(_themes/fssnews/nav_hor_spring.gif)';">
<div style="width: 132px;overflow: hidden;"><a href="mailto:fssnews@turner.com?subject=FSS - Submit a Question" style="text-decoration: none; font-family: Tahoma;font-size: 10pt;color: #ffffff;font-style: normal;font-weight: normal">Submit a Question</a></div>
</td>
<tr>
</table>
Looking at the source code of the page that is rendered it is not only doing a regular "A Href" link, but also an onClick javascript call so that explains why it is opening two windows.
My question is, why in the world is it generating it this way?
Anyone run into this?
Here is the code that it creates
<table style="display: inline; cursor: hand" onclick="window.location = 'mailto:fssnews@turner.com?subject=FSS - Submit a Question'" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle" style="width: 132px;height: 18px;background-image: url(_themes/fssnews/nav_hor_spring.gif)" onmouseover="this.style.backgroundImage='url(_themes/fssnews/nav_hor_over_spring.gif)';" onmouseout="this.style.backgroundImage='url(_themes/fssnews/nav_hor_spring.gif)';">
<div style="width: 132px;overflow: hidden;"><a href="mailto:fssnews@turner.com?subject=FSS - Submit a Question" style="text-decoration: none; font-family: Tahoma;font-size: 10pt;color: #ffffff;font-style: normal;font-weight: normal">Submit a Question</a></div>
</td>
<tr>
</table>