Adding link to html page

How do I add a link to html page through java code?
If I want to see some text in the code as a link to some web page,then please let me know the changes I'll have to make in ordre to get the desired result.

According to there are only two types of scopes APPLICATION_SCOPE  and TASK_SCOPE.
My guess is that they both rely on browser cache somehow.

Similar Messages

  • Can a menu link to .html pages?

    I want to make a DVD that will start with a video introduction, and upon finishing the brief minute or so intro, it will display a menu screen.
    1.) I would like the menu buttons to link to .html pages saved on the DVD. So after clicking on a link from the menu, it will open up a full-screen .html page.
    2.) Each .html page will link to other .html pages and have embedded images, and short quitcktime video clip links that will open up in small windows when links are clicked.
    3.) I need to have a link on each .html page that links back to the main dvd menu.
    Can this be done? Any issues with doing something like this?
    Thanks in advance for any advice!!!!

    Mark - you need to read up on [email protected] if you intend doing this through DVDSP. Yes, it is all possible, but you haven't quite got the way it works correct.
    What happens is you embed a URL into a menu. When the menu is accessed (typically by a button from a previous menu) the link is activated and the resource is launched. This opens in a window in front of the DVD playback window. The DVD player continues to run in the background - so you need to allow for that when returning. The viewer will simply close the web browser window and be back at the DVD window - by then you should have made the @ccess menu 'time-out' and return to the previous menu.
    You set up the HTML file (or whatever file you are using) in a folder on your Mac, and place it all within a parent folder. From within DVDSP you then use the property Inspector for the disc itself (click not he disc icon in the outline view) to specify a ROM folder. You browse for the parent folder you just created. Everything inside that will get added to the root level of the DVD, which is why you place your HTML inside a folder within that parent folder (unless of course, you don't mind your HTML file/s being scattered all over the root of the DVD).
    You set the URL for the @ccess link by using the following path format:
    So if your html file is called 'index' and it is in a folder called 'ROM' on your DVD called 'Project' then the URL you set in the menu would be:
    This should then get activated (as long as you have enabled [email protected] links in your DVD Player software).
    However, there are some caveats.
    Whilst this will work quite well on a Mac, a PC user will have a wildly varied experience - for some the links will work. For some the links won't work, and for some, all links will launch the moment the first link is encountered... ALL PC users will need to install the [email protected] software (which will be on the built DVD by default (DVDSP includes it there for you), unless they have already done so previously (unlikely).
    In order to maximise the experience for PC users and Mac users you should consider using Sonic's 'eDVD' to add the hyperlinks. This makes use of the Interactual player which has a far higher installed base in PCs, but will need installing in Macs. Again, this gets included on the disc when you use eDVD.
    eDVD is a PC only app - you'll need to build your project and transfer the VIDEO_TS folder to a PC, add the links and then burn it to disc or use software such as Gear Pro to create a DLT. Hopefully Jim (WTS) will see this and give more advice on how to use eDVD.
    Getting [email protected] working on a PC is a tricky thing to do - a lot depends on the PC software spec, and since you can't govern the user's choice in this, you are walking a tightrope of compatibility.
    Of course, you could simply set some text into your menu to say that there is additional content on the disc, and let the user browse to it at their leisure instead of relying on embedded links...

  • Trying to link a html page in AS3

    I made a flash site with a button I want to link to a html page I made. But I don't know what I'm doing. I tried this:
    where cele1 is the button name, but that don't work.  I know what I need to do to navigateToURL but I want to link a HTML page I created.
    Any help would be great. Thanks.

    THis is likely a literal case of helping yourself... See your other posting and leave out the part where you try to size the window...
    I'm trying to make the window size smaller in flash actionscript 3.0

  • How link from html page to a specific frame in flash cs5 as3

    I'm kinda new around here. I am interested in knowing how to link from a specific html page to a specific frame in flash cs5 as3.
    I have a website that I originally began to design in flash but later started developing new pages for it in html. The flash part of it has several pages on different frames and I have created links from the flash part to the other html pages, but, I can only link the html pages back to the main flash home page, and not the other pages in the flash part of the website.
    I have read that in cs3 it was possible using the flashvars skip variable, but I don't know how to do it. I have not yet seen any working examples and I could not find any instructions / tutorials online for cs5.
    Can someone help here?

    add a query string, to the swf's embedding html, with variable/value indicating the frame you want to display in your swf.  add a javascript function to return the query string (or entire url), call the javascript function from flash using the externalinterface class.  and finally add code to your swf to parse the returned url or query string, parse it and then direct your timeline to the appropriate frame.

  • Flash button - linking to HTML page - weird problem

    There could be a really easy solution for this, but I can't
    figure it out. I have a simple button that links to an anchor
    within an HTML page. Here the actionscript for the button:
    on (release) {
    getURL ("test.html#two");
    when the button is pressed, the HTML page comes up but only
    to the top of test.html. The '#two' is not passed to the URL .
    Seems like everything after '#' is ignored. How can I get around

    getURL("path of html page");

  • Add Podcast link to HTML page

    I want to put a link to my podcast on a regular HTML page. I want my users to be able to click it and have the link redirect to iTunes on their computer and have it download there. How do I do that?

    I figured it out. I neglected to say that the podcast was from iWeb.

  • Apple Script/Program start through link on HTML page

    Dear Apple Gurus
    Probably I'm asking something silly, but I don't know any other way to solve my problem.
    I have to do some training videos about the finder and system tools. To have it easy, I would like to ad some buttons to the project where you can start an apple script which does execute some commands just explained in the video. Untill know I'm intend to do the hole thing inside QT but maybe a HTML page does the job too.
    My problem is now, how can I start a AppleScript out of a Movie or HTML page.
    Is this possible at all or are there any other solutions to to the job?
    Best regards
    Thomas Thaler

    Hi Thomas,
    Yes, you play movies in a smil presentation.
    You can define as many regions as you want. You difine regions in the layout:
    <root-layout background-color="blue" width="320" height="290"/>
    <region id="videoregion" top="0" left="0" width="320" height="240" fit="meet"/>
    <region id="textregion" top="240" left="0" width="320" height="30"/>
    <region id="linkregion" top="270" left="0" width="320" height="20"/>
    I got part of this from the internet, but here's a quick explanation. The root-layout part defines the whole area. Within this area you have regions. The first region defines the video region and you can give it any id. The origin of the screen is upper-left. fit="meet" means the the movie will be proportional to fit the whole movie. You can change it to other parameters (read the link from the last post). So here, three regions are defined. The first is for the movie (I used a slideshow from iPhoto), the second is for captions in the middle, and the third region is for the link region at the bottom of the screen. You can use any region as a link. Within these regions you place your movies, text, etc. (see the link for more types).
    You next place your types in the body:
    <!-- VIDEO -->
    <video src="" region="videoregion" id="mov"/>
    <!-- CAPTIONS -->
    <textstream src="caption.txt" region="textregion" system-language="en" system-captions="on" title="english captions" alt="english captions"/>
    (a href="file://localhost/Users/kel/Desktop/linkapp" show="new")
    <text src="text.txt" region="linkregion" end="id(mov)(end)"/>
    video src says what type of object, is the name of my movie. If you place the movie in the same folder as the smil file, you can use just its name like I did. Then you enter what region you want the movie in. The id="mov" part is to give this video a reference for later use. I used it to keep the text in the link area running until the movie ended. You don't need captions if you don't want, but if you do here's an example of my captions.txt file:
    {QTtext} {font: Arial} {justify: center} {size: 12} {backcolor:0, 0, 0} {timescale: 30} {width: 320} {height: 60}
    Kelvin: Here is my movie.
    {justify:left} {italic} Here is more text. {plain}
    After 4 15/30 seconds the text changes.
    So altogether, I had five files in the same folder: the smil file (slidshow.smil - plain text), the movie (, the caption text (caption.txt - plain text), and the text file for the link region's text (text.txt - plain text). The script application was on my desktop:
    It's easy to get a local file url through applescript:
    set f to choose file -- the script app
    tell application "Finder"
    set the_url to url of f
    end tell
    and the the local file url is returned in the result.
    The movie needs work. I was playing around with the colors. blue is not a good background color.
    One thing I forgot to say is that you need to read more about the timing (duration). There are a lot of examples and tutorials on the Internet also. It's not that hard though. One thing you might have trouble with is getting repeats to work. I don't think they do.

  • Attempting to link to html page

    I have made an fla for an intro but I want to create a link
    to click on that will take the viewer to the next page of the
    website, which is a regular html page. I have used the help example
    to apply the following actionscript to a button with a named
    instance of "enterBtn".
    // Attach to frame
    enterBtn.onRelease = function () {
    However, with the above code I get the following syntax
    **Error** Scene=Scene 4, layer=Glow Behind FrameBTN,
    frame=309:Line 2: Statement must appear within on handler
    enterBtn.onRelease = function () {
    Total ActionScript Errors: 1 Reported Errors: 1
    >>Am I on the right path? Or do I need to use the:
    var listenerObject:Object = new Object();
    listenerObject.onLoadInit = function(target_mc:MovieClip) {
    target_mc.onRelease = function() {
    Can anyone help me please?

    The error probably is because you wrote the code on a
    "button" type clip.
    If you selected the enterBtn in stage then typed your actions
    then try to change
    enterBtn.onRelease = function()

  • Problem with return link from html page back to css page

    Here is the site..almost ready for publication
    1) Go to properties for sale
    2)Choose a suberb
    3)click on a property with a video
    4) watch the crazy video if you like
    5) Click go back to properties
    ^) Yes the page is there but the property page is now
    8)The whole thing works fine on Firefox but we do have this
    Glitch on IE
    PLEAASSE Can someone help
    Regards Matthew [email protected]
    Everything works well but for the problem return link to the
    properties page after you have gone to the video.The property page
    becomes inactive

    Your page is a monster -
    Empty Cache
    10.6K 1 HTML/Text
    1.5K 1 Stylesheet File
    985.4K 25 Images
    997.7K Total size
    27 HTTP requests
    25 images with aggregate weight of ~1MB is much too large,
    you know?
    Anyhow, I cannot reproduce your problem in IE7. Are you
    referring to IE6,
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    - DW FAQs, Tutorials & Resources - DW FAQs,
    Tutorials & Resources
    "fredbillmatt" <[email protected]> wrote in
    news:fv0m9k$a7a$[email protected]..
    > Here is the site..almost ready for publication
    > 1) Go to properties for sale
    > 2)Choose a suberb
    > 3)click on a property with a video
    > 4) watch the crazy video if you like
    > 5) Click go back to properties
    > ^) Yes the page is there but the property page is now
    > 8)The whole thing works fine on Firefox but we do have
    this Glitch on IE
    > PLEAASSE Can someone help
    > Regards Matthew [email protected]
    > Everything works well but for the problem return link to
    the properties
    > page
    > after you have gone to the video.The property page
    becomes inactive

  • Help with getting links from HTML page

    Hello all. I found the sun tutorial for getting HREF values from a tags in an HTML document at <>. My question now is how would a person add the ability to get the text of the link to this code?
    For example:
    Provided the HTML code:<a href="link.html">example</a>Returned is: href=link.html text=example

    I think the TechTip you've linked too is quite old (1999). I would write a simple SAXParser that uses TagSoup ( as its input source. In your handler, simply set a flag and reset a StringBuffer to collect the contents of any <a>...</a> element. Simplified:
        public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
            if ("a".equals(localName)) {
                currentHref = attributes.getValue("href");
                if (currentHref != null && currentHref.length() > 0) {
                    inLink = true;
                    //reset the string buffer
        public void characters(char[] ch, int start, int length) throws SAXException {
            if (inLink) buf.append(ch, start, length);
        public void endElement(String uri, String localName, String qName) throws SAXException {
            if ("a".equals(localName) && inLink) {
                inLink = false;
                //add link to the stack
                links.add(new Link(currentHref, buffer.toString()));
        }Completely untested, of course... .Good luck...

  • TREX Search : static HTML pages in KM with links to other intranet websites

    Hi there,
    we have some static HTML pages stored in KM. Besides text, these pages contain links ot other intranet websites, pdf or word documents.
    I have defined an index, according to <a href="">creating an index</a>
    Following parameters have been added :
    IndexInternalLinks = true
    indexContentOfExternalLink = true
    showWithoutDatasource = true
    Already had a look at <a href="">Crawlers and Crawler Parameters</a>, tried by creating a new crawler profile and setting
    Maximum Depth = 3 (we want to search three levels deep)
    There is also <a href="">Resource Filters</a>
    The html pages itself are included in the index, but the content of the external links is not included.
    Would this be possible? We don't want to define an <a href="">HTTP System</a> in the system landscape, as we don't need to index the whole external website and some parts of it are obsolete - we only want following the links and included the external content in the index.
    Portal version is NW2004S SP10.
    Thanks & best regards,

    Hello Kevin,
    If you don't want to create a HTTP system then you can create a simple web repository.
    For details you can follow help guide:
    Also you can create a Web Repository:
    Do refer to "Dynamic and Static Web Repositories" section in the document. This will answer your query.

  • Script adding on to my flash on html page

    errors in page. this script is getting into my html page with
    the flash im adding into. my page does not show in the internet
    after upload. www.aurorabiomed.html/flashretreat.html. everytime i
    add a flash file into my webpage this script is added and my page
    has errors. it was not happening before i reformatted my harddrive
    and reinstalled dw8
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"">
    <html xmlns="">
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    <script src="../Scripts/AC_RunActiveContent.js"
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase',',0,19,0','wid th','120','height','600','src','assets/retreat07','quality','high','pluginspage','http://w','movie','assets/retreat07'
    ); //end AC code
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,19,0"
    width="120" height="600">
    <param name="movie" value="assets/retreat07.swf" />
    <param name="quality" value="high" />
    <embed src="assets/retreat07.swf" quality="high"
    type="application/x-shockwave-flash" width="120"

    What is the location of this page in the folder structure you
    > is there something wrong with the source
    > path of the script?
    If you are getting the wrong path to the linked file, then
    your local site
    is not properly defined.
    > - mainwebsite_html folder
    > + assets folder
    > flashretreat.html
    > - scripts folder
    > - templates
    If the page you show below is in fact flashretreat.html, then
    the link that
    DW adds is correct - you have to go up one folder level, find
    the Scripts
    folder (I'm assuming you made a type in showing lower case
    above) and then
    find the required script in that folder -
    <script src="../Scripts/AC_RunActiveContent.js"
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    - Template Triage!
    - DW FAQs, Tutorials & Resources - DW FAQs,
    Tutorials & Resources
    - Macromedia (MM) Technotes
    "web_rookie" <[email protected]> wrote in
    news:[email protected]
    > in the preferences window, under code rewriting i
    disabled active content
    > for
    > 1. insert using browser safe scripts &
    > 2. convert tags to scripts on file open.
    > my page works fine now. if i enable this options and the
    scripts folder is
    > also uploaded my page has errors. is there something
    wrong with the
    > source
    > path of the script? i tried transfering the folder
    inside my webpage
    > folder
    > together with the html pages and assets folder rather
    than at the root
    > folder
    > but still gives me the same error.
    > - Site - Biomed (C:Biomed)
    > - mainwebsite_html folder
    > + assets folder
    > flashretreat.html
    > - scripts folder
    > - templates
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    > "">
    > <html xmlns="">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <title>Untitled Document</title>
    > <script src="../Scripts/AC_RunActiveContent.js"
    > type="text/javascript"></script>
    > </head>
    > <body>
    > <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    > ','high','pluginspage','','movie','as
    > sets/retreat07' ); //end AC code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    > rsion=7,0,19,0" width="120" height="600">
    > <param name="movie" value="assets/retreat07.swf"
    > <param name="quality" value="high" />
    > <embed src="assets/retreat07.swf" quality="high"
    > pluginspage=""
    > type="application/x-shockwave-flash" width="120"
    > </object></noscript>
    > </body>
    > </html>

  • Opening a HTML page from a Navigation link

    Hi All,
           I have a requirement of adding a new link at the navigation bar of WebClient. This link will open a static html page with some contents. I have created the page required for it. But I don't know how the link will be created at Navigation bar and how to open the html page from it. I am using the SAP CRM 5.0 and I want to add the link at Default profile.
      Please help.
    Indranil Datta

    Hi Sujit,
        Thanks for your help. I have created a new navigation bar entity and added that in a customized profile. I have also mentioned the page name and path for that link from tran SPRO. I found that link after logging into IC WebClient. But that link is not connected with the required page. If I click on the link page, it get refreshed but without any change.
    Indranil Datta.

  • FIREFOX 26 changed the 'post crash' page with the list of windows and pages. It was a real HTML page with links for each page. Now it isn't (and blows)

    * You changed the page that comes up after a crash - the one which shows the windows and pages that were up before the
    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
    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: [ 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.

  • Images in linked html pages

    I created a website with iweb '08. On one page I have text that is hyperlinked to a html file. The file has text and an image in it. In the finder on my computer disk drive the html file also has a folder with an image list file and the image files. When I publish it to mobile me, the folder with the image info does not copy. When I open the web page and click on the text the html page opens and the text is there but image is not. If I manually copy the image folder to my idisk web folder in the correct location, then open the web page and click on the text to link to the html file, the image appears and everything is normal.
    The question is why does the image file folder not copy to the web site when you publish and is there a work around other than manually copying the folder to the idisk??

    Welcome to the Apple Discussions. iWeb only uploads the particular file that is being linked to. I suggest you put the html file in the folder with the other files and adjust the links in it accordingly and upload that folder to your iDisk/Web/Sites folder. Then make the link in iWeb to be:

Maybe you are looking for