Jump to content


Photo

dreamweaver and absolute links


  • Please log in to reply
8 replies to this topic

#1 damwaar

damwaar
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 24 July 2003 - 09:21 AM

Hello, one of my user who is using dreamweaver has pbs with absollute links.
is there a way to avoid an link like that :
<a href=\"file:\\Ytoto_foldertoto.html\">

thx in advance

#2 akitchin

akitchin
  • Staff Alumni
  • Advanced Member
  • 2,516 posts
  • LocationCalgary, AB, Canada

Posted 24 July 2003 - 11:31 PM

you can define your root directory with

<base href=\"Y:toto_folder\">

in the <head></head> section. then your links can look like:

<a href=\"toto.html\">

hope that helps.

#3 BinaryStar

BinaryStar
  • Staff Alumni
  • Advanced Member
  • 74 posts
  • LocationBethlehem, PA

Posted 25 July 2003 - 12:17 AM

Before you start your document, try saving it and then adding links and images, if you just start working and don\'t save first it will just link from the drive not the root.

Let me know if that helps..

BS :D

#4 damwaar

damwaar
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 25 July 2003 - 07:33 AM

??????

and if I try on a documetn already begun??

#5 BinaryStar

BinaryStar
  • Staff Alumni
  • Advanced Member
  • 74 posts
  • LocationBethlehem, PA

Posted 25 July 2003 - 10:52 AM

if you have already saved the document it should set it up correctly, check thru all of your settings and preferences to make sure everything is correct and also when you are adding links and images at the bottom of the dialog box there is an option stating \"Relative To:\", set this to document and not root..

see if any of that helps

BS :D

#6 crithke

crithke
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 26 July 2003 - 04:15 PM

The other posts pretty muched summed up the issue, however I figured I\'d post a little bit more info. With all of my experiences in the past with dreamweaver, it seems to me that it has quite a few problems when it comes to linking, especially those that are not definite. It has a tendancy to add slashes where they shouldn\'t be. I once spent two hours trying to find out why my css wasn\'t working when in fact dreamweaver decided to add a / before the link that I had put in to this style sheet. Dreamweaver can be aggravating when it comes to links

Just a thought

#7 theverychap

theverychap
  • Staff Alumni
  • Advanced Member
  • 78 posts
  • LocationDevon, England

Posted 06 August 2003 - 01:51 PM

i dont mean to sound horrible but one of the main reasons for me hating programs like dreamweaver is becuase of things like that. (adding extra code etc.)

its a pain in the arse, just uninstall it and get a decent book and start writing your own damn code. oops a bit of a harsh tone there, but its what i feel. before i get slagged off for saying that, do realise that ive used dreamweaver for years, obtained a diploma in using it and now hate it. i havent used it for over 18 months now, and can never see me ever using such a program again...
WYSIWYG editors spoil the learning process, un-necessary tags, extra code, and generally extra shite thats not really needed just serves to confuse people that are really trying to learn, its crazy.

ok thats enough of that for now...

#8 stars75238

stars75238
  • New Members
  • Pip
  • Newbie
  • 5 posts
  • LocationAddison

Posted 22 September 2003 - 07:26 PM

Use root based links. You do not have to worry about the location of the files, and it makes the documents portable within the site. So all you images would have the location for instance imagesimage.ext that way regardless of the location it can find the file. The best way to set this up is to browse for the file or image from the page and when you select it, in the dialog box select relative to the root instead of the document.

#9 DigitaLink

DigitaLink
  • New Members
  • Pip
  • Newbie
  • 1 posts
  • LocationNWOntario, Canada

Posted 23 September 2003 - 09:04 PM

chap - I agree. Dreamweaver has it\'s place in the world I\'m sure, but there is NOTHING comparable to a solid text editor with syntax highlighting and a sound knowledge of what the heck you\'re doing.

I wrestled with DMX for weeks and went back to the text editor.

I generally recommend HTML-Kit (http://www.htmlkit.com) - free and feature-rich. The extensions add a great deal of power to it.

I had found DMX handy for doing PHP/mySQL connections at first, but annoying in the end. It\'s better to learn SQL yourself and write your own queries.
What?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users