282 comments found

gnkdev Purchased

Hi again,

I love your template, but when checking it at http://validator.w3.org/ the code won´t pass the validation. The error is:

"Bad value prettyPhoto[galname] for attribute rel on element a: The string prettyphoto[galname] is not a registered keyword."

Is there a possibility to change the code into valid HTML5?

ClaPat

Hi,

Here is a solution to make it valid:

http://stackoverflow.com/questions/12297854/validation-error- on-prettyphotos-rel-attribute
Default-user
gnkdev Purchased

Hello ClaPat,

thanks for your answer, but as I am not very good at coding Javascript, I really have difficulties to use the solutions provided on the pages you posted. They say:

1. replace all occurrences of attr(‘rel’) with attr(‘data-gal’) and replace all occurrences of a[rel=’ with a[data-gal=’ » I can´t find this in the code. Find & Replace didn´t work

2. Initialize your prettyPhoto with $(“a[data-gal^=’prettyPhoto’]”).prettyPhoto(); » What does this mean? Where do I have to change this?

ClaPat

1. The rel atribute you will find it in html file 2. You need to replace it in scripts.js

Remember this a solution, the original code of prettyphoto is with the rel error in validation.

Regards

Hello, Does this template work with the Weebly Editor, or do I need another editing software. If I need additional software, can you recommend me a good one? I’m a beginner.

Thank you.

by
by
by
by
by
by