image issues

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
sjp1966
Advanced
Advanced
Posts: 15
Joined: Mon Jul 26, 2004 9:41 pm

image issues

Post by sjp1966 »

In my menu (http://homepage.ntlworld.com/steve.peto/movies/dvd.html) the is a link called Other Stuff, there is normally a couple of small images in there but no matter what i do i can never get them to appear

Does anyone have any words of wisdom?

thanks

Steve
Steve P
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

From what I can see, google.gif and the other don't seem to be there.

Just drop them into the same area are arrow.gif, as that is showing ok.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
sjp1966
Advanced
Advanced
Posts: 15
Joined: Mon Jul 26, 2004 9:41 pm

Post by sjp1966 »

the images are in the same directory

basically i use dreamweaver and in the template directory i have the 4 images (google, imdb, arrow and arrowdn) the arrows appear on the template page, but not the imdb and google

i have placed a pic here http://homepage.ntlworld.com/steve.peto/menu.htm i really cant see what is wrong

in the js file the path to the images are

aI("text= Google.com;image=google.gif;url=http://www.google.co.uk;separatorsize=1");
aI("text= IMDB;image=imdb.jpg;url=http://www.imdb.com;separatorsize=1");

i have tried putting ../templates/ at the begining but the images still do not appear
Steve P
sjp1966
Advanced
Advanced
Posts: 15
Joined: Mon Jul 26, 2004 9:41 pm

Post by sjp1966 »

Has no-one encountered this before, i have tried several different things, but still no joy

Steve
Steve P
sjp1966
Advanced
Advanced
Posts: 15
Joined: Mon Jul 26, 2004 9:41 pm

Post by sjp1966 »

people

i am desperate for some help here.

Im my attempts to fix the image issue the entire menu has disappeared now and no matter what i do i cannot get it back, i just dont have the knowledge to deal with this

i originally had everything set out as the picture at http://homepage.ntlworld.com/steve.peto/menu.htm i have since changed it so all 4 js files are also under the templates directory with the images.

the script in the template file in dreamweaver read as
<SCRIPT language=JavaScript src="../Templates/milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=../Templates/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=../Templates/mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="../Templates/menu_data.js" type=text/javascript></SCRIPT>

and nothing, the menu just does not appear, i have tried it without ../templates or without the ../ part, and nothing.

please can someone advise on what im doing wrong

i have noticed that when i view source on a page create from the template it look liek this
<SCRIPT language=JavaScript src="../../milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=../mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=../mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="../../menu_data.js" type=text/javascript></SCRIPT>

basically putting an additional ../ in front of src_js and the menu_data_js
Steve P
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

Just taken a look at it and things seem to be ok now, so I guess you've got it sorted!

I don't work weekends so don't log onto the forum, otherwise would have tried to help sooner.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
sjp1966
Advanced
Advanced
Posts: 15
Joined: Mon Jul 26, 2004 9:41 pm

Post by sjp1966 »

fredlongworthhighschool wrote:Just taken a look at it and things seem to be ok now, so I guess you've got it sorted!

I don't work weekends so don't log onto the forum, otherwise would have tried to help sooner.
Hi

yes i persevered and managed to sort it out, i was really pulling my hair out as you could probably tell by the desperation in my last email.

So i went back to basics, created a little test site with just a few pages and went to work.

my individual dvd pages used to be in root>movies>dvd_have and it all seemed work when i moved all of the pages to root>movies AND have the JS files at root

I must say it was a nightmare but it all turned out well in the end, thanks for replying
Steve P
Post Reply