•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,539 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,245 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 2503 | Replies: 1
![]() |
•
•
Join Date: Oct 2007
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
I now have the above query working, but I need help with the following which is related.
I am using the following code to transfer info to Flash using Flash's ExternalInterface class.
<script language="JavaScript" type="text/javascript">
<!--
function thisMovie(movieName) {
var isIE = navigator.appName.indexOf("Microsoft") != -1;
return (isIE) ? window[movieName] : document[movieName];
}
function makeCall(str,str2) {
thisMovie("extint").asFunc(str,str2);
}
// -->
</script>
The event handler is within the <Body> tag ie: onscroll = "javascript:makeCall()"
This works fine in FireFox and IE7 but will not work in IE6. Can I trigger the function without using the <Body> tag?
Thanks in advance!
I am using the following code to transfer info to Flash using Flash's ExternalInterface class.
<script language="JavaScript" type="text/javascript">
<!--
function thisMovie(movieName) {
var isIE = navigator.appName.indexOf("Microsoft") != -1;
return (isIE) ? window[movieName] : document[movieName];
}
function makeCall(str,str2) {
thisMovie("extint").asFunc(str,str2);
}
// -->
</script>
The event handler is within the <Body> tag ie: onscroll = "javascript:makeCall()"
This works fine in FireFox and IE7 but will not work in IE6. Can I trigger the function without using the <Body> tag?
Thanks in advance!
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Abnormal Behaviour of Vertical ScrollBar (VB.NET)
- AutoScrolling a DIV tag (JavaScript / DHTML / AJAX)
- How to stop the scroll position when webpage gets refreshed? (JavaScript / DHTML / AJAX)
- window events and javascript objects (JavaScript / DHTML / AJAX)
- surprising behaviour of an applet with swing program (Java)
- scrolling images (JavaScript / DHTML / AJAX)
- cmd box no scroll (Windows NT / 2000 / XP / 2003)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Creating a popup menu on mouse over
- Next Thread: Applying CSS to new objects


Linear Mode