help with <object>

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
raghavan20
DevNet Resident
Posts: 1451
Joined: Sat Jun 11, 2005 6:57 am
Location: London, UK
Contact:

help with <object>

Post by raghavan20 »

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?
djot
Forum Contributor
Posts: 313
Joined: Wed Jan 14, 2004 10:21 am
Location: planet earth
Contact:

Post by djot »

Perhaps does work like an image link ... I don't know

Code: Select all

<a onclick = &quote;window.location = ''; self.resizeTo(,)&quote;><object>...</object></a>
User avatar
raghavan20
DevNet Resident
Posts: 1451
Joined: Sat Jun 11, 2005 6:57 am
Location: London, UK
Contact:

Post by raghavan20 »

looks like it doesnot work
User avatar
raghavan20
DevNet Resident
Posts: 1451
Joined: Sat Jun 11, 2005 6:57 am
Location: London, UK
Contact:

Solved

Post by raghavan20 »

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(,);
Post Reply