PDA

View Full Version : Link issue


rkane136
08-25-2010, 01:05 AM
Say for example I make a link on my webpage for my email. I type in the link box "rkane137@gmail.com" and it makes a link. When I publish this on the internet, whenever anyone clicks my link it shows up in their browser as "www.mywebsite.com/rkane137@gmail.com" and does not direct them to "rkane137@gmail.com". How do I make it so when they click the link it goes to "rkane137@gmail.com" and not "www.mywebsite.com/rkane137@gmail.com" .

Also this is a two part question. Some websites when they have one very long page, they will make links that jump you to different sections on the same page. How do I make a link that will jump someone to a section on my page?

Thank you for any responses!

edbr
08-25-2010, 02:08 AM
you can use mailto: for emailsand the link will open up the visitors mail program with an email addressed to you .personally oi wouldnt as you will probable get an increase in spam as robots search for these.

as for the page jump you can use named anchors for this

rkane136
08-25-2010, 04:35 AM
I understand that this is a free service, to ask for your help, but everytime I ever have in this forum I have gotten a response that is not detailed at all. I appreciate your time edbr, because you keep this forum alive by responding to everyone's posts, but i would greatly appreciate it if you could be more specific because I am a noob to website design. I'm trying to create this site to generate extra cash-flow so i can keep my head above water in this economy. Can you please elaborate. I used my email as an example, but what if it was just a link to another website, how would I go about setting that up, and as for anchors, how do I make them, what does the coding look like?

edbr
08-25-2010, 04:54 AM
ok but have you looked through the tutorials that come with dreamweaver? Im sure named anchors will be there.
I am happy to help with problems where i can but i will not as a matter of course explain every process unless asked specifically.

copied from w3schools



HTML Links

« Previous (http://www.w3schools.com/HTML/html_styles.asp) Next Chapter » (http://www.w3schools.com/HTML/html_images.asp) Links are found in nearly all Web pages. Links allow users to click their way from page to page.
http://www.w3schools.com/images/tryitimg.gif Try it Yourself - Examples

HTML links (http://www.w3schools.com/HTML/tryit.asp?filename=tryhtml_links)
How to create links in an HTML document.
(You can find more examples at the bottom of this page)
HTML Hyperlinks (Links)

A hyperlink (or link) is a word, group of words, or image that you can click on to jump to a new document or a new section within the current document.
When you move the cursor over a link in a Web page, the arrow will turn into a little hand.
Links are specified in HTML using the <a> tag.
The <a> tag can be used in two ways:

To create a link to another document, by using the href attribute
To create a bookmark inside a document, by using the name attribute HTML Link Syntax

The HTML code for a link is simple. It looks like this:
<a href="url">Link text</a> The href attribute specifies the destination of a link.
Example

<a href="http://www.w3schools.com/">Visit W3Schools</a> which will display like this: Visit W3Schools (http://www.w3schools.com/)
Clicking on this hyperlink will send the user to W3Schools' homepage.
Tip: The "Link text" doesn't have to be text. You can link from an image or any other HTML element.
HTML Links - The target Attribute

The target attribute specifies where to open the linked document.
The example below will open the linked document in a new browser window:
Example

<a href="http://www.w3schools.com/" target="_blank">Visit W3Schools!</a>
Try it yourself » (http://www.w3schools.com/HTML/tryit.asp?filename=tryhtml_link_target)
HTML Links - The name Attribute

The name attribute specifies the name of an anchor.

The name attribute is used to create a bookmark inside an HTML document.
Bookmarks are not displayed in any special way. They are invisible to the reader.
Example

A named anchor inside an HTML document:
<a name="tips">Useful Tips Section</a> Create a link to the "Useful Tips Section" inside the same document:
<a href="#tips">Visit the Useful Tips Section</a>
if you want a link you highlight the worl or image then add the link in the properties link box,. is this how you do it?
links are formed by the following code <a href="http//my_domain.com/my_page.html" > my page </a>
if that is not working you may have to check your site definitions

DWcourse
08-25-2010, 06:39 AM
When you ask questions that lead a person to believe you haven't really tried to find the answer on your own people aren't likely to spend a lot of time replying to your question.

For instance. How to insert an email link in Dreamweaver:

menu: Insert>Email Link…

There's also an Email Link button in the Insert palette.

And you can find about a quarter million answers to that question here: http://www.google.com/search?q=insert+email+link+in+Dreamweaver

So don't criticize people who have apparently put more effort into resolving your issue than you are willing to put in yourself.

I've seen people here spend a lot of time helping people who are willing to put time and effort into learning rather than just looking for an easy answer.

Corrosive
08-25-2010, 03:07 PM
I understand that this is a free service, to ask for your help, but everytime I ever have in this forum I have gotten a response that is not detailed at all. I appreciate your time edbr, because you keep this forum alive by responding to everyone's posts, but i would greatly appreciate it if you could be more specific because I am a noob to website design. I'm trying to create this site to generate extra cash-flow so i can keep my head above water in this economy. Can you please elaborate. I used my email as an example, but what if it was just a link to another website, how would I go about setting that up, and as for anchors, how do I make them, what does the coding look like?

That's a bit harsh. We all help out but may just give you hints and tips that you can then go off and research and find out for yourself. it's the best way to learn and you may well pick up loads of other useful stuff from the articles we reference.

If we just spoon feed you answers then you'll be back five minutes later asking the next question that may well be covered if you read a whole article on anchor tags and links rather than Ed just telling you the code.

Ricky55
08-25-2010, 10:38 PM
Totally harsh if you ask me. Ed's original answer was more than enough for you to then work that out.

Not being funny mate but if you can't get your head around the concept of links I'd pay someone to do the site for you or buy a template.

Never heard of google?

If you type in anchor links you get hundreds of examples on how to create these.

I love helping people out when I have the time but you have to put in some work yourself or you'll never learn anything.

kearnsy
08-27-2010, 08:38 AM
Hello RKane

I'm still a newbie myself and still get stuck on some basic things to do with dreamweaver

The best thing i can suggest is to read as much as you can about the basics of dreamweaver, and watch as many tutorials as possible, if it doesn't stick first time around, then re-read or watch the video again.

The more time and effort you put into learning, the more you'll get out

Dreamweaver is one of those programs where the learning curve is steep, but if you keep at it, eventually you'll get there

Sorry i can't help with your original post, but i thought i'd post as i'm a newbie like yourself

Good luck, and keep learning.