-
getElementById
Hi,
I am calling a function from an external javascript file using a flash function to toggle the div of a site. It works fine with firefox but just not happening in ie7. This is the code:
Flash Function (inside SWF that sits in the html)
function removeAjax(){
getURL( "javascript:removeAjaxBar('ajaxbar');");
}
Javascript File (external file called in at top of page)
function removeAjaxBar(d) {
document.getElementById(d).style.height = "10px";
}
CSS (External file called at top of page)
#ajaxbar{
position:relative;
top:194px;
width:973px;
height:31px;
left:13px;
_left: 0px;
z-index:65;
background-image: url(../images/bar.png);
background-repeat: repeat-x;
background-position: center;
visibility:visible;
Any ideas?
-
-
I thought I might as well upload an example of what I mean, it might be easier for understand what I mean. Please try in firefox and then in ie7.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks