Hi all
I'm a newbie to DW and have a couple of small problems I'm hoping some
kind guru will help me with.
Firstly, I used DW to rewrite some pages for a friend, previously
written in HotMetal. Before, the URL in the browser address bar (after I
had gone past index.htm) used to come up as
www.foo.com for all pages.
Now, they come up as
www.mydomainspace.com/~foo/page.htm - how can I get
rid of my domain address and get it back to
www.foo.com?
Secondly, I have a navbar that I've put together in FW. This gives me
HTML like this:
<body bgcolor="#000000" onLoad="MM_preloadImages('ennavbar_r1_c2
_f2.gif',
'ennavbar_r1_c2_f3.gif','ennavbar_r1_c2.gif','enna vbar_r1_c3
_f2.gif',.....
It looks fine and works alright, except...
One of the pages is a contact page that posts to a Delphi cgi app.
Depending on the validation one of two pages is loaded. I have to alter
the code to account for the path from the cgi app (so paths are now
preceeded by '\~foo\' and have something like this:
<body bgcolor="#000000" onLoad="MM_preloadImages('\~foo\ennavbar_r1_c2
_f2.gif',
'\~foo\ennavbar_r1_c2_f3.gif','\~foo\ennavbar_r1_c 2.gif','\~foo
\ennavbar_r1_c3_f2.gif',......
and:
<table border="0" cellpadding="0" cellspacing="0" width="799">
<tr>
<td><img name="ennavbar_r1_c1" src="\~foo\ennavbar_r1_c1.gif"
width="28" height="31" border="0" alt=""></td>
<td><a href="\~foo\enhome.htm" target="_top"
onMouseOut="MM_swapImgRestore();MM_nbGroup('out'); "
onMouseOver="MM_nbGroup('over','ennavbar_r1_c2','\ ~foo\ennavbar_r1_c2
_f2.gif','\~foo\ennavbar_r1_c2_f3.gif',1);"
onClick="MM_nbGroup('down','ennavbar1','ennavbar_r 1_c2','\~foo
\ennavbar_r1_c2_f3.gif',1);">
<img name="ennavbar_r1_c2" src="\~foo\ennavbar_r1_c2.gif" width="100"
height="31" border="0" alt="Home"></a></td>......
The Up and Down button states are fine but it doesn't seem to be able to
find the Over frames.
I'm completed baffled as to why it can find and show two-thirds and not
all the images. Any clues would be greatly appreciated.
TIA