HighDots Forums  

Y'all liked my "Oh My!" but no one answered my question! HELP!!

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Y'all liked my "Oh My!" but no one answered my question! HELP!! in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
sxtnlyd webforumsuser@macromedia.com
 
Posts: n/a

Default Y'all liked my "Oh My!" but no one answered my question! HELP!! - 08-01-2003 , 10:01 AM






Here's the original: (Thanks!)

I've read all the tech notes and all the postings to date on this subject and still no luck. Created a template in DWMX and built my navbar with popups and submenus in FW and exported it into the template. Then I build around 70 pages based on the template.

When I test the template in the browser, the arrows work fine. On the pages based on the template, however, I get the dreaded "red X" instead of the arrows. Moved the arrows.gif file around as suggested but no good. Looked at the code on all pages and they seem identical to the template's code, as follows:

mm_menu_0729163139_1_2.childMenuIcon="../images/arrows.gif";

I remember reading something about the js code in a template being non-editable in docs based on the template. Does this have something to do with my problem? Please advise and be kind. I'm a complete novice, having learned all this on my own in the past three months! Don't know much html and js code, though. HELP!

(My site has not been ftp'd to a server yet. I'm sure I'll have even more problems then.)




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

Default Re: Y'all liked my "Oh My!" but no one answered my question! HELP!! - 08-01-2003 , 10:27 AM






Try pointing to the gif images with an absolute URL and see if that gets it
working.

Are all the pages on the same directory level? Or in different levels?

--
Lance Goins
http://makeashorterlink.com/?X165518A2


"sxtnlyd" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Here's the original: (Thanks!)

I've read all the tech notes and all the postings to date on this subject
and still no luck. Created a template in DWMX and built my navbar with
popups and submenus in FW and exported it into the template. Then I build
around 70 pages based on the template.
Quote:
When I test the template in the browser, the arrows work fine. On the
pages based on the template, however, I get the dreaded "red X" instead of
the arrows. Moved the arrows.gif file around as suggested but no good.
Looked at the code on all pages and they seem identical to the template's
code, as follows:
Quote:
mm_menu_0729163139_1_2.childMenuIcon="../images/arrows.gif";

I remember reading something about the js code in a template being
non-editable in docs based on the template. Does this have something to do
with my problem? Please advise and be kind. I'm a complete novice, having
learned all this on my own in the past three months! Don't know much html
and js code, though. HELP!
Quote:
(My site has not been ftp'd to a server yet. I'm sure I'll have even more
problems then.)






Reply With Quote
  #3  
Old   
Marion J
 
Posts: n/a

Default Re: Y'all liked my "Oh My!" but no one answered my question! HELP!! - 08-01-2003 , 10:42 AM




: > mm_menu_0729163139_1_2.childMenuIcon="../images/arrows.gif";

That's your problem. The path to the images is not the same in the template
as it is for the child pages. Remove the ../ from your path in front of
"images" and you'll be fine. You can do a search and replace.

Marion J



Reply With Quote
  #4  
Old   
sxtnlyd webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Y'all liked my "Oh My!" but no one answered my question! HELP!! - 08-01-2003 , 02:28 PM



Thanks!. Yes, all the pages are on the site level. But the answer was simple. I just had to change the code in the template from:

mm_menu_0729163139_1_2.childMenuIcon="../images/arrows.gif"

to:

mm_menu_0729163139_1_2.childMenuIcon="images/arrows.gif"

The arrows will then not show up in the template, but will show up in all of the child pages. The path to the images was not the same in the template as it was for the child pages. See the replies. Marion and Murray hit it right on the head! Thanks, guys




Reply With Quote
  #5  
Old   
Marion J
 
Posts: n/a

Default Re: Y'all liked my "Oh My!" but no one answered my question! HELP!! - 08-01-2003 , 02:42 PM



All my templates have the following path to images in the NON-editable
regions:

<img src="../images/picture.jpg">

And automatically the child pages have this path, which I don't edit, it
just happens:

<img src="images/picture.jpg">

DW is smart enough to put the correct path in. So if your templates folder
is on the same level as your images folder, and you have set a link in a
non-editable region, the path in the template will be different from the
path in the child page.

If however, you are inserting an image into an EDITABLE region of a child
page, then you of course have to put the path in correctly yourself. Without
the ../

MarionJ



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.