|
-
Nov 2nd, 2005, 02:09 AM
#1
Thread Starter
Fanatic Member
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.
-
Nov 2nd, 2005, 04:28 PM
#2
Fanatic Member
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
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
-
Nov 2nd, 2005, 08:27 PM
#3
Thread Starter
Fanatic Member
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....
-
Nov 4th, 2005, 04:33 AM
#4
Fanatic Member
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
-
Nov 4th, 2005, 08:35 AM
#5
Thread Starter
Fanatic Member
Re: make a link to the word and popup a new windows?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|