![]() |
onClick Function Help
Hello all!
This is my website: www.damianplisko.com Im trying to figure out a way to have the div to the left of the video show different information everytime the user clicks on the number below the video box. The problem is that the numbers below the video already have a function assigned to them to change the source of the video. Help would be appreciated :) |
Can you just add that functionality to the existing functions? Are you using jQuery?
|
onclick can execute a number of things. Call a function to change the div. Also suggest you add an ID to the div. If the ID were target the number one button could do this:
Code:
<li><a href="#" onClick="document.getElementById('target').innerHTML = 'A differt story'; addDynamicSource('DemoReel_Plisko'); return false;">1</a></li> |
thanks guys, I will try this
|
it worked, thanks for the tip!
|
| All times are GMT +1. The time now is 11:01 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.