This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > July 2005 > Re: Drag and drop to links and upload





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Drag and drop to links and upload
John Waller

2005-07-16, 11:14 pm

Got a URL?

--
Regards

John Waller


Doc-Z

2005-07-16, 11:17 pm

www.unh.edu/tsasgrooming
John Waller

2005-07-17, 7:19 pm

Your links are all site-root relative.

They should be document-relative.

In practical terms:
a link to: "/Graphics/golden.jpg"

Should read
"Graphics/golden.jpg"

Delete all the preceding "/" in your code and your links should be correct.


--
Regards

John Waller


Doc-Z

2005-07-17, 7:19 pm

OK, I'll do that, but I didn't put the / in. I linked using drag and drop and
that shouldn't have done that.

I'll keep you posted...thanks.

PS, I don't do codes so this should be interesting.....

Gary White

2005-07-17, 7:19 pm

"Doc-Z" <webforumsuser@macromedia.com> wrote in message
news:dbdl92$6g0$1@forums.macromedia.com...
>OK, I'll do that, but I didn't put the / in. I
>linked using drag and drop and that shouldn't
>have done that.



If you click on the link folder icon, in the properties palette, and browse
to a file to create a link, the dialog box contains a drop down list at the
bottom that you use to specify whether the link should be relative to the
document, or the site's root. That setting is sticky, in that once you have
made a choice, that same choice will be used for links until you change it.
If you use that browse to file method, select relative to document, then
your drag and drop links will be created the way you need them.

Gary


Doc-Z

2005-07-17, 7:19 pm

OK, I see that! Not sure how it got changed in the first place.

I've Sterted redoing it using templates. Apparently 2 tempate files are
created. .asp and .dwt.asp

I went back and changed all the links in one, but the other didn't change.
Which one is used? Waht's the difference?

Uggh!!!!

Gary White

2005-07-17, 7:20 pm

"Doc-Z" <webforumsuser@macromedia.com> wrote in message
news:dbdtsv$gas$1@forums.macromedia.com...
>
> I've Sterted redoing it using templates. Apparently 2 tempate files are
> created. .asp and .dwt.asp
>
> I went back and changed all the links in one, but the other didn't

change.
> Which one is used? Waht's the difference?



A file, named with the .dwt.asp extension is a template for an ASP page. the
..asp is just an ASP page, not a template.

Gary


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews