I was trying to remove the .html tags from my web pages and followed the advice on this past post. I created a new folder in Dreamweaver's File tab, then moved the .html file over and renamed it to index.html. Unfortunatley the swf and background images are broken and can't reference them. I'm wondering what step I missed, or how can I relink them?
Original how to remove .html link discussion I referenced.
http://forums.adobe.com/message/722731#722731
I wanted to try and use .htaccess with my current GoDaddy account, but I couldn't get that working correctly.
http://simplemediacode.info/remove-index-html-andor-index-php-from-the -url/
My website blank page.
http://www.victorylcms.org/testimonials/
Thanks for any help!
You have bad paths to all your external CSS and Scripts. Typically when you move a file into a folder in the Files Panel, DW will ask you if you want to update links. You should have hit YES.
To fix the problem, change all of this in your code:
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="js/cufon-yui.js" type="text/javascript"></script>
<script src="js/cufon-replace.js" type="text/javascript"></script>
<script src="js/Schneidler_Md_BT_400.font.js" type="text/javascript"></script>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<!--used for the rotating images that show up if the user doesn't have flash-->
<script type="text/javascript" src="/assets/js/jquery.cycle.lite.js"></script>
to this:
<link href="../style.css" rel="stylesheet" type="text/css" />
<link href="../layout.css" rel="stylesheet" type="text/css" />
<script src="../js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="../js/cufon-yui.js" type="text/javascript"></script>
<script src="../js/cufon-replace.js" type="text/javascript"></script>
<script src="../js/Schneidler_Md_BT_400.font.js" type="text/javascript"></script>
<script src="../Scripts/swfobject_modified.js" type="text/javascript"></script>
<!--used for the rotating images that show up if the user doesn't have flash-->
<script type="text/javascript" src="../assets/js/jquery.cycle.lite.js"></script>
Nancy O.
Thanks a lot, most of it is correct now, I'm still getting a broken link to the .swf at the top though. I thought I could correct it by adding a ../ to the line below, but no luck. The flash icon in dreamweaver did change to not be broken, but it still won't show up. Do you have any suggestions for that?
<param name="movie" value="../flash/Navigation_Menu.swf" />
As for the message, I must have missed it. I did just drag and drop it from the "Files" tab. Is there a better way to do that?
Unfortunately, SWF isn't going to work unless it's in the same folder as the page calling it and the supporting files used by the SWF.
That said, I am vehemently opposed to Flash for navigation. It's terrible. It's not supported by a long list of popular web devices (iPhone, iPad, iTouch, etc...). Flash menus can't be "seen" by language translators or screen readers. Flash is not web accessible.
Friendly advice, ditch the Flash menu. Use a web friendly menu system based on CSS & JavaScript (Spry menus for example). You'll eliminate 2 problems at once.
Nancy O.
North America
Europe, Middle East and Africa
Asia Pacific