File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes help me in HTML tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "help me in HTML tags" Watch "help me in HTML tags" New topic

help me in HTML tags

varkala prabhakar
Ranch Hand

Joined: Sep 08, 2001
Posts: 54
How to write the html tag for
1)opening a new window when we click on a url
2)opening a new url window automatically along with the current window when we connect to a site
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4351

the first question is easy
<A HREF="" target="blank">
this also works
<A HREF="" target="outside">
i dont know answer to second. it would involve a little javascript though using onLoad event handler i believe
Dont blindly believe everything I say.

Visit my download page
varkala prabhakar
Ranch Hand

Joined: Sep 08, 2001
Posts: 54
Thanx Randall Twede,
for opening a window i dont mean javascript code this window open an window with out the address bar(for typing the url) .
how to write the javascript code for opeing a new browser window where i can give the url again.
thanx for all
A1ien51 CNEUFOs

Joined: Nov 05, 2001
Posts: 16
I got a program that will do it for you look at this
varkala prabhakar
Ranch Hand

Joined: Sep 08, 2001
Posts: 54
thanx A1ien51 CNEUFOs,
the url worked out.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

"A1ien51 CNEUFOs",
Thanks for your assistance in the HTML and Javascript forum, but your name isn't even close to the Javaranch Naming Policy.
Your name should be two words, firstname then lastname with a space in the middle. This naming policy is enforced to promote a professional atmosphere in the forums.
Can you please re-register with a valid name since your contributions are worth while and it would be better for you to contribute with a valid name rather than having this account locked.
I agree. Here's the link:
subject: help me in HTML tags
It's not a secret anymore!