I earlier had three links <a> and I use the onclick event to write
<a onclick = "window.location = '';
self.resizeTo(,)">
but I have to replace with flash buttons in place of <a> tags. I am wondering is it possible to use 'onclick property' with '<object>' or how both of those JS commands can be run on click of a flash button?
help with <object>
Moderator: General Moderators
- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact:
Perhaps does work like an image link ... I don't know
Code: Select all
<a onclick = "e;window.location = ''; self.resizeTo(,)"e;><object>...</object></a>- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact:
- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact:
Solved
I have to give the javascript code in the url of the flash button which will run all the scripts
link: javascript:window.location(); self.resizeTo(,);
link: javascript:window.location(); self.resizeTo(,);