since ‎30-05-2017
‎10-12-2019
gareth_trufitt
Level 1
Re: Parse Sightly inside HTML comments
Avatar

gareth_trufitt

gareth_trufitt
- Adobe Experience Manager
Brilliant, that works, thank you!

Views

192

Likes

0

Replies

0
Parse Sightly inside HTML comments
Avatar

gareth_trufitt

gareth_trufitt
- Adobe Experience Manager
Hello,We're trying to add an IE8 stylesheet inside conditional comments, but because the parser ignores contents inside comments, it is not converted to a css link correctly: Which gets rendered to: What would be the recommend approach here? I have tried pulling the comment into a different template with the same result. The other approach we were thinking was creating a a component for the comment opening and closing and outputting directly with: response.getWriter().print("

Views

765

Likes

2

Replies

2
Re: Hobbes tests are unable to scroll to a position
Avatar

gareth_trufitt

gareth_trufitt
- Adobe Experience Manager
Perfect, thanks!

Views

33

Likes

0

Replies

0
Re: Hobbes tests are unable to scroll to a position
Avatar

gareth_trufitt

gareth_trufitt
- Adobe Experience Manager
Hi,Thanks for you test case but it doesn't quite match mine I believe - It would seem that that is scrolling an element within the iframe (fixed height with overflow scroll), which does prove that scrollTo works within the iframe - but I am trying to scroll the entire window (html, body). You might normally do this like so:$("html, body").scrollTop($(element).offset().top);but trying to do the same in hobs:var $elementToScroll = hobs.find('html, body'), scrollAmount = hobs.find('.scrollToMe').of...

Views

33

Likes

0

Replies

0
Hobbes tests are unable to scroll to a position
Avatar

gareth_trufitt

gareth_trufitt
- Adobe Experience Manager
We have a test that relies on a user scrolling to a certain position - using scrollTop doesn't seem to work within the iframe window - is there a recommend approach to achieve scrolling using hobbes?

Views

175

Likes

0

Replies

4
Likes given to
Likes from