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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: pahiker
  • Content: Threads
  • Order by date
  1. pahiker

    Changing iFrame src

    I am having problems changing the src attribute on iFrames, is/was this not a supported attribute in IE7? Because of the number of people still using XP, and IE7, I need this to work. The error message I am getting out of IE7 is: Line 24, Char 4, error: 'document.getElementById(...)' is null...
  2. pahiker

    IE9 resize

    Odd as it seems, I have the resizing working everywhere except IE9. I've tried everything I can think of, and everything I could find searching to no avail. Here is the site: Link Here is the resize code: <script type="text/javascript"> function iFrameHeight(iframeName) { var body =...
  3. pahiker

    Bad object reference

    I have a script trying to change the height in an object tag. It is working in most browsers but a few, like IE7 are tossing an error: Here is the script, the line with the obj.height is what is causing the problem. I tried changing the setting of obj to getElementByTagName and it works (no...
  4. pahiker

    IE Version checking not working

    The code below is to test for IE7 or 8 to inform the viewer of incompatibility, but it doesn't work. The first alert does show 7 or 8, but the second alert never displays, I have tried it as 7.0 and just 7. function versionCheck() { var rv = -1; if (navigator.appName == 'Microsoft Internet...
  5. pahiker

    IE8 object work around

    I have just about everything working on th site (Link), except for IE8 (9&10 work fine). Is there a way to get the object tag to work in IE8? <object id="objContent" data="Home/Prayer.html" width="100%" height="100%" type="text/html"></object> The problem is that IE8 doesn't load the page...
  6. pahiker

    Changing data on an object

    I'm trying to change the data reference onap an object, but it's not working. Any idea what's wrong with the code? <HEAD> <script type="text/javascript"> function setContent(btn) { alert("made it"); document.getElementById("Content").data = "Home/AboutUs.html"; return; } </script> </HEAD>...
  7. pahiker

    Trying to change the onclick event

    For the most part it works, but the text to be sent via the onclick is held in an array. When the code executes it transfers the name of the array, not it's contents. How do I fix that? e.onclick = function() {update(ary[l][0]);}; Let all bear in mind that a society is judged not so much by...
  8. pahiker

    HTML validation help

    I ran the code below through the W3C validation and received two errors, which I am at a loss to understand. Code is below the errors. Line 23, Column 6: document type does not allow element "BODY" here Line 63, Column 7: end tag for "HTML" which is not finished <!DOCTYPE HTML PUBLIC...
  9. pahiker

    iFrame resize

    I know this topic has been done a lot, but what I have tried does not seem to work well, at least in my situation. Here is my development site: Link What should happen is that the left side (Father's Prayer) should resize to fit the content. The content is located in different pages, all on my...
  10. pahiker

    Changing href on the fly

    Hi, newbie here. I am in the process of revising a website, one of the tasks is to create a pair of buttons which, when clicked, will set the href for other buttons on the page. I have a sample code, but for some reason the target href is not being changed. When I click on "Click", then on...

Part and Inventory Search

Back
Top