Author Topic: Activate 2 \'onclick\' events by clicking 1 link?  (Read 114 times)

0 Members and 1 Guest are viewing this topic.

Offline MrSpecialist

  • Sr. Member
  • *
  • Posts: 345
  • Karma: +1/-0
  • I'm an expert!
    • View Profile
Activate 2 \'onclick\' events by clicking 1 link?
« on: December 02, 2008, 06:35:26 AM »
Is it possible to activate 2 \'onclick\' events by clicking 1 link?

These are the 2 events I\'m using & I want to execute both of them at the same time by clicking on one link:


<a href="#" onclick="effect_1 = Effect.SlideUp(\'slide-up\',{duration:1.0}); return false;">up[/url]               <a href="#" onclick="effect_1 = Effect.SlideDown(\'slide-down\',{duration:1.0}); return false;">down[/url]

Ideally the first event would run & complete, then the next event would start.

Techronnati | where technology never sleeps

Activate 2 \'onclick\' events by clicking 1 link?
« on: December 02, 2008, 06:35:26 AM »

Mountain View

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
177 Views
Last post April 07, 2017, 07:39:13 AM
by Corps
1 Replies
4870 Views
Last post October 28, 2016, 04:54:08 AM
by JusticeLeague
0 Replies
127 Views
Last post December 02, 2008, 03:06:23 AM
by Corps
0 Replies
112 Views
Last post December 02, 2008, 07:03:40 AM
by MrSpecialist
0 Replies
58 Views
Last post December 23, 2009, 06:31:37 AM
by nomadic

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.