Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

gareth_trufitt
Community profile gareth_trufitt Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 30-05-2017 7:10:34 AM
Offline
Top badges earned by gareth_trufitt
Customize the badges you want to showcase on your profile
Re: Parse Sightly inside HTML comments
Avatar
Validate 1
Level 1
gareth_trufitt
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
gareth_trufitt
- Adobe Experience Manager
Brilliant, that works, thank you!

Views

275

Likes

0

Replies

0
Parse Sightly inside HTML comments
Avatar
Validate 1
Level 1
gareth_trufitt
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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

854

Likes

2

Replies

2
Re: Hobbes tests are unable to scroll to a position
Avatar
Validate 1
Level 1
gareth_trufitt
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
gareth_trufitt
- Adobe Experience Manager
Perfect, thanks!

Views

59

Likes

0

Replies

0
Re: Hobbes tests are unable to scroll to a position
Avatar
Validate 1
Level 1
gareth_trufitt
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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

59

Likes

0

Replies

0
Hobbes tests are unable to scroll to a position
Avatar
Validate 1
Level 1
gareth_trufitt
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
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

215

Likes

0

Replies

4
Likes given to
Likes from