Create real html link
I have seen some post include a working HTML link instead of a URL. You know they have somehow inserted:
<a HREF="..."> friendly words</a>
in the text.
Try here:
pointer to this forum
How is this done? Is it preferred?
EDIT: Seems like you just insert the html. Didn't work for me before, but seems to now.
Robert
Hi Robert!
And for more HTML tricks, check this out How Can I Format My Post, authored by Joerg Weise.
You may also find the info here How To Create A Link To A Post Within a Thread, useful.
Have Fun!
ali b
Similar Messages
-
Is it possible to create an HTML link?
I made a post earlier asking for a method to edit an existing PDF document and create a UNC link. The post had several views but nobody responded saying if it was or was not possible to do such a thing using Acrobat SDK.
I thought perhaps if I simplified the requirement a little by changing the link type to an HTML link that might get a better response.
Example of what I need to do:
We the people
needs to be changed to:
I am people
This is certainly doable when using Acrobat 9. It puts a visible rectangle around the string. Which would work as well, if there is a way to do it using the SDK.
Thanks in advance.Dear Cheema,
Hope this helps u...its a C++ code to retrieve the Annot..
AVDoc avDoc = AVAppGetActiveDoc();
PDDoc pdd = AVDocGetPDDoc (avDoc);
Int32 nNumPages;
Int32 nError;
register Int32 i;
if (linkProc == NULL) {ASRaise(GenError(genErrBadParm));
nError = 0;
DURING
nNumPages = PDDocGetNumPages(pdd);
if (nStartPage < 0 || nEndPage > nNumPages)E_RTRN_VOID;
/* Loop over each requested page. */
for (i = nStartPage; i <= nEndPage; i++){PDPage pdp = PDDocAcquirePage(pdd, i);
Int32 nNumAnnots;
register Int32 j;
char cURI[MAX_URI_SIZE];PDAction pdac;
/* Loop over all annotations on the page. */
nNumAnnots = PDPageGetNumAnnots(pdp);
for (j = 0; j < nNumAnnots; j++){
/* Get the annotation and check to see if it's a link. */
PDAnnot pdan;
pdan = PDPageGetAnnot(pdp, j);
if (!PDAnnotIsValid(pdan) || PDAnnotGetSubtype(pdan)!= ASAtomFromString(
"Link"))
continue;
Regard's
Amith Sai -
How to create an HTML link into Text
How is it possible to fire a new browser window or tab from a piece of text that should be a link to a webpage ?
Thanks in advance for your help.
DDAOK
I found the AppletStageExtension (in javafx.stage) and its showDocument (url,target) function.
Perfectly working.
DDA -
How to creat a password for a HTML link ?
Hello,dear all,
This question may not be closely related to Java,but I hope to get some help.
I created an HTML link in the webpage, but I only want the people who has the password to access it. Say when a person click that link, a dialog box pop up requiring for your password.
How should I implement it? using JavaScript ?
Any help are greatly appreciated.
KevinThere's a very simple and very nasty way of restricting access to pages. Put them in a folder named after the password. Your javascript can then just do something like:
document.location.href = document.loginForm.pword.value + "/index.html";It's a mess and obviously requires that your parent directory can't be browsed. But, it's about as good as it gets with Javascript and requires zero effort.
If you're serious about security then I'd look at something other than Javascript (as suggested above). -
Creation of html link in oracle workflow
Hi all,
How to create a html link in workflow notification ?
thanks
NewbieIf you have different databases on same node you could choose to not set ORACLE_SID in shell init file but use instead interactive oraenv Oracle script to set the right ORACLE_SID.
Please read Configuring the Operating System Environment Variables in http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/em_manage.htm#ADMQS12369
To create easily a database (ie without using your own scripts) try to use DBCA that will automatically take care of database initialization file: http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/install.htm#BABEIAID
Edited by: P. Forstmann on 5 août 2011 12:01 -
I am reasonably new to Flash and would like to know if I can
create a html link to a cue point in a flash video file or to a
particular frame in a normal swf file. If so, what is the correct
syntax?Ok, I seemed to have succesfully linked to the cuepoints
using, for example, the code below.
[CODE]
programsa.addEventListener(MouseEvent.CLICK,programsaClick);
function programsaClick(event:MouseEvent):void {
movie1.seekToNavCuePoint("Programs");
[/CODE]
However, now I have another issue. The FLV is on frame 2 and
I want to navigate to it using buttons on frame 1. However when I
try the following:
[CODE]
programsa.addEventListener(MouseEvent.CLICK,programsaClick);
function programsaClick(event:MouseEvent):void {
gotoAndStop("movie");
movie1.seekToNavCuePoint("Programs");
[/CODE]
I get the error:
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
at videobig_fla::MainTimeline/programsClick()
So, how can I tell a button to go to a cuepoint for a movie
that's on a different frame? -
HTML link in column ... Need Help!!!!!
I need to use a column in my viewobject to create an html link to an external resource on another server, a simple webpage. I've used the RowImpl for my view object to build the HREF but when the rows are rendered the link is fully escaped and isn't a working link. I need to have this link enabled by 2pm today and I'm totally "stuck on stupid" trying to get it to work. Any help, and fast, would be hugely appreciated!
Thanks!!
scottIs your RowImpl building just an URL, or is it building
the full bit of HTML, like "<a href='....'>some text</a>"?
If it's just building just an URL, you want to use
something like:
<link text="Whatever text you need">
<boundAttribute name="destination">
<bc4j:attrValue name="hrefAttr"/>
</boundAttribute>
</link>If your VO is building the whole bit of HTML, then
go with <formattedText>:
<formattedText>
<boundAttribute name="text">
<bc4j:attrValue name="hrefAttr"/>
</boundAttribute>
</formattedText>If your HTML is really funky (or you're using JDev
9.0.2), you may need to substitute <rawText>
for <formattedText>.
In both of these cases, the snippet of code belongs
inside the right <bc4j:viewObjectScope>, and the
"name" on that <bc4j:attrValue> is the attribute in
your row that contains the href you're generating. -
Is there a way to create an html link in one of the columns
of a datagrid?Here is a full example. Note that it uses a custom event, but
that is not really necessary. Instead, you can make a public
property in the renderer that contains the data you need, then
access that property in the result handler, via the "target"
event.property.
http://www.cflex.net/showFileDetails.cfm?ObjectID=595
Tracy -
Hi
How can i create a HTML Link in a label??
I would like that the standard browser open with this link.
I know that i can add a html text to the label. but how make i realise the action when i click at the link.
matthiasHallo!
Have you solved your problem? I have this problem in my program, too. -
Hya,
How can create a HTML link in Java GUI, for example in a JLabel?
thanks inadvanceI'm not quite sure but i think if you add addHyperlinkListener to the jlable it will be seen as a link.
Have a look at this code example:
try {
String url = "http://www.google.com";
JEditorPane editorPane = new JEditorPane(url);
editorPane.setEditable(false);
editorPane.addHyperlinkListener(new MyHyperlinkListener());
} catch (IOException e) {
class MyHyperlinkListener implements HyperlinkListener {
public void hyperlinkUpdate(HyperlinkEvent evt) {
if (evt.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
JEditorPane pane = (JEditorPane)evt.getSource();
try {
// Show the new page in the editor pane.
pane.setPage(evt.getURL());
} catch (IOException e) {
} -
HTML LINK on documentation in a Specific Program in se38
Hello all,
I have a problem for create an HTML link in a documentation of my specific program in se38.
For do my documentation of my specific program i go se38>select documentation and do modify. I wan't to know how can i do for make a HTML Link for example (www.google.fr) ...
Thanks a lot.
Edited by: Emilien P. on Mar 19, 2010 4:11 PMThe only way I know of is to use a JavaScript action with a link/button that uses the app.launcURL method where bNewFrame is set to true: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.150.html
-
Adding HTML link to buy subscription from article
Hi,
Is it possible to create a HTML link from a button or some text in an article which invokes the buy subscription popup box?
On the main page for the viewer that shows the individual issues you can click to buy one issue or click a banner across the top to buy a subscription.
Once this is clicked a popup box is displayed which shows the different pricing levels.
Is there anyway to start this subscription purchasing from within an article?
ThanksHi Bob,
I would like to link the subscription options out of an article. I don't think it will work with the goto links or am I wrong? I've seen this in the digital Esquire (see image attached).
Best,
Jens -
* You changed the page that comes up after a crash - the one which shows the windows and pages that were up before the
crash.
This used to be a real HTML page and it isn't any more. THis choice was pure isiocy consider how peopel used that page every day (try taking to your users for a change).
The pages listed on that 'post crash page' used to be actual LINKS (you could right click them &
manually open them in another tab - and most peope DID that every day). You could also (and I did this a lot) drag a second
copy of the page, into a new tab (to keep track of all the pages I had not wanted to open)
Now the pages are no longer links. You cannot right-click them.
The thing in the probser is no longer a page that I can drag into a new tab.
Roll the version back and throw this one in the bin...and have a good long talk with your developers about the definition of
'STUPIDITIY'
Then I try to type anything in the addres bar it is suppose to repoond with the history of old things I have types in the past, or
search for what I type (and in some cases I think it tyes to convert it intoa URL). However it no longer does any of these
things. When I type in the ADDRESS BAR ONLY, I do not get all of my letters to appear. I have to type into a notepad or
into the search and to copy and paste to go to a URL. Nothing that is typed into the address bad responds normally at all
anymore, and I am fairly certain there are no new addons on this machine at all. It does not matter which things I disable. It
still does this. W of course points the finger back at a change to FIREFOX. I wich I could just sitct with one stable release
forever but the MOZILLA folk thing it is best to force peopel awy from a working broswer release to a horrible one (due to it
being out of date).
FIREFOX 26.0 has 'issues' (ie new *features*/bugs)
1) History is no longer accurate. My Proof? This machine is the primary one for the entire family (the only PC working). It is
logged in with same user every time and never has its history cleared. It now January 7 so I ought to have a list of all of last
months browing available to me.
However, according to FIREFOX history, in all of December 2013, the entire family only went to 51 primary URL's. None of
the official TV sites I use to get episodes are listed. None of the official movie sites I use are listed. The primary URL for
ebay is not listed. Only 1 out of our 4 weather sites that I use (at least once a week) are listed. Only 1 of our 3 FINANCE
sites is listed. There ought to be several; hundred root URLs listed.
Please fix history as this change seriously "blows greasy chunks"
PROBLEM (a stupid change in the new FIREFOX version)
FOr a long time, after a crash you got a useful page (a real HTML page) which gave you a list of all of your last sessions
'winwos and tabs' that were open when the browser crashed. there were certain ways of using this page that are no longer
able to be done.
The old method was wonderful as it had this behavior :
*** The old method for displaying your 'Recovered Tabs' allowed you to :
a) right click an individual item and open it in a tab without getting rid of that lovely window of your previous session of
'recovered windows and tabs '.
2) drag the URL for the entire window of 'recovered windows and tabs ' to a new tab (to make a second copy) so that you
could select just a few of them to open as a group, and stil have the old list handy.
You can no longer do either of these things. The 'recovered windows and tabs ' page no longer has links in it and can no longer be dragged, so you cant select a few of them to use, and keep the rest around for later. NOW - once you choose which pages to open the window is gone forever (can can't get a second copy).
People used to make a copy of the page for later use (with a drag)
we also used to open pages with a right click (which no longer functions
This new method seriously blows big greasy chunks. A parge loss in function has occurred.
Put things back as they were. 26 is full of terrible changes that NOBODY likes. It also has a lot of bugs (history is not reliable at all)(1) Firefox's built-in post-crash page has not been a real HTML page for a long time (for example, from the time of Firefox 22, see: [https://support.mozilla.org/en-US/questions/968212 Want to save LOTS of versions of "Restore Session.xht" from the "oops ..." page for later use]). If you had this working differently with Firefox 25, that might have been created by an extension.
You can check to see whether extensions are disabled or need an update on the Add-ons page. Either:
* Ctrl+Shift+a
* orange Firefox button (or Tools menu) > Add-ons
In the left column, click Extensions. The disabled extensions cluster toward the bottom of the list. To poll for updates, use the "gear" button above the list and choose Check for Updates.
If you used the Reset feature (or Firefox automatically did a reset due to some problem during upgrading), you will need to reinstall missing extensions. The reset feature creates a folder on the desktop named Old Firefox Data. Do you have that folder? There may be data you can recover from it.
(2) There are many ways for history to get cleared, both internal to Firefox and external. Could you double-check your Privacy settings?
orange Firefox button (or Tools menu) > Options > Privacy
* The "Firefox will" drop-down says Remember History: Firefox shouldn't be clearing history, but an add-on or external software could do it
* The "Firefox will" drop-down says Use custom settings for history: inspect the "Clear history when Firefox closes" setting to make Firefox isn't set to clear history. Also check your add-ons and consider external software.
Firefox normally accumulates months of history. However, some of Firefox's database sizes are based on disk space available. If your hard drive is very full, Firefox might reduce the amount of history stored. -
Converting HTML Links to Hyperlinks in InDesign
Hi--I'm new to this forum, so forgive any newbie-ness...
Working on a pretty intense automated page layout which creates a product cut sheet based from content that is on the web (using AppleScript). One feature I'm trying to build in is to convert typical HTML href tags to an actual hyperlink in InDesign.
I'm using GREP to find all the html tags, which works very well.
What I can't do (and it might be a limitation of GREP in ID) is store the 'change to' locations as variables in AppleScript. For example, I use:
--find the href tag
set find what of find grep preferences to "(?i)(<a href=\")(.+?)(\")(.*)(>)(.*)(</a>)"
--change to the stuff in the href=" " and the text I want to keep
set change to of change grep preferences to "$2 $6"
What I NEED is the ability to make $2 and $6 variables.
Any advice, tips, hints, tricks, and/or help?
Thanks all!Sorry, it's been a while since I solved this, so its not too fresh. There may be pieces missing. Here's the exerpt of what I did to change real html marked-up text (which contains hyperlinks) into real, clickable InDesign hyperlinks. In a few words, I found the html hyperlinks in the text, and "marked it up" with my own "xml" type language (for later). Then I think I made an array of every link and location, then had InDesign go through and convert to hyperlinks.
---CONVERT HREFS TO HYPERLINKS------------------------------------------------------
set find grep preferences to nothing
set change grep preferences to nothing
--FIND HYPERLINKS
set include footnotes of find change grep options to false
set include hidden layers of find change grep options to false
set include locked layers for find of find change grep options to false
set include locked stories for find of find change grep options to false
set include master pages of find change grep options to true
set find what of find grep preferences to "(?i)(<a href=\")(.+?)(\")(.*?)(>)(.*?)(</a>)"
--set find what of find grep preferences to "(?i)(?<=<a href=\").+?(?=\")"
set change to of change grep preferences to "<url>http://www.mywebaddress.com$2</url> <linked text>$6</lt>"
set applied character style of change grep preferences to nothing
tell specSheet
change grep
end tell
set find grep preferences to nothing
set change grep preferences to nothing
--FORMAT HYPERLINKS
set include footnotes of find change grep options to false
set include hidden layers of find change grep options to false
set include locked layers for find of find change grep options to false
set include locked stories for find of find change grep options to false
set include master pages of find change grep options to true
set find what of find grep preferences to "http://.+?(?=</url> <linked text>)"
set change to of change grep preferences to ""
set applied character style of change grep preferences to nothing
tell specSheet
set myFoundItems to find grep
set linkURL to get myFoundItems
end tell
set find what of find grep preferences to "(?<= <linked text>).+?(?=</lt>)"
tell specSheet
set myFoundTextLinks to find grep
set linkNames to get myFoundTextLinks
end tell
set masterList to {}
set numItems to count of linkURL
set n to 1
repeat numItems times
set end of masterList to {item n of linkURL, item n of linkNames}
set n to (n + 1)
end repeat
tell specSheet
repeat with currentLink in masterList
set hyperLinklocation to item 2 of currentLink
try
set hyperLink1 to make hyperlink URL destination with properties {name:item 2 of currentLink as string, destination URL:item 1 of currentLink as string}
on error
set hyperLink1 to hyperlink URL destination (item 2 of currentLink as string)
end try
try
set hyperLinkText to make hyperlink text source with properties {source text:hyperLinklocation, hidden:false, applied character style:character style "hyperlink"} --name:item 2 of currentLink as string,
on error
set hyperLinkText to hyperlink text source (item 2 of currentLink as string)
end try
try
make new hyperlink with properties {destination:hyperLink1, source:hyperLinkText, hidden:false} --name:item 2 of currentLink as string}
on error
make hyperlink with properties {destination:hyperLink1, source:hyperLinkText, hidden:false}
end try
end repeat
--set linksDone to "true"
end tell
set myFoundItems to {}
set myFoundTextLinks to {}
end tell
tell application "Adobe InDesign CS5"
--REMOVE MARKUP -URLS FROM COPY
set find grep preferences to nothing
set change grep preferences to nothing
--Set the find options.
set include footnotes of find change grep options to false
set include hidden layers of find change grep options to false
set include locked layers for find of find change grep options to false
set include locked stories for find of find change grep options to false
set include master pages of find change grep options to true
set find what of find grep preferences to "<url>.+?</url> "
set change to of change grep preferences to ""
tell specSheet
change grep
end tell
--Clear the find/change preferences after the search.
set find grep preferences to nothing
set change grep preferences to nothing
--display dialog "URL text deleted."
--LINKED TEXT TAGS REMOVAL AND CHARACTER FORMAT
set find grep preferences to nothing
set change grep preferences to nothing
--Set the find options.
set include footnotes of find change grep options to false
set include hidden layers of find change grep options to false
set include locked layers for find of find change grep options to false
set include locked stories for find of find change grep options to false
set include master pages of find change grep options to true
set find what of find grep preferences to "<linked text>|</lt>"
set change to of change grep preferences to ""
--set applied character style of change grep preferences to "hyperlink"
tell specSheet
change grep
end tell
--Clear the find/change preferences after the search.
set find grep preferences to nothing
set change grep preferences to nothing
--display dialog "Linked text tags removed, style applied."
end tell -
Please help with sample windows form C#.Net Example
Hi Goutam,
Please refer to the following link with examples: http://www.codeproject.com/Questions/234865/create-real-time-chart
Hope this helps you!
Regards,
Mitch!
Maybe you are looking for
-
How can i do home sharing between iPhones?
I have home sharing turned on on my laptop and 3 iphones. i have tried going in through music, more and shared but the shared file does not come up for me to do anything. any ideas?
-
Lean order API+ menu option - Extras / Output / Header / Edit
all, Attempting to configure the lean order sales screens for use in NWBC. I am unable to find out how to customize to include the menu option for header output that exists in the standard gui screens (Va02/03). I need to be able to allow the users
-
I think i have narrowed down my options for upgrading my computer audio... except i am not sure which way to go and would like some help or ti ps. ... thanks. first off i mainly game and listen to music on the pc or listen to the music while gaming..
-
FB60 additional coding block fields
Hi experts, In the SAP system of our client IS-Media solution has been implemented which has some extra coding block(ZZ-fields) fields that need to be posted to by FB60. However the transcation FB60 does not show these fields. The underlying table st
-
Re: Report for showing comparsion between Inventory & Norms
Hi All, I have a requirement for developing a report where I need to compare the current inventory for a plant and compare it with the predecided inventory norm & to get red flagged in case there is a dissference between this comparision. Regards, Vi