HighDots Forums  

missing buttons

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss missing buttons in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
makin_copies
 
Posts: n/a

Default missing buttons - 08-01-2004 , 07:44 PM






Ok, I've checked all of my links to other web pages and when I "Preview in
Browser" one page and hit a link button to another page the buttons and headers
have all disappeared. The only thing left on the page is text. and the
rectangles for my buttons and image files all have a little "x" in the corners.
There are no other pages in my files Dreamweaver can get confused with...these
are the only web pages I have been working with.


Reply With Quote
  #2  
Old   
Alan
 
Posts: n/a

Default Re: missing buttons - 08-01-2004 , 09:02 PM








Quote:
Ok, I've checked all of my links to other web pages and when I "Preview in
Browser" one page and hit a link button to another page the buttons and
headers
have all disappeared. The only thing left on the page is text. and the
rectangles for my buttons and image files all have a little "x" in the
corners.

when you view a "Preview in Browser" page, and click a link on it, the next
page that opens is the other page- from your hard drive. It hasn't been
processed for viewing by dreamweaver.

So- I'm going to say that the images must has Site Root relative paths.

See this older message:

canned letter #7

it's because you are using Site Root relative paths {they always start with
a leading / slash }, and then either trying to directly view the files from
your hard drive, which is happening when clicking a link on a dreamweaver
"Preview in Browser" page, or you are hosted in a subfolder of a domain like
http://myhost.com/~mysite/

Site Root relative paths won't work in those cases- in the first case
because site root is different than drive root, in the later because the
domain is the site root, not your subfolder.
/image.gif is telling the browser the image is at
http://myhost.com/image.gif
but it's really here:
http://myhost.com/~mysite/image.gif

If that's the reason- change to Document Relative paths if you want the
pages to preview when viewing directly from your hard drive.

*Also- if this site is hosted in a subfolder of a domain, like
http://myhost.com/mysite/ you should Not use site root relative paths with
dreamweaver- they will come out wrong when the files are uploaded.

The point to file and Insert image uses the Last linking method you have
chosen.

******To change linking methods********
select an existing image or link on the page.
in the Property inspector, click the folder icon, to open the "Browse to
File" dialog box. On the lower part of that dialog box is a pulldown, to
choose "Site Root Relative" or "Relative to Document"
Put it on "Relative to Document"
Finish picking the correct file, and click okay.

That setting will now stay that way until it's changed.
When you use the point to file tool, it will use that method of linking.

If you want to quickly change links to a different linking method- install
the Relativity Extension.
http://e7x.com/dw/ Relativity ext.
or here
http://www.microwaved.plus.com/dw/




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.