×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How do I get text in place of images in fw_menu

How do I get text in place of images in fw_menu

How do I get text in place of images in fw_menu

(OP)
Hi,

This is probably quite simple but I can't figure it out. If any of you are familiar with fw_menu's? I'm editing mine in textpad and I can't seem to get an image to appear insead of text. Here's the code:

  window.fw_menu_1 = new Menu("root",200,30,"Arial, Helvetica, sans-serif",11,"#ffffff","#17C4DA","#424D8F","#424D8F");
  fw_menu_1.addMenuItem("text here not image","location='somewhere.html'");

Any help would be great.

Thanks,

Roger

RE: How do I get text in place of images in fw_menu

hi, I haven't used a drop menu in ages, but here is code from a text one I did, hope it helps

CODE

function mmLoadMenus() {
  if (window.mm_menu_1104184009_0) return;
  window.mm_menu_1104184009_0 = new Menu("root",66,16,"Arial, Helvetica, sans-serif",10,"#ffffff","#00ff00","#000000","#000000","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
  mm_menu_1104184009_0.addMenuItem("Bookstop");
  mm_menu_1104184009_0.addMenuItem("Holidays");
  mm_menu_1104184009_0.addMenuItem("Events");
  mm_menu_1104184009_0.addMenuItem("Forum");
  mm_menu_1104184009_0.addMenuItem("Hot Issues");
  mm_menu_1104184009_0.addMenuItem("Shopping");
  mm_menu_1104184009_0.addMenuItem("Rise");
   mm_menu_1104184009_0.fontWeight="bold";
   mm_menu_1104184009_0.hideOnMouseOut=true;
   mm_menu_1104184009_0.menuBorder=0;
   mm_menu_1104184009_0.menuLiteBgColor='#ffffff';
   mm_menu_1104184009_0.menuBorderBgColor='#ffffff';
   mm_menu_1104184009_0.bgColor='#00ff00';
 

Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close