Image Path Issue Within Wordpress - PLEASE help!

A place for posting requests and information about images used in the menu.
Post Reply
rebecca
Beginner
Beginner
Posts: 1
Joined: Mon Jan 07, 2008 8:48 pm

Image Path Issue Within Wordpress - PLEASE help!

Post by rebecca »

Hello all.

The menu I am working on is the horizontal all image mouseover, dropdown menu. ( http://milonic.com/download.php?sampleid=18 ) and I am using it within a Wordpress blog.

You can see my blog is here: http://www.treasurehiding.com/ljurban

You can see at the top right of the page, the broken images, and if you mouse over the one that says projects.gif, you can see that it drops down. Obviously, these should all be working images that would display yet a different image on mouseover.

You can see the edits I have made to the menu_data.js here: ( http://pastebin.com/f1f81f522 )

Now. If you look in the js file, you will notice that I am trying to code the image paths using the <?php bloginfo('template_url'); ?> tag. If you are unaware with Wordpress, this tag makes it possible to change the theme without having to recode the page that it's in.

This seems to be where the problem is, because when I hard code the images instead, the menu will display properly. (But I really need to use the template_url method, as opposed to hard-coding.)

The only other changes I have made to the code are placing the javascript files into the header (see here: http://pastebin.com/f6f6170f9 ) and placing the file within the menu file where it is to display (see here: http://pastebin.com/f6beb0b99 ).

Please let me know if there is any other info I can provide, and thanks in advance for any help. I REALLY appreciate it!!

Thanks,
Rebecca
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Image Path Issue Within Wordpress - PLEASE help!

Post by Andy »

HI,

I'm not seeing the menu at http://www.treasurehiding.com/ljurban - If I can see what the output is I should be able to tell you why the images are not working.

-- Andy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Image Path Issue Within Wordpress - PLEASE help!

Post by John »

I see a menu of sorts, but it's not the Milonic menu. If that's the one you need help on I'm afraid you're in the wrong place.
John
Post Reply