Welcome Guest Search | Active Topics | Sign In | Register

SlideMenu containing MailTo: links Options
Codeaddict7423
Posted: Tuesday, September 4, 2012 11:18:33 AM
Rank: Member
Groups: Member

Joined: 2/20/2012
Posts: 11
Hello,

I am attempting to add a mailto link inside a slide menu.

My code follows:

<eo:SlideMenu ID="SlideMenu_documentcenter" runat="server" Width="250px"
ControlSkinID="None" SlidePaneHeight="150">
<TopGroup>
<Items>
<eo:MenuItem Height="30" LeftIcon-Url="00000506" Text-Html="Mail" Width="250">
<SubMenu>
<Items>
<eo:MenuItem Height="30" LeftIcon-Url="~/images/ac/icons/doc_upload.jpg"
Text-Html="Upload a Document" Width="250">
</eo:MenuItem>
<eo:MenuItem Height="30" LeftIcon-Url="~/images/ac/icons/doc_download.jpg"
Text-Html="Download a Document" Width="250">
</eo:MenuItem>
<eo:MenuItem Height="30" LeftIcon-Url="~/images/ac/icons/icon_askaquestion.jpg"
NavigateUrl=""
OnClickScript="mailto:lehernandez@msn.com?subject=Test Email"
TargetWindow="_blank" Text-Html="Test Email" Width="250">
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="30" LeftIcon-Url="00000503" Text-Html="Calendar"
Width="250">
<SubMenu>
<Items>
<eo:MenuItem Height="30"
LeftIcon-Url="~/images/ac/icons/icon_calendar_cancel.jpg"
Text-Html="Cancel an Appointment" Width="250">
</eo:MenuItem>
<eo:MenuItem LeftIcon-Url="~/images/ac/icons/icon_calendar_reschedule.jpg"
Text-Html="Reschedule an Appointment">
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="30" LeftIcon-Url="00000508" Text-Html="Tasks" Width="250">
<SubMenu>
<Items>
<eo:MenuItem Height="30" LeftIcon-Url="00030418" Text-Html="Simple List"
Width="250">
</eo:MenuItem>
<eo:MenuItem Height="30" LeftIcon-Url="00030418" Text-Html="Detailed List"
Width="250">
</eo:MenuItem>
<eo:MenuItem Height="30" LeftIcon-Url="00030418" Text-Html="Active Tasks"
Width="250">
</eo:MenuItem>
</Items>
</SubMenu>
</eo:MenuItem>
</Items>
</TopGroup>
<LookItems>
<eo:MenuItem ItemID="_TopGroup">
<SubMenu Style-CssText="border-right: #002d96 1px solid; border-top: #002d96 1px solid; font-weight: bold; font-size: 11px; border-left: #002d96 1px solid; cursor: hand; font-family: tahoma">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="31" HoverStyle-CssText="border-bottom: #002d96 1px solid"
Image-ExpandedUrl="00000502" Image-HoverUrl="00000501"
Image-Mode="ItemBackground" Image-Url="00000500" ItemID="_TopLevelItem"
LeftIcon-Padding-Left="6"
NormalStyle-CssText="border-bottom: #002d96 1px solid">
<SubMenu Style-CssText="padding-right: 10px; padding-left: 10px; font-size: 11px; padding-bottom: 2px; padding-top: 2px; border-bottom: #002d96 1px solid; font-family: tahoma">
</SubMenu>
</eo:MenuItem>
<eo:MenuItem Height="20"
HoverStyle-CssText="font-weight: normal; text-decoration: underline"
ItemID="_Default" LeftIcon-Padding-Right="5"
NormalStyle-CssText="font-weight: normal; text-decoration: none">
</eo:MenuItem>
<eo:MenuItem Height="20" ItemID="plain_text" LeftIcon-Padding-Right="5"
NormalStyle-CssText="font-weight: normal;" Text-NoWrap="False">
</eo:MenuItem>
</LookItems>
</eo:SlideMenu>


Any help would be greatly appreciated.
eo_support
Posted: Tuesday, September 4, 2012 12:57:02 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Whatever you pass to OnClickScript must be valid JavaScript code.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.