• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hyperlink on a ticker implemented in applet

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic