• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Hyperlink on a ticker implemented in applet

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I want to display 5 offers on a ticker where each offer to displayed for 5 secs. I want to implement it in applet. Same time offers should be displayed as a hyperlink on the ticker. That is if the user clicks on the offer it should take it to description page of that offer. This is bit urgent. Can anyone please suggest me how to go about it.
Thanks in Advance.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use this:
getAppletContext().showDocument(URL url,String target);
The target argument is interpreted as follows:
"_self"
Show in the window and frame that contain the applet.
"_parent"
Show in the applet's parent frame. If the applet's frame has no parent frame, acts the same as "_self".
"_top"
Show in the top-level frame of the applet's window. If the applet's frame is the top-level frame, acts the same as "_self".
"_blank"
Show in a new, unnamed top-level window.
name
Show in the frame or window named name. If a target named name does not already exist, a new top-level window with the specified name is created, and the document is shown there.
 
cherry sawant
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks For Ur GReat help
Anyways the implementation has been changed to Javascript instead of applet and it has been done.
This might be an help in future.
Regards,
cherry

Originally posted by Chris Chen:
use this:
getAppletContext().showDocument(URL url,String target);
The target argument is interpreted as follows:
"_self"
Show in the window and frame that contain the applet.
"_parent"
Show in the applet's parent frame. If the applet's frame has no parent frame, acts the same as "_self".
"_top"
Show in the top-level frame of the applet's window. If the applet's frame is the top-level frame, acts the same as "_self".
"_blank"
Show in a new, unnamed top-level window.
name
Show in the frame or window named name. If a target named name does not already exist, a new top-level window with the specified name is created, and the document is shown there.

 
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic