Results 1 to 5 of 5

Thread: make a link to the word and popup a new windows?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Resolved make a link to the word and popup a new windows?

    how to make the word example "Hello", as a link and when click it, it will popup a new windows?
    Last edited by kenny_oh; Nov 6th, 2005 at 10:48 AM.

  2. #2
    Fanatic Member kaihirst's Avatar
    Join Date
    Jul 2005
    Location
    The Resaurant At the End of The Universe
    Posts
    633

    Re: make a link to the word and popup a new windows?

    Hi,

    add a tag os some kind, a div, span, bold, whatever, and add an onClick event and the following javascript code.

    Code:
    WindowName = Window.Open ("", "Winname", "height=,width=,resize=,scrollbar=");
    if you watn to view variables in that windows such as the word helloo.

    Code:
    WindowName.document.write("string" or variable here)
    WindowName.document.close()
    if you want to close the window
    Code:
    WindowName.close()
    you can set timeouts for this function as well so that this windows will close.

    Code:
    SetTimeout("WindowName.close()", 3000)
    closes the window after 3 seconds.

    hope this helps

    Kai
    As the information I give is useful in its nature, consider using the RATE POST feature located on the bottom left of this post please..

    A few things that make a good Developer a Great One.
    Methodical and a thorough approach to research and design inevitably leads to success.
    Forward thinking is the key to Flow of control.
    Never test in the design environment, always test in real time, you get the REAL results.
    CBSE & OOSE are the same animal, they just require different techniques, and thinking.
    SEO is a globe of objectives, SE rankings is an end to a means for these objectives, not part of them.
    The key to good design is explicit attention to both detail and response.
    Think Freely out of the "Box" you're in..... You will soar to better heights.

    Kai Hirst - MSCE, MCDBA, MCSD, MCP, MCAP, MSCT


  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: make a link to the word and popup a new windows?

    thank!...is it possible to pass value over to the new window(like picture or text) where js click the link...........some thing like search from database and load the data in the text field of the new windows....

  4. #4
    Fanatic Member kaihirst's Avatar
    Join Date
    Jul 2005
    Location
    The Resaurant At the End of The Universe
    Posts
    633

    Re: make a link to the word and popup a new windows?

    Hi,

    you can pass anything you want over, just use the details I hgave to you adn play around.

    hope this helps

    Kai
    As the information I give is useful in its nature, consider using the RATE POST feature located on the bottom left of this post please..

    A few things that make a good Developer a Great One.
    Methodical and a thorough approach to research and design inevitably leads to success.
    Forward thinking is the key to Flow of control.
    Never test in the design environment, always test in real time, you get the REAL results.
    CBSE & OOSE are the same animal, they just require different techniques, and thinking.
    SEO is a globe of objectives, SE rankings is an end to a means for these objectives, not part of them.
    The key to good design is explicit attention to both detail and response.
    Think Freely out of the "Box" you're in..... You will soar to better heights.

    Kai Hirst - MSCE, MCDBA, MCSD, MCP, MCAP, MSCT


  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: make a link to the word and popup a new windows?

    ok.thank you!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width