Forum Moderators: open
everything has worked fine - Now the company wants to change the site - I am using a big iFrame now to display content. However - the urlSub links I had before will not work and I just know it is my lack of DOM knowledge. He is what I am using for the iFrame version:
----------------------------------------------------------------
var url_base = "example.com";
function urlSubstitution(url_in)
{
document.getElementById['portalFrame'].src = "http://"+ url_base + "/" + url_in;
}
------------------------------------------------------------------
and for reference, here is how I am calling the urlSub.js in my line: (using the Milonic drop down menus)
aI("text=Title Page;url=javascript:urlSubstitution('transco/sheet.asp?stype=0');target=portalFrame");
thanks all in advance - this has been a killer.
[edited by: eelixduppy at 6:06 am (utc) on Nov. 12, 2008]
[edit reason] exemplified [/edit]
document.getElementById['portalFrame'].src
parent.frames['rightPane'].location.href =
and for reference, here is how I am calling the urlSub.js in my line: (using the Milonic drop down menus)aI("text=Title Page;url=javascript:urlSubstitution('transco/sheet.asp?stype=0');target=portalFrame");
I confess I am a bit confused and don't know what is going on there for sure.