Hi,
I dont know why the swf file has to be clicked in order to start working in explorer, it shows outlined until you click, and then it starts running, any way arround this?
Thanks a bunch!![]()
Hi,
I dont know why the swf file has to be clicked in order to start working in explorer, it shows outlined until you click, and then it starts running, any way arround this?
Thanks a bunch!![]()
There's a javascript method, I believe, as well as, I think, modification of part of the object/embed tags.
Try searching the forum, as there have been several discussions of this.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
The javascript method is discussed in my posts here.
I am trying this also.
My test page is www.nickschale.us/joni (the test nav bar is on the ABOUT page)
Pulling my last few hairs out with this... could someone take a look and lend some advice?
Well in JavaScript do this -
<script>
document.onload=function() {
document.getElementById('id').click()
}
</script>
Just replace id with the objects id, though I do not know if this would work for what your looking for, but it does with things like check boxes...
I doubt it. That's taking too much control of the user's computer. With that, if it worked for anything, you could help the user click ok to agree to install a bunch of spyware, ok to delete all the files on his/her harddrive, then ok to give you his/her credit card numbers.
![]()
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Its not like that...
I looked at your source. One question I have is where your swfobject.js file resides. Is it in the same directory as your page? You probably also want to move your link to that file from the <td> up to the head. Other than that, the only thing I see is that I've never tried to use it within a table. But I can't see why it wouldn't work that way.
It will basically click on the whole obejct itself and not a single area on any object... EG a checkbox...
I looked again and found the problem. You've got the "flashcontent" <div> started twice. Delete the first one, and I'd guess you should be good to go.Code:<td colspan="3" bgcolor="#990000"><div id="flashcontent"> <script type="text/javascript" src="swfobject.js"></script> <div id="flashcontent"> <a href="index.html">Home</a> | <a href="about.html">About</a> | <a href="services.html">Services</a> | <a href="benefits.html">Benefits</a> | <a href="menu.html">Menus</a> | <a href="faq.html">FAQ</a> | <a href="contact.html">Contact</a> </div> <script type="text/javascript"> var so = new SWFObject("flash/navbar.swf", "navbar", "790", "25", "8", "#990000"); so.write("flashcontent"); </script></td>
Bookmarks