Forums
>
Product Discussion - DotNetNuke Modules
>
Dynamic Forms
Linkbutton CSS bug
Last Post 07-09-2013 07:47 AM by Ryan Bakerink. 3 Replies.
Author
Messages
Pontus Österlin
wading in the water
Posts:22
07-07-2013 11:31 PM
I have implemented a CSS linkbutton as suggested in demo #36. But the code also generates a small box next to the button. This bug can also be seen in the demo below:
http://www.datasprings.com/products...-great-css
How do I get rid of this small box (to the right of the linkbutton)?
Pontus
Ryan Bakerink
river guide
Posts:1900
07-08-2013 05:31 AM
Hello Pontus,
This small box to the right of the Submit button belongs to the Clear Button section.
This is occurring because the Submit and Clear buttons share the same CSS class "DynamicForms_Link".
So you can perform one of the following to remove this behavior:
1.) Change the CSS class associated with the Clear Button, or make this an HTML button and the CSS class should be changed.
2.) Use JavaScript to hide the clear button.
This is an example:
document.getElementById('dnn_ctr2287_DynamicForms_lnkClear').style.display = 'none';
You would apply this JavaScript under Module Configuration -> Advanced Coding Options -> Custom JavaScript file -> Initial JavaScript.
Please let me know if you have any questions.
Thanks,
Ryan
Pontus Österlin
wading in the water
Posts:22
07-09-2013 07:28 AM
Thanks! I got the JavaScript code to work after some experimenting. You forgot to mention that the value for ctr2287 changes.
So the instruction should be:
document.getElementById('dnn_ctrXXX_DynamicForms_lnkClear').style.display = 'none';
Change XXX to the correct value
Tip: Use Firebug for Firefox to see inspect the Clear Button and see the value for XXX
Ryan Bakerink
river guide
Posts:1900
07-09-2013 07:47 AM
Hello Pontus,
I labeled the JavaScript that I provided as an "example".
But nonetheless, glad to see that you have this working now.
Thank you for the followup, I'm certain this will help another down the road.
-Ryan
Forums
>
Product Discussion - DotNetNuke Modules
>
Dynamic Forms
film izle
720 izle
film
sinema izle
film makinesi
T�rk�e dublaj film
film izle
film izle
baglan film izle
sinema izle
1080 film izle
film mercegi