PDA

View Full Version : One click - two actions



rexi
09-03-2012, 05:28 PM
Hello,..
I am looking for help about how can make one click on the two links that effect on two scripts.This is about "onclick="include_video"..and "onclick="slidedown_showHide('box1')".

I making the video system with other script.It is no easy,I am understand,but I hope from someone help about that.
I will try explain,..in this PAGE (http://ddr12.blogger.ba/) you will see small blue picture,..when mouse over it,..will be see links for example some singers,..and and this singers picture has some links of songs.
So,When I click one link-song,..it open new video right,and under small picture has small red color light.This is for closing singers picture.It working good,..but I want move out this small red light,..I want,when I click some link-song on singers picture,that return on blue picture when was start.

So I am not need red light for closing,..so when I click some link-song,..it going in beginning to show empty blue picture.This is one click,making two action.

This is code for example:


<a href="javascript: void(0)" onclick="include_video('http://www.youtube.com/v/FKV2oeS4vw8?version=3&rel=0&autoplay=1&showinfo=0&start=0&autohide=0')">

<a href="#" onclick="slidedown_showHide('box2');return false;">

Thanks.

jscheuer1
09-03-2012, 08:49 PM
If they both worked separately, this is how to combine thrm:


<a href="#" onclick="include_video('http://www.youtube.com/v/FKV2oeS4vw8?version=3&rel=0&autoplay=1&showinfo=0&start=0&autohide=0');slidedown_showHide('box2');return false;">

rexi
09-03-2012, 10:01 PM
Hello John,..
You are genius.Now working perfect... THANK YOU very,very much !!.

( Also thanks to "Molendijk" for his machine video system which I using with other scripts combination).