jquery - Want to use comment in html embeded with javascript -
this javascript file code , want comment html tag please suggest me how can comment html code.
this sample code of javascript want comment 1 div
i have tried //
, have tried <\!--..-->
have tried /\*..*/
, not work.
(function ($) { $.prettyphoto = { version: '3.1.2' }; $.fn.prettyphoto = function (pp_settings) { pp_settings = jquery.extend({ animation_speed: 'fast', slideshow: 5000, autoplay_slideshow: false, opacity: 0.80, show_title: true, allow_resize: true, default_width: 500, default_height: 344, counter_separator_label: '/', theme: 'pp_default', horizontal_padding: 20, hideflash: false, wmode: 'opaque', autoplay: true, modal: false, deeplinking: true, overlay_gallery: true, keyboard_shortcuts: true, changepicturecallback: function () {}, callback: function () {}, ie6_fallback: true, markup: '<div class="pp_pic_holder"><div class="ppt"> </div><div class="pp_top"><div class="pp_left"></div><div class="pp_middle"></div><div class="pp_right"></div></div><div class="pp_content_container"><div class="pp_left"><div class="pp_right"><div class="pp_content"><div class="pp_loadericon"></div><div class="pp_fade"><a href="#" class="pp_expand" title="expand image">expand</a><div class="pp_hovercontainer"><a class="pp_next" href="#">next</a><a class="pp_previous" href="#">previous</a></div><div id="pp_full_res"></div><div class="pp_details"><div class="pp_nav"><a href="#" class="pp_arrow_previous">previous</a><p class="currenttextholder">0/0</p><a href="#" class="pp_arrow_next">next</a></div><p class="pp_description"></p>{pp_social}<a class="pp_close" href="#">close</a></div></div></div></div></div></div><div class="pp_bottom"><div class="pp_left"></div><div class="pp_middle"></div><div class="pp_right"></div></div></div>*
for div tag have use <\!-- div , content --\>
like this:
<!-- <\!--<div> content </div> --\> -->
Comments
Post a Comment