Jump to content

Opening new windows?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
14 replies to this topic

#1
Guest_littlefranciscan_*

Guest_littlefranciscan_*
  • Guests
How do I create a link that opens in a new window?

I know that say if I want to creat a link to a page without showing address you write: <a href="http://www.littlefranciscan.com">littlefranciscan</A>
but how do you make it so it opens in a new window? :rolleyes:

#2
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
<a href target="_blank" "http://www.google.com">GOOGLE</a>


#3
Guest_littlefranciscan_*

Guest_littlefranciscan_*
  • Guests
Will you please write it with the link I provided? I really don't care for google..no offense to all the googlers here:)

#4
Matt

Matt

    Learning Programmer

  • Members
  • PipPipPip
  • 47 posts
You can also do:
<a href="http://www.littlefranciscan.com" target="resource window">littlefranciscan</a>
If you want to open new windows of custom formats, I suggest learning how to do this with JavaScript. The above just returns the link in a generic window.

#5
Guest_littlefranciscan_*

Guest_littlefranciscan_*
  • Guests
Thanks Matt..your great...I want to know if I can put you link..to your website..on my site I am working on..it is nowhere near finished..

I am allowed 100 pages..so I have lots to add..

the site is: http://www.tiptopweb...littlefrancisan

Once I am done I will purchase a name for it..

#6
Matt

Matt

    Learning Programmer

  • Members
  • PipPipPip
  • 47 posts
Sure, that would be great. To link to any site, as you have probably figured out by now, you just make a link such as
<a href="link address here">Link Text</a>
When you go about purchasing domain name and hosting, I would recommend GoDaddy. I did a lot of research, and found them to have the best prices, features, and support for me. However, I also suggest you do your own research, because you may need something different than I do.

#7
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts

Matt said:

When you go about purchasing domain name and hosting, I would recommend GoDaddy. I did a lot of research, and found them to have the best prices, features, and support for me. However, I also suggest you do your own research, because you may need something different than I do.

They are great, I've bought about 100+ domain names from them now with no issues.

#8
Matt

Matt

    Learning Programmer

  • Members
  • PipPipPip
  • 47 posts
Wow, that's impressive. I have claim to only one domain name through them, but I am very satisfied with it. Just out of curiosity, what are all your domain names for?

#9
Guest_littlefranciscan_*

Guest_littlefranciscan_*
  • Guests
Matt you are the first one here who has actually showed me exactly what I asked..I know it seems insignificant..but you are great..thanks for actually putting my link in there to show me how it works..I am going to copy your directions to word pad..:)

#10
Matt

Matt

    Learning Programmer

  • Members
  • PipPipPip
  • 47 posts
Cool, thanks for telling me. I'm glad I was able to do what's important to you. Others probably give you the code out of context so you can get the experience of using it yourself, but for something as simple as this, it is more convenient to just be able to copy and paste.

#11
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
For something as simple as this, I hoped you would take a second and think about what is actually going on.

"Hmm... the code Sidewinder gave me is going to google.com maybe I should replace that url with my own url, Oh! and I don't want the link named GOOGLE maybe I should change that too."

Copy/Pasting code I give you doesn't help you learn, it just expediates the page you are trying to build. I like to show people how to fish, not fish for them...

#12
Matt

Matt

    Learning Programmer

  • Members
  • PipPipPip
  • 47 posts
You make a good point, Sidewinder. Showing people how to fish is, in the long run, much more helpful to the individual.