• 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

Parent window redirecting to undefined url

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ranchers,

I am facing a strange issue in IE6,7 browsers.

I have a TestLink text and a image test-icon.gif inside a anchor HTML element.

Below is the code to open a child window when user clicks on the TestLink link or test-icon.gif image. when user clicks on the TestLink everything is fine as expected but when user clicks on the test-icon.gif the child window opens but the parent window gets redirected to undefined url.

As i said above it is observed only in IE6,7 browsers.





FYI: In the above code, i have used a span element inside a anchor element as i want only the TestLink text underlined inside the anchor element not the image test-icon.gif inside the anchor element.

Any help is really appreciated, thanks in advance for your time and attention.

 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well it would help to show us your code, but I am guessing it uses an object reference, but the reference is the image and not the link when clicked.

Personally I would not use an image tag. I would use a background image with no repeat, positioned left center, with padding to give space for it.

Eric
reply
    Bookmark Topic Watch Topic
  • New Topic