title: send variable fancybox onclick event
body: <p>ı want to send href value. but its not working.</p>
  
  <pre><code>function display () {
  $.fancybox({
  'href': 'index.php',
  'width'    : '75%',
  'height'   : '75%',
  'autoScale'   : false,
  'transitionIn'  : 'none',
  'transitionOut'  : 'none',
  'type'    : 'iframe'
  
   });
  
  }
  </code></pre>
  
  <p>ı tryed this :</p>
  
  <pre><code>function display (who) {
  $.fancybox({
  'href': 'index.php'+who,
  'width'    : '75%',
  'height'   : '75%',
  'autoScale'   : false,
  'transitionIn'  : 'none',
  'transitionOut'  : 'none',
  'type'    : 'iframe'
  
   });
  }
  
  &lt;a onclick="javascript:display("?id=11");" href="#"  &gt;create&lt;/a&gt;
  </code></pre>
  
  <p>this onclick event inside the innerhtml so its not working with ' slash </p>
  
  <p>why</p>