![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Let me start by saying I'm a beginner. I've designed 2 pages for a 10 page website so far. All the files I've used are in one folder. When I go to preview a page in the browser, everything comes up looking fine. However, I have a table set up with roll-over buttons, and when you click on the button, the link is supposed to take you to another page. When the button is clicked, it goes to the page, but none of the images load. For example, the page I'm previewing in the browser is the home page, and also on the home page is a link to the home page that just takes you to where you already are. When I click that link to open the page I already have open, none of the image files load. I can refresh the page as much as I want and it loads fine. When I click the other link to go to the other page I have done, it does the same thing, and will not load any images. The page itself loads fine when I preview it. I don't understand, because I did the broken link check, and it says I have 0 broken links. Plus, I've only been working in one folder anyway, and haven't moved or renamed anything. Someone please tell me why my images won't load - I really appreciate your time, and forgive my Dreamweaver ignorance. Thanks, Kristin |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I think I might have found out why (maybe). I'm working "locally", and don't have a server yet. I copied and pasted an article from elsewhere on this site below -- I don't even have enough knowledge to know if it describes my situation or not though. I could copy and paste the code, but it's pretty long, and probably would be horrific to view for an experienced web designer (I'm layer crazy). Let me know if what follows sounds like my problem......(thanks so much!) Why do links stop working after previewing the first page? While testing your site locally, you may encounter any of the following problems: A page previews properly, but the images appear broken if you navigate back to the same page. The first page previews properly, but subsequent pages show broken image icons or the links on subsequent pages do not work. When opening the HTML file directly in the browser rather than using Dreamweaver to preview the page in the browser, the images appear as broken image icons and/or the links do not work. Reason The paths in these pages are site root-relative. Because there is no server root locally, site root-relative paths usually cannot be viewed unless on a server. Dreamweaver, however, passes additional information to the browser, via a temp file, so that the site root-relative paths can be followed. The simulation process is necessarily imperfect, but generally good enough to quickly preview a document. The issues above are inherent in the process. Solution To see site root-relative paths in the browser when working with files locally, you need to use a personal web server when previewing. Some examples of personal web servers are Microsoft PWS and Xitami. Neither of these applications are developed by Macromedia. |
![]() |
| Thread Tools | |
| Display Modes | |
| |