Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tanaquil

  1. tanaquil

    js get element by page name?

    thanks so much for the replies, lee and greg - so how would i integrate it in to the javascript, do you think - use the mouseup event ? i tried adding to the mouse up event the following code, but now the rollover isn't working at all - any suggestion you might have would be great -thanks! case...
  2. tanaquil

    js get element by page name?

    yeah, definitely - i'm using a script from oreilly to make an image map with rollover, only requiring two images for regular and over state - the javascript hides the over until the hotspot is accessed and then only shows through that piece of the image below: function initMaps() { if...
  3. tanaquil

    js get element by page name?

    thanks - no, actually, that's what i'm trying still to do = by getting the page name, i use it like an id to control which menu item is highlighted. it's easy when the menu is a list, but this is an image map and i'm not sure how to link it this way - do you know what i mean? thanks much for the...
  4. tanaquil

    js get element by page name?

    thanks for the reply kaht - i can't use the title because these pages use a common title header - the attribute i think i want to use is: var sPage = sPath.substring(sPath.lastIndexOf('/') + 1); bc this id's the page - and then use it to keep the menu item highlighted. does this make sense...
  5. tanaquil

    js get element by page name?

    hey all - new member here - does anyone know a way to use the getElement to check the page name ? i have an image map with rollover effect and want to keep the visibility if the page is the menu item clicked. does that make sense or do i need to be more detailed? any suggestions would be most...

Part and Inventory Search

Back
Top