Forum Discussion
Use CSS to hide the existing buttons and place yours there via studio.
Then write your javascript to check the post div on page load (why wait til it's clicked right :) ) and then either make the button generate an alert on click or function as normal.
You'll have to make sure you wrap the javascript in the Lithium wrapper so it queues up with the rest and executes after the page is ready.
We have to keep in mind that by hidding the buttons, using CSS, the end user can always use the developer tools / FireBug on their web browser to make them visible again, and therefore post the character set they want ... ;-)
OlivierS wrote:
We have to keep in mind that by hidding the buttons, using CSS, the end user can always use the developer tools / FireBug on their web browser to make them visible again, and therefore post the character set they want ... ;-)
Sounds like I'm not the only one who constantly uses the developer console to touch things on webpages.
So many HTML comments to be found ;)
Related Content
- 11 years ago
- 10 years ago
- 14 years ago
- 12 years ago
- 11 years ago