HighDots Forums  

Couple of problems

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Couple of problems in the Macromedia Dreamweaver forum.



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

Default Couple of problems - 12-01-2005 , 06:48 AM






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

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 - 2008, Jelsoft Enterprises Ltd.