Webpart Title URL (Change and PopUp When Clicked)

I'm trying to take the hyperlink title of an ExcelWebpart (TitleURL), change it, and upon clicking, making the link open in a dialog OR at least another window without changing the window already open. I found an article that uses jquery,
www+.moresharepoint.net/2014/12/web-part-url-title.html
However, I can't get this to work. One thing is, my webpart resides on a Custom webpart page. Not sure if this makes a difference. I tried putting a Content Editor on the page, placing the code there, but nothing. I tried placing the code directly in the
WebPart page (at the bottom):
</tr>
</table>
(I placed the JS code here)
</asp:Content>
Actual Webpart where I changed the title URL:
<WpNs0:ExcelWebRenderer runat="server" AllowRemove="True" ... TitleURL="pasted my page URL here" ... </WpNs0:ExcelWebRenderer>
BUT, nothing happens.
I tried placing a Content Editor on the page and calling the JS but nothing happens.

Hi,
My code above acts as appending an attribute “targe: _blank” to the <a> tag of the web part title, it will change the open behavior of an <a> link to open
in a new tab.
A possible reason that my code not working in your page is that the HTML structure of your page is different from what it is in my page. This is the web part in my
page and the corresponding HTML source code:
You can check the DOM structure of your web part title using IE Developer Tool to see if the HTML source is similar to mine.
IE Developer Tool
http://msdn.microsoft.com/en-us/library/dd565627(v=vs.85).aspx
If the structure is different, it will require to modify the jQuery selector in my code to make it applied to your page.
More information about
jQuery selectors:
http://api.jquery.com/category/selectors/
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • I updated my Itunes the other day and now, when clicking on the itunes icon, the program does not open?? I have tried uninstalling and reinstalling, resetting the computer, checking permissions, running as adminstrator.. nothing is working?? Help!!

    I updated my Itunes the other day and now, when clicking on the itunes icon, the program does not open?? I have tried uninstalling and reinstalling, resetting the computer, checking permissions, running as adminstrator.. nothing is working?? Help!!

    Amazing steps you've done so far! The great news is this is very unlikely an issue with your iPhone.
    I've run into a similar issue lately as well. I narrowed it down to one song that was causing 30 songs not to sync. I removed the song from the sync list (unchecked it) and all 29 songs were able to sync.
    You may be running into a similar issue. This may be a problem with this version of iTunes, an issue with one song or a group of songs; hard to know for sure. It's important to narrow down and isolate the cause. Most imporantly get that music back on there!
    The way to narrow down the casue add just a few songs at a time (even 1, just to get that first sync finished). Manually syncing is what you'll need here.
    Plug in your iPhone, on the Summary screen (shows a picture of your iPhone, the iOS version, Restore iPhone....; etc). Under the Options area at the bottom choose to Manually Manage Videos and Music then choose Apply in the lower right. The music that's on your iPhone now should be removed from your iPhone now. You're now able to sync music manually.
    The link below explains how to drag the songs from the iTunes library on the computer on to your iPhone which will start the sync. Add just one song just to see if you can get 1 of those hundreds of songs on there. If you can, awesome! Keep adding until you find the song or group of songs that are causing this issue.
    http://support.apple.com/kb/HT1535
    Please let me know how things are going.
    Cheers!

  • Dose the serial number need to be changed and how when selling Adobe Photoshop Elements 9

    Dose the serial number need to be changed and how when selling Adobe Photoshop Elements 9

    No, the serial number goes with the product. You should deactivate all your installed copies before selling it. Also, if you've used it qualify for upgrade pricing on a later version you can't sell it. Well, you could but the new owner won't be able to install it.
    Adobe does have a license transfer document, but not many people bother with it:
    Transfer an Adobe product license

  • How do I stop all the ads and popups when Adblock won't work?

    I've been having trouble with Safari and Google Chrome, but of ads and popups. I downloaded an extension called Adblock, but it hasn't worked for me at all.
    On my Macbook I can easily go on Safari or Google Chrome without any kind of popups, and now that I know, that Adblock doesn't work, doesn't work, I really don't know what to do. I've checked Preferences in Safari and in Security I have checkmarked the first three things saying:
    Warn me when a fraudulent website is visited - checkmarked
    Turn on JavaScript - checkmarked (if I don't checkmark it, I won't be able to check my bank account and stuff like that)
    Block pop-ups - checkmarked
    Please I beg of you, Apple or someone else help me.

    Helpful Links Regarding Malware Problems
    If you are having an immediate problem with ads popping up see The Safe Mac » Adware Removal Guide, AdwareMedic, or Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support.
    Open Safari, select Preferences from the Safari menu. Click on Extensions icon in the toolbar. Disable all Extensions. If this stops your problem, then re-enable them one by one until the problem returns. Now remove that extension as it is causing the problem.
    The following comes from user stevejobsfan0123. I have made minor changes to adapt to this presentation.
    F
    ix Some Browser Pop-ups That Take Over Safari.
    Common pop-ups include a message saying the government has seized your computer and you must pay to have it released (often called "Moneypak"), or a phony message saying that your computer has been infected, and you need to call a tech support number (sometimes claiming to be Apple) to get it resolved. First, understand that these pop-ups are not caused by a virus and your computer has not been affected. This "hijack" is limited to your web browser. Also understand that these messages are scams, so do not pay any money, call the listed number, or provide any personal information. This article will outline the solution to dismiss the pop-up.
    Quit Safari
    Usually, these pop-ups will not go away by either clicking "OK" or "Cancel." Furthermore, several menus in the menu bar may become disabled and show in gray, including the option to quit Safari. You will likely have to force quit Safari. To do this, press Command + option + esc, select Safari, and press Force Quit.
    Relaunch Safari
    If you relaunch Safari, the page will reopen. To prevent this from happening, hold down the 'Shift' key while opening Safari. This will prevent windows from the last time Safari was running from reopening.
    This will not work in all cases. The shift key must be held at the right time, and in some cases, even if done correctly, the window reappears. In these circumstances, after force quitting Safari, turn off Wi-Fi or disconnect Ethernet, depending on how you connect to the Internet. Then relaunch Safari normally. It will try to reload the malicious webpage, but without a connection, it won't be able to. Navigate away from that page by entering a different URL, i.e. www.apple.com, and trying to load it. Now you can reconnect to the Internet, and the page you entered will appear rather than the malicious one.
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
      Mac OS X Snow Leopard and malware detection
      OS X Lion- Protect your Mac from malware
      OS X Mountain Lion- Protect your Mac from malware
      OS X Mavericks- Protect your Mac from malware
      About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using ClamXAV. (Thank you to Thomas Reed for this recommendation.)
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect everything targeting the Mac.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

  • Change window size when clicking link?

    I recently converted a WinHelp project in RH5 that used
    secondary windows and I'm trying to stick with one window in
    HTMLHelp (and still learning a bit).
    In some parts of our app, pressing F1 opens a small window
    (not a popup) with a short description of a feature. There's a link
    at the bottom of the topic that will open a longer overview
    description. When clicking the link, I'd like to use the same
    window, but resize (make it wider) it to accomodate the bigger
    topic. In other words, I want the window to be narrow initially (so
    I don't cover the app) but change size when the link is clicked, so
    I can show the longer text without scrolling multiple pages.
    Do you folks do anything like this?
    Thanks in advance for any help,
    - Tom

    Tom -
    You could always use the ResizeTo function in your larger
    topic, something like this:
    <body onLoad="window.resizeTo(400, 500);">
    Or, something like that....

  • Why does FireFox keep changing the window when clicking on another program??

    I upgraded to FF 8 recently. When I start it and go to, say, Gmail (in window A) then open another browser window (window B) to go to, say, Facebook, if I click on another program such as Live Messenger or even a reduced window of another program the window in FF always changes. I.E., I look at window A while B is open. I click on the message box from Live and the window changes to B. I click on A to get back to that window then click on the Live box again and B pops back up. I can't get it to stay on A no matter how many times I try.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How do I change email client when clicking mailto links?

    I have reformatted my computer about 1 month ago. Everything almost as I had it before. Just 1 thing that is bugging me.
    '''My email client is IncrediMail'''. When clicking mailto links in Internet Explorer, my IncrediMail opens as it should do, but in Firefox (which is my preferred default web browser) it opens another tab, wanting me to sign in to GMail to compose my mail.
    I do have GMail accounts, '''BUT''' I want Firefox to open up my IncrediMail to compose my emails, just like it did before my reformat.
    Any ideas would be gratefully received ;)

    To make Firefox use Incredimail for mailto links, do the following.
    1. find the path to Incredimail on my Windows 7 machine it's:
    "C:\Program Files (x86)\IncrediMail\Bin\IncMail.exe" (you can find this by right clicking on the desktop Incredimail Icon and selecting Properties. Copy this address))
    2. Type about:config into your Firefox location bar and hit enter. If you've never edited used about:config before, you'll see a warning.
    3. Click "I'll be careful, I promise!" This will bring you to the about:config window.
    4. In the filter field type "gecko". Find the entry gecko.handlerService.schemes.mailto.0.name;
    5. Right click and select Modify.
    6. Paste or type the Incredimail path in the field provided "C:\Program Files (x86)\IncrediMail\Bin\IncMail.exe" (the qoutes are required)
    7. Make sure that network.protocol-handler.external.mailto; is set to true.
    That worked for me after many hours of searching and finding answers posted by individuals who wanted to help but didn't have a clue.

  • Popup when clicking on a check box

    Hi All,
    I have created a report which has check boxes for each record. Now I need to do the following.
    1. When clicking on the check box cause a pop up box to appear
    2. This popup box will allow you to enter a date.
    3. The date is then populated into a field linked to that record
    I don't expect a answer but just some hints or links that would help.
    Thanks
    Nahim

    Thanks Pleiadian,
    I'll do that for the date field. I have another scenario as follows:
    1. You have multiple records with 4 check boxes on each record
    2. Each records represents a job.
    3. The check boxes allow you to accept ,reject,start or complete the job.
    4. When selecting "Reject" a pop up box needs to appear to allow the user to enter a rejection reason.
    Could you please give me some idea on how to get this done.
    Thanks for you help
    Nahim

  • Sharepoint 2003 Cannot save change by IE when click Save and Close button to save change on survey item

    I am using Windows 7 SP1(cannot confirm the IE version, suppose IE8).When I tried to edit a survey item, click Save and Close button. Data cannot be saved.No problem with my account or permission since I can change it on another computer.Below action cannot
    fix the problem:clean IE catch, reset IE, reinstall IE, rebuild windows profile.
    error can be seen at the IE status bar
    Erros on this webpage might cause it to work incorrectly
    'length' is null or not an object
    custom_ows.js
    'undefined' is null or not an object
    custom_ows.js
    Code:0
    URI: http://server/_layouts/1033/custom_ows.js

    Mainstream Support for SharePoint 2003 has already ended and it does not list IE8 as a supported browser:
    http://office.microsoft.com/en-us/technet/system-requirements-HA001160515.aspx?pid=CH011719821033
    You can always try to add the site to Compatibility Mode, but there is no guarantee that it will work in this scenario,
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-8
    Dimitri Ayrapetov (MCSE: SharePoint)

  • PDF/URL links continues project when clicked on...

    Hi all
    I have put PDF and URL links into my project. What I want is for the user to click on these and read what comes up, then close either the PDF or URL link then go back into the project and click onto the next slide when ready.
    At the moment, once one of the links has been clicked on either the PDF or URL opens up but the project continues onto the next slide, which is not what I want.
    I'm sure there is a way to change this but I cannot see the setting.
    Any help would be greatly appreciated.
    Cheers

    Hi there
    The options you mention are for when the presentation is presented from inside a frameset. The option you are interested in is the "Continue" option. You need to clear that option to keep the slide from continuing when the object is clicked.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Changing browser default when clicking on a link

    Hi,
    I'm wondering if it is possible to change the browser mail opens when you click on a link in an email from Safari to Firefox?
    Failing that is it possible to get Safari to resume a download from where it left off?
    I'm trying to download a large file from relayit.com and Safari keeps timing out when it's 95% done. Then when I try get the rest, it starts the 4 hour download again from scratch!
    Very frustrating!
    Thanks in advance for any help!
    L

    Yes, that's possible, but you'll have to install a Contextual Menu item first, which would then show up as an option in your Services menu. First, you need to download and install WordService near the bottom of this page. At the same time, you should download and install >a href="http://www.manytricks.com/servicescrubber/">ServiceScrubber to control which Services you see, as there are many which you may not need or use.
    Installing WordService will give you the ability to Control-click on a link and open it in Camino or Opera (I don't know why Firefox is not included).
    Resuming downloads from the point they left off is a server-enabled function; if the web administrator hasn't enabled that feature, it won't work. You should be able to Get Info on the portion of the file you do get and look in the Spotlight Comments filed for the actual URL it came from, then copy and paste that into the Download window of another browser (you will not see the paste, the download should just start).
    Mulder

  • How can I stop redirect and jumping when clicking on a link in Google search or on a web page?

    When I click on a link in Google (or other) search, or a button within a page, too often, at least half the time my request is REDIRECTED and JUMPS to another unwanted page!
    == This happened ==
    Every time Firefox opened
    == after attempting to clean the computer a few times

    Thank you, Weather15.
    I have cleaned my computer a few times since first noticing it, both with Spybot - Search & Destroy and CCleaner. Also have
    the latest version of AVG 9.0 Free checking for problems as I search.
    I am about to clean again though to see if it makes a difference.
    Had to do some updating a few days ago and haven't cleaned since then. Thanks again. Will let you know if this handles it!

  • Many pages with blue titles/topics don't open when clicked

    When I click the blue words titles on my company site, it doesn't open I only see a blank page. what isn't working?

    As mentioned, you need to use Acrobat to attach files to a PDF.
    The Attachment Panel in Acrobat is kinda buried, the screen capture below shows how to activate the Attachment tool to the Navigation Panel
    Then you can select tool, select paper clip icon to add files (not a folder). Attached files are included with the master PDF.

  • Copied an existing Oracle 6i Form and made change and problems when compiling.

    I copied an existing Oracle 6i Form and made numerous changes to the form. The biggest change I made was taking on of the existing data blocks and I renamed it and also removed some of the items within the data block. After the additional changes to the form to make it look like I wanted it to, I tried to compile the form.
    When trying to compile the form I received an error that it could not resolve item reference. The item it is talking about was one within the data block that we renamed and hence after renaming the data block we removed this item.
    I have check via search for sql and plsql code to see if I could find this item it was referencing, no luck.
    Does anyone have and idea of where this item may exist so we can remove it.
    Please let me know.

    Could it be one of the properties on another item that is referencing the missing item? e.g. the Synchronize with Item property.
    Save your form to a text file and do a text search.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • MessageChoice with Code and Description When Clicked

    Hi all,
    I have some question regards messageChoice. Below is my code for messageChoice:-
    <messageChoice name="drlBfSetA" prompt="" styleClass="DropDownSmall" selectedValue="${sessionScope.drlBfSetA}">
    <contents childData="${sessionScope.mcsettypeaBf}">
    <option value="${uix.current.menuId}" text="${uix.current.menuCode}"/>
    </contents>
    </messageChoice>
    Currently my messageChoice working find with value menuId and the text show for menuCode. What my question is:-
    Example:-
    The messageChoice text show as below when I click the messageChoice :-
    menuCode
    MenuA
    MenuB
    MenuC
    However MenuA does make any sense to my user, When my user click the messageChoice I want the messageChoice show as below:-
    menuCode menuDesp
    MenuA Chicken with Pizza
    MenuB Chicken with Onion
    MenuC Chicken with Vege
    I just want to show the Menu Description when the user Click the messageChoice. After selected the messageChoice then it show MenuCode to the user in screen.
    However messageChoice just provide me text for show only my menuCode on screen when user click the messageChoice
    It is possible I do that? I hear Uix is possible to do that. Please advise. Thanks in advance.
    My JDev Version as below:-
    Oracle IDE     10.1.2.17.84
    Business Components Version     10.1.2.17.96
    UML Modelers Version     10.1.2.16.71
    Versioning Support     10.1.2.16.71
    WebDAV Support Version     10.1.2.16.71
    Struts Modeler Version     10.1.2.6.15
    Designer Generators Framework     10.1.2.7.56
    ADF UIX     2.2.16
    java.version     1.4.2_04
    java.home     C:\Jdev1012\jdk\jre
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     1.4.2_04-b05
    user.language     en
    user.region     <no value assigned>
    user.name     Administrator
    user.home     C:\Documents and Settings\Administrator
    user.dir     C:\Jdev1012\jdev\bin
    os.name     Windows XP
    os.version     5.1
    os.arch     x86
    http.proxyHost     <no value assigned>
    http.proxyPort     <no value assigned>
    http.nonProxyHosts     <no value assigned>
    ide.patches

    Anyone have any idea or recommendation... I really need advise from expert. Thanks

Maybe you are looking for

  • XML validation against schema in XSD format

    I have a requirement for validation of XML file against XML schema(XSD format). Using IXML liabrary I know how to validate XML file against schema in DTD format. But i am not getting how to do it against XSD. Is it possible using IXML liabrary? Also

  • Sector unreadabe error

    Hi chaps, I am having a real problem here and really don't know what more I can do I have a video ts folder built in DVDSP, I've tried several versions of Toast I've tried burning to my iMac internal ... drive and an external Sony writer, three diffe

  • "Shadow" around Canvas in PS CS5 and how to remove it?

    Hi everybody, forgive me if this was answered before, I did a search but did not find anything relevant ... I upgraded to PS CS5 recently and there seems to be a new "Feature" of a sort of shadow around every page/canvas. Maybe the correct term would

  • Problem with ODBC 11g

    Hello, we work with a small Database Solution (MS Access 2003) with several linked Oracle-Tables. In the past we used the Oracle ODBC Driver 9.2 and everything worked well. Now we got the first machine with Windows 7 and Oracle ODBC 11g. When we now

  • J2EE Error while buildind examples

    I am trying to test web service with JAX-RPC. I started with building the helloservice but when I was trying to sun asant build command at the Prompt window there is an error. BUILD FAILED file:C:/Sun/j2eetutorial14/examples/jaxrpc/common/targets.xml