Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

external links

Status
Not open for further replies.

blueeyedcherokee

Technical User
Apr 7, 2002
2
0
0
US
hey

i am new to web design but i found dw to be rather self evident, but i can't for the life of me figure out how to link to other URls, outside, external links.

any help would be appreciated.

thanks

 
Hi,
DO you mean that you cant access websites other than pages within your own site? If so....

In your properties window in dreamweaver there is a field called "link" in here put the address of where you want to link to....
Or in HTML>
<a href=&quot; </a>

Hope this helps.
 
hey

thanks for the response. i have a banner, check it out on it is about wonder woman. i want to link that banner to a website where the Wonder Woman info is. that website is called
when i used the link in the prop window it seemed to want to stay in the local site, or the root folder.
thanks
 
hiya,
I lloked at the sourse code. AM i right in saying that you want to add a link to nobullock.gif at bottom of page? If so try replacing with this HTML:

<td width=&quot;487&quot; height=&quot;60&quot; colspan=&quot;2&quot; valign=&quot;top&quot;><a href=&quot; src=&quot;nobullock.gif&quot; width=&quot;486&quot; height=&quot;60&quot; border=&quot;0&quot;></a></td>

Is this what you want?
 
<a href=&quot;<img src=&quot;images/theimage.gif&quot; border=&quot;0&quot; width=&quot;150&quot;
height=&quot;90&quot;></a>

I think wverner's code does not need the semi-colon at the end of the link url.. anyway to insert a link to an image here is how it works.. first you have
<a href=

That tag tells it there is a hyperlink, either internal or external... there is a space between <a and href=... no other spaces in this tag...

The part within the quotes is the site that you are linking to.

=&quot;
We close this tage with the > We have now told the browser we have a link... bet we need to attach it to text or an object.


That is the <img src= part of the tag, telling the browser we have an image, the part within quotes tells it where to pull the image from. The width and height parts are not necessary, but speeds up the loading of the page so that it does not have to resize after images load..

The good news is that you do not have to type any code to accomplish this. You create the link in DW by clicking on the image, and then inthe properties dialogue box click on the LINK box below the SRC box.. and paste in the URL there, including the You do the same procedure to add the outside linke tot he text on your links page.

hope this helps When in doubt, deny all terms and defnitions.
 
yeah no comma after the link...i just copied and pasted the comma by accident! but thats how its done blueeyed...let us know how u got on....
 
Something to add that may be of help, and I may be way off base on the discussion, but if you click on Window, then Properties, a small window should come up, any text or image you click on, you can create a link by entering the URL in the Link line and then you can chose the target in that same window.
 
Dirtrocker you are right. DW makes this one so easy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top