Email This Page Link

I'm using the JavaScript code below for creating an "Email
This Page" link,
but it doesn't work for a dynamic page that has more than one
variable. For
example, if the URL is
http://www.thispage.com/page.asp?id=123&color=red
it
does not grab the whole URL. It only captures
http://www.thispage.com/page.asp?id=123
in the email (leaving out color).
How can I get the email link to capture the entire URL for a
dynamic page
instead of cutting it off at the "&"?
<script language="JavaScript" type="text/javascript">
<!--
document.write("<a
href=\"mailto:?subject=SUBJECT&body=");
document.write(window.location);
document.write("\">Email This Page</a>");
//--></script>
Brandon
http://www.presentationsdirect.com

Just found an article called
ASP:
How to Get the Current Page URL
If this works, you´d probably just have to replace the
current
document.write(window.location);
with
document.write(' <% response.write(curPageURL() & "?"
& Request.ServerVariables("QUERY_STRING")) %> ');
using the function that´s explained in the article.
Works ?

Similar Messages

  • Override "Email a Page link" in ribbon button functionality in SharePoint 2013

    Hi,
    I want to override "Email a Page link" ribbon button functionality on the ribbon control.
      <CustomAction Id="Ribbon.WikiPageTab.Share.EmailPageLink"
                    Location="CommandUI.Ribbon"                
                    Title="Custom Email this page">
        <CommandUIExtension>
          <CommandUIDefinitions>
            <CommandUIDefinition Location="Ribbon.WikiPageTab.Share.EmailPageLink">
              <Group
              Id="Ribbon.WikiPageTab.Share"
              Sequence="30"
              Command="ShareGroup"
              Description=""
              Title="$Resources:core,cui_GrpShare;"
              Image32by32Popup="/_layouts/15/$Resources:core,Language;/images/formatmap32x32.png?rev=23" Image32by32PopupTop="-137" Image32by32PopupLeft="-103"
              Template="Ribbon.Templates.Flexible2"
              >
                <Controls Id="Ribbon.WikiPageTab.Share.Controls">
                  <Button
                    Id="Ribbon.WikiPageTab.Share.EmailPageLink"
                    Sequence="10"
                    Command="CustomEmailPageUrl"
                    Image16by16="/_layouts/15/$Resources:core,Language;/images/formatmap16x16.png?rev=23" Image16by16Top="-115" Image16by16Left="-19"
                    Image32by32="/_layouts/15/$Resources:core,Language;/images/formatmap32x32.png?rev=23" Image32by32Top="-137" Image32by32Left="-511"
                    LabelText="$Resources:core,cui_ButEmailLink;"
                    ToolTipTitle="$Resources:core,cui_ButEmailLink;"
                    ToolTipDescription="$Resources:core,cui_STT_ButEmailLinkPage;"
                    TemplateAlias="o1"
                   />
                </Controls>
                  </Group>
            </CommandUIDefinition>
          </CommandUIDefinitions>
          <CommandUIHandlers>
            <CommandUIHandler Command="CustomEmailPageUrl" CommandAction="javascript:alert('Hello, world');" />
          </CommandUIHandlers>
        </CommandUIExtension>
      </CustomAction>
    Any help would be appreciated.
    Rajasekar A.C

    Hi,
    According to your post, my understanding is that you wanted to override the “E-mail a Link” button on the Ribbon.
    I had created a simple demo to override the “E-mail a Link” button on the Ribbon, you can have a look at it.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="Ribbon.Library.Actions.OverrideEmailLinkButton" Location="CommandUI.Ribbon" RegistrationId="101" RegistrationType="List" Title="Display the UniqueId for the list item.">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Library.Share.EmailLibraryLink">
    <Button Id="Ribbon.Library.Share.EmailLibraryLink.ReplacementButton" Command="ReplacementButtonCommand" Image16by16="http://s10.postimage.org/lhar0oijp/U16.png" Image32by32="http://s17.postimage.org/trf3y2ui3/U32.png" LabelText="Replaced Button" TemplateAlias="o2" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="ReplacementButtonCommand" CommandAction="javascript:alert('This button has been replaced.');" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    More reference:http://msdn.microsoft.com/en-us/library/office/ff407619(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • "About this page" link not shown in notification page

    Hi,
    I have a notification page. But I am unable to see 'about this page' link on this page.
    I have already set the profile options i.e.FND Diagnostics, Personalize Self Service Definitions on oaf page on site level and I can see the relevant links in normal OAF page but can not find 'about this page' or 'Personalize' link in notification page.
    I have to find the table name of some field in notification page.
    Please help. its very urgent.
    Thanks
    Amit

    which responsibility ? I dont think Email Center is in OA, this link would only be available for OA pages and not on pages based on other tech stacks.
    Thanks
    Tapash

  • Does Safari's email this page feature work with opening gmail in the browser and not in Mail?

    I use gmail, not mail, as my default email client. When I decided to give the "email this page" feature a try, it only opens up a new gmail compose window/tab in safari but doesn't actually include the link to whatever page I wanted to send. Is this the correct behavior? Is there anyway to go about getting this to work? Any help is appreciated. Thank you.

    I have the exact same question.

  • Safari's Email This Page doesn't launch Mail in Mavericks

    Since upgrading to Mavericks, Safari's "Share | Email This Page" no longer opens Mail if it's not already running. All I get when I try is a system beep. I have to first open Mail in order to send the page link.
    Under ML, Mail didn't have to be open first - it just brought up the new message window and started Mail in the background.
    Is this happening for anyone else?

    thank you for replying Itrebing. Yess, you are right, however it is what RossRicky is writing about above, and there is no 'message' as you to kindly took the time to inquire about.
    I just did what Linc Davis suggested by starting up in safe mode...thank you for posting this Linc.
    I did not disconnet my external Hard Drives, or any of my periphierals (scanner which was not on, printer which was not on, headphones in case that matters...
    Linc, oh ye of 97K points (amazing)...
    RESULTS OF TEST;
    you are so right, I did not have the problem in Safe Mode. I sent an email to myself, and the images all looked fine when I recivied the email. (sending a web page via Safari: Share , Email this page)
    What now? How do I know what is causing it in regualar mode? As it is still happening in regular start up mode. See list of login items, and etrecheck report below.
    Was not having this problem w the previous system, Snow Leopard. only since mavericks. Of course safari was a different version then too.
    What do you think?
    Really appreciate you alls help.
    Warmly,
    Hope
    Linc Davis wrote:
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches.
    These are my startup items:
    Here is a printout from EtreCheck of my system if useful:
    Hardware Information:
              iMac (27-inch, Mid 2011)
              iMac - model: iMac12,2
              1 3.4 GHz Intel Core i7 CPU: 4 cores
              16 GB RAM
    Video Information:
              AMD Radeon HD 6970M - VRAM: 2048 MB
    System Software:
              OS X 10.9.1 (13B42) - Uptime: 0 days 0:19:45
    Disk Information:
              ST32000541AS disk0 : (2 TB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 2 TB (1.88 TB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              OPTIARC DVD RW AD-5680H 
    USB Information:
              Apple, Inc. Keyboard Hub
                        Mitsumi Electric Apple Optical USB Mouse
                        Apple, Inc Apple Keyboard
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. FaceTime HD Camera (Built-in)
              Canon CanoScan
              Apple Computer, Inc. IR Receiver
              Apple Internal Memory Card Reader
    FireWire Information:
              LaCie d2 quadra (button) 800mbit - 800mbit max
                        disk1s1 (disk1s1) <not mounted>: 32 KB
                        LaCie 2 (disk1s3) /Volumes/LaCie 2: 1 TB (371.91 GB free)
              LaCie d2 quadra (button) 800mbit - 800mbit max
                        disk2s1 (disk2s1) <not mounted>: 32 KB
                        LaCie 1 (disk2s3) /Volumes/LaCie 1: 1 TB (371.03 GB free)
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              com.Cycling74.driver.Soundflower          (1.5.2)
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist 3rd-Party support link
              [loaded] com.adobe.SwitchBoard.plist 3rd-Party support link
              [loaded] com.google.keystone.daemon.plist 3rd-Party support link
              [loaded] com.oracle.java.Helper-Tool.plist 3rd-Party support link
    Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
              [loaded] com.divx.dms.agent.plist 3rd-Party support link
              [loaded] com.divx.update.agent.plist 3rd-Party support link
              [loaded] com.google.keystone.agent.plist 3rd-Party support link
              [loaded] com.oracle.java.Java-Updater.plist 3rd-Party support link
    User Launch Agents:
              [loaded] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
              [loaded] com.redgiantsoftware.updater.plist 3rd-Party support link
    User Login Items:
              Octoshape
              AdobeResourceSynchronizer
              SpeechSynthesisServer
              CNQL1208_ButtonManager
    Internet Plug-ins:
              o1dbrowserplugin: Version: 4.9.1.16010 3rd-Party support link
              Google Earth Web Plug-in: Version: 7.1 3rd-Party support link
              Default Browser: Version: 537 - SDK 10.9
              Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 3rd-Party support link
              OfficeLiveBrowserPlugin: Version: 12.3.6 3rd-Party support link
              OVSHelper: Version: 1.1 3rd-Party support link
              AdobePDFViewerNPAPI: Version: 10.1.4 3rd-Party support link
              FlashPlayer-10.6: Version: 12.0.0.38 - SDK 10.6 3rd-Party support link
              DivX Web Player: Version: 3.1.0.13 - SDK 10.5 3rd-Party support link
              RealPlayer Plugin: Version: (null) 3rd-Party support link
              Flash Player: Version: 12.0.0.38 - SDK 10.6 3rd-Party support link
              iPhotoPhotocast: Version: 7.0 - SDK 10.8
              googletalkbrowserplugin: Version: 4.9.1.16010 3rd-Party support link
              npgtpo3dautoplugin: Version: 0.1.44.29 - SDK 10.5 3rd-Party support link
              AdobePDFViewer: Version: 10.1.4 3rd-Party support link
              QuickTime Plugin: Version: 7.7.3
              Silverlight: Version: 5.1.20913.0 - SDK 10.6 3rd-Party support link
              JavaAppletPlugin: Version: Java 7 Update 51 3rd-Party support link
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    User Internet Plug-ins:
              OctoshapeWeb: Version: 1.0 - SDK 10.8 3rd-Party support link
    3rd Party Preference Panes:
              Flash Player  3rd-Party support link
              Flip4Mac WMV  3rd-Party support link
              Java  3rd-Party support link
              Perian  3rd-Party support link
    Bad Fonts:
              None
    Old Applications:
              Wondershare Helper Compact:          Version: 2.2.6.4 - SDK 10.5 3rd-Party support link
                        /Users/checker/Library/Application Support/Helper/Wondershare Helper Compact.app
              Microsoft AutoUpdate:          Version: 2.3.6 - SDK 10.4 3rd-Party support link
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
              /Library/Application Support/Microsoft/MERP2.0
                        Microsoft Error Reporting:          Version: 2.2.9 - SDK 10.4 3rd-Party support link
                        Microsoft Ship Asserts:          Version: 1.1.4 - SDK 10.4 3rd-Party support link
              SLLauncher:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
              DivX Converter:          Version: 10.1.0 (Build 10.1.0.166) - SDK 10.5 3rd-Party support link
              DivX Player:          Version: 10.1.0 (Build 11.3.0.40) - SDK 10.5 3rd-Party support link
              /Library/Application Support/DivX
                        DivXUpdate:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        DivXMediaServer:          Version: 10.1 - SDK 10.5 3rd-Party support link
                        DivXTransferWizard:          Version: 10.1.0 (Build 10.1.0.102) - SDK 10.5 3rd-Party support link
                        DMSLaunch:          Version: 1.0 - SDK 10.5 3rd-Party support link
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                   3%          WindowServer
                   1%          Google Chrome
                   1%          EtreCheck
                   0%          SystemUIServer
                   0%          dpd
    Top Processes by Memory:
              1016 MB          com.apple.SpeechRecognitionCore.speechrecognitiond
              229 MB          mds_stores
              164 MB          com.apple.IconServicesAgent
              131 MB          Google Chrome
              131 MB          Mail
    Virtual Memory Information:
              9.42 GB          Free RAM
              3.77 GB          Active RAM
              1.53 GB          Inactive RAM
              1.27 GB          Wired RAM
              389 MB          Page-ins
              0 B          Page-outs

  • Is there a way to create a "Print This Page" link?

    I have a client who want to insert a print this page link that launches their print utility. Is this possible with Muse?

    This is not a function of Muse. You'll need to use the 'insert arbitrary HTML' function to add this.
    Here's where to get the javascript to insert.
    Beware that Muse only produces a generic stylesheet and does not define its specific media type. That means that printing a Muse-generated web page or rendering a Muse website on a mobile device can be extremely messy.  Elements may fall off of a page or may be sized oddly. The Muse showcase shows how the Horace and Lydia site falls apart in print. Elements appear broken and blank pages result.
    Muse developers need to employ semantic markup so that users can design stylesheets for different media types. This topic is related to the frequent requests that Muse should be able to design for mobile devices. Muse just isn't smart enough to do what a professional designer would want.

  • How do I add a print this page link? Here is what I've done so far...

    I have tried this code:
    // Print current page silently
    print({bUI : false, nStart : pageNum, nEnd : pageNum});
    which works from the bookmark column. However, when I try to apply it (set link) within a document, it doesn't work.  My clients really want to be able to add a "print this page" link on every page (fun)... so your help is appreciated. Cheers.

    I was just coming back to here to say I've figured it out and am using an invisible button (over text that was created to look like a link) on each page... tested and working (when combined with the code). Thank you for your replies!

  • Nothing happens when I hit Safari File/Share/Email this Page.

    The other available options under 'Share' work, however, File/Share/Email this Page yields no response.  Does anyone have any suggestions? Thanks!

    From the Mail menu bar, select
    Mail ▹ Preferences ▹ General ▹ Default email reader: Mail

  • Safari's "Email this page" keyboard shortcut opens second Mail.app

    Hello,
    First of all, neither the Safari toolbar button nor the File > Share > Email this page work at all. Both do nothing. Quitting Safari & Mail has no effect.
    HOWEVER
    The keyboard shortcut (command + shift + I) does work, but it opens another instance of Mail.app. There is only one version on my mac.
    Any thoughts on that? I can't seem to find anybody else with such wierd behavior.

    Try resetting the LaunchServices database.
    Back up all data if you haven’t already done so. Before proceeding, you must be sure you can restore your system to the state it’s in now.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Copy or drag — don't type — the text below into the Terminal window:
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain user
    That's all one line, though it will scroll on this page. Triple-click anywhere in the text to select it all.
    Press return. Log out, then log back in.

  • Profile option to be set to view About this page link

    Hi All,
    I am working in OAF 5.7h.Kan anyone tell me da name of the profile option that needs to be set for being able to view the About this page link in the footer of all pages.
    thanks in advance

    Probably the page you are looking at is a JSP page and not a OAF page which explains why you are not getting the link. Could you please provide the URL you see when you are on the page.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to enable all details on about this page link

    Hi All experts,
    Could any one help me out how to enable all details (like which view object, Application module and Controller associate with fields.) on the about this page link.
    My problem is I am not able to see any details on about this page link wail clicking on this link due to they created a custom responsibility and they mapped the ceded menus and functions.
    Thanks in advance
    Best regards,
    Ksv

    Thanks for your reply,
    But we are not able to see any links/tabs/details also.
    just we are able to see the page path only.
    regards,
    prasad

  • Safari 6: Email this page, no page title as subject?

    In all my other browsers, choosing "email link to this page" creates an email in my default mail program (Outlook 2011) with the page title as a subject line and the link to the page in the body of the email.
    Safari 6 on 10.8, however, gives the link but no page title.  Most times I want to send the title.  Why the omission, and is there any easy work-around?

    That does as I described above, opens the email with the link -- but no title.  My question is about why no title.

  • About this page link not appearing

    Hi
    I have set the FND:diagnostics profile to Yes and yet I am not seeing the About the page link.
    The oa fwk version is 5.7.H.V6 .
    In case this feature was not available for this version , is there any other way to check the page details.
    Thanks
    Satish

    This feature was not available in the version you mention, there is a discussion on this in the forum.
    Thanks
    Tapash

  • How I can have a "email this page" in iWeb?

    Is it to difficult to have this option in iWeb Blog?
    Because visitors ar asking me for this.
    They want to recommend my blog to other but in the easiest way possible.
    Thank you for your help

    Hi, you don't have to put a link on your page. Safari has this function for you. Got to File--> Mail Link To this Page (shortcut is Shift COmmand I) and it will e-mail the link.

  • What happened to the "bookmark this page" link on the right-click menu?

    I used to right-click most anywhere on a webpage and the option to choose any bkmrk folder, or create a new subfolder. There was no message stating "page bookmarked"; I would select where I wanted to file the bkmrk and the bkmrk would be there. Simple concept. worked well. Was efficient bcs you never had to reorient to any other part of the screen, or at least not the periphery. R-click --> "bookmark this page" menu appears as if it were a context menu. I just downloaded and installed FF 32.0.2. The
    r-click feature I speak of disappeared with the upgrade just before this one.

    Thanks. I think I clicked on that somewhere in the proceedings, but maybe not. i agree with several other posters, though; a lot of changes generally do not seem necessary or to significantly improve anything. However I am a psychologist, not an IT pro and maybe I just don't understand.
    What was wrong with it the way it was, I wonder....
    Thanks again. I won't lose any sleep over it.

Maybe you are looking for

  • Exception in thread "main" dbca OEL 4.7

    Hallo!I am a newbie in Oracle 10g having installed Oracle 10g in Oracle Enterprise Linux version 4 update 7. While installing Oracle 10g (I installed it on my Laptop the server and not remotely),I configured xhost + display parameters via the command

  • How to install SSL certificate on Mac OS X 10.8.3 Server 2.2

    Hi, In eairler versions of !0.8 / OS X Server 2.2 your where able to install a purchased SSl certificate in the Hardware >> Profile Manager Server >> Settings >> SSL Certificate Edit I've just done a clean install of 10.8.3 and OS X Server 2.2 but th

  • Multiple document types per Network in Purchase Requisition stage

    Hi, PRs get created automatically whenever we attach the material component to an activity.Required Document type of PRs are maintained in transaction 'OPTT'. My Client is using three document types for Imports, Material Procurement & Services Procur

  • Flash player wont instal

    I have IE 6, FireFox and Opera browsers installed, flash works in them all except Internet Explorer. I've uninstalled the flash player and reinstalled but it still wont work on IE... any thoughts?

  • Looking for filters for Pixel Bender CS4 32 bit OS

    I just downloaded and installed Pixel Bender as I am hoping to get something similar to 'oil painting". Looking for filters for Pixel Bender for:                                                        CS4 32 bit OS. Is there any out there?