a little bit of validation


the fancybox gallery trying implement working fine finding validation error turning in dwcs6 of following code:

validation error:

bad value first_gallery attribute rel on element a: not absolute url. string first_gallery not registered keyword or absolute url. [html5]

 

html:

<div class="box">

    <div class="boxinner">

      <a class="fancybox" rel="first_gallery" href="igallery/images/large/nahc-r-1.jpg">

<img src="igallery/images/thumb/nahc-r-1.jpg" alt="">

</a><div class="titlebox">an old greenhouse</div></div></div>

 

javascript:

<script type="text/javascript">

          $(document).ready(function() {

                    $("a.fancybox").fancybox();

                    $(".fancybox").fancybox({

                    preveffect          : 'none',

                    nexteffect          : 'none',

                    helpers          : {

                              title          : {

                                        type: 'outside'

                              },

                              thumbs          : {

                                        width          : 50,

                                        height          : 50

                              }

                    }

          });

          });

</script>


 

its suggested validation correction (attached below) dont get.

 

validation suggestion.png

 

any suggestions please?? how can correct code . . .

check doctype declaration.

 

it has xhtml doctype in order rel attribute used way , validate.

 

html5 need use data attribute validate, i'm not sure if fancybox allows that.


edit: either way, particular error "shouldn't" throw browsers quirks or non-standard modes, basically, shouldn't see display problems because of if leave in.



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Thread: Raspberry pi wont get past the login menu!!!

Illustrator CS5 javascript JPEG export 300 DPI & max quality