![]() |
can you check if a link has been pressed? or a picture?
hey, i am trying to figure out if i press a link or a picture
to be able to take that moment some one press it it will not send me to the link destination it will send me to a embedded player with that URL or something like that so my question is can you take over like that or impossible? Thank you in advance. ^^ |
umm... What kind of embedded player? Like, youtube style? Windows player style?
Unless if you stream it youtube style, they will download the video to their temp directory before playing it (using more bandwidth). |
well anyways thats not the case i want to just know a example on how to like take over a link or picture they pressed and see if he also did click it.
|
The css selector a:active can do it, or the onclick event handler.
|
yeah but i asked for it in php ? :S
|
It's a frontend thing - PHP only handles server side requests, you're looking for some sort of JavaScript to use the onclick="" attribute. You could always use AJAX with onclick to call a PHP file.
|
Thank you, redSHIFT
|
| All times are GMT. The time now is 06:51 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0