• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

javascript menu and images with alt

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've got a javascript menu that I got off one of the free javascript sites. It allows for images to be used - like a right arrow or down arrow - which is what I am doing. However, if the image isn't able to load, there is no alt attribute to be displayed in the images place. So, I did went through the source code, found out what was going on, and added an alt.



The problem is, when I load the menu with out the images, I still get the dreaded red 'X', but now 'Open Submenu' appears as a tool tip when I hover over my X. Any suggestions?
 
reply
    Bookmark Topic Watch Topic
  • New Topic