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 TouchToneTommy 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 CrazyLuc

  1. CrazyLuc

    change img in iframe from parent link

    Works well. No errors. Thank you! Since you did this favour for us, my partner is offering some graphic work in return. Contact : webmaster@timbermedia.com Thanks again. Cheers.
  2. CrazyLuc

    change img in iframe from parent link

    IE 6.0
  3. CrazyLuc

    change img in iframe from parent link

    Hey chessbot Your new code took care of the last error..but now there is another..i've isolated it on line 21, here that line of code : <a onmouseover="setSource('imagename.jpg')" href="http://www.google.ca" target="#IF1">Joe</a><br><br> and the error says this: Line : 21 Char : 1 Error ...
  4. CrazyLuc

    change img in iframe from parent link

    When I run the code you gave me... the yellow 'road sign' pops up in the status bar and says.. Line: 8 Char : 4 Error : 'document.getElementById(...).document.getElementById(...)' is null or not an object Code : URL : file://C:\IFRAME.html (end) Now do we have to remove the quotations from...
  5. CrazyLuc

    change img in iframe from parent link

    No, still does not produce the effect. must I specify image ID? but since the image only appears when mouseover, then it is nowhere in the html document...unless I were to preload it? Also, since by your function, we're passing in the source value, so once passed in, would it not be interpreted...
  6. CrazyLuc

    change img in iframe from parent link

    Now for the follow up...here's the code in my page which applies to this.. <head> <script type="text/javascript"> function setSource(src) { document.getElementById("ifr").document.getElementById("img").src = src; } </script> </head> <body> <a onmouseover="setSource('imagename.jpg')"...
  7. CrazyLuc

    change img in iframe from parent link

    Hi folks. I have been to many many places..and could find none, and alter none to suit my purpose. (but I got really really close, but ended up not working.) Any insight would be great. I'd like to have a link which upon mouseover, will change the image in an iframe. Only the link is located...

Part and Inventory Search

Back
Top