javascript - Fancybox css issue -


i use fancybox html page can't style link open fancybox. normaly use class style html link fancybox class given fancybox. need change background color of link liks this:

background-color: #e9f3d8; 

here fancybox script use html page

<script type="text/javascript"> $(document).ready(function() {     $(".contactform").fancybox({         'width'         : 750,         'height'        : 420,         'autoscale'     : false,         'transitionin'  : 'none',         'transitionout' : 'none',         'type'          : 'iframe'     }); }); </script> 

and link page looks linke this

<a href="../waar-vind-je-ons/contact_form.php" class="contactform">mail</a> 

hard recreate problem jsfiddle because work fine here

<style>     {     background-color: #e9f3d8;     } </style> <script> $(document).ready(function() {     $(".contactform").fancybox({         'width'         : 750,         'height'        : 420,         'autoscale'     : false,         'transitionin'  : 'none',         'transitionout' : 'none',         'type'          : 'iframe'     }); }); </script> 



maybe give more details can or maybe wrong recreating.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -