Menu icon Foundation

My Posts






My Comments

stephen freir commented on stephen freir's post about 4 years

Thanks for getting back to me Rafi

I have tried your code above but didn't work.

There is something conflicting.

I going to try subtracting elements.

I might also add I'm using foundation for angular.

I'll start by removing it

stephen freir commented on stephen freir's post about 4 years

Thanks for the reply Chris

I solved the problem by Initialising the the $anchorSroll at run time. For anyone having this problem add the code below. I had to give up on the auto scroll option as I couldn't resolve it.
```App.run(function( $rootScope, $anchorScroll){

//stephen Send state to the top of every page.
$rootScope.$on('$stateChangeSuccess', function () {
$anchorScroll();

});

stephen freir commented on stephen freir's post about 4 years

Thanks for the reply Chris

I solved the problem by Initialising the the $anchorSroll at run time. For anyone having this problem add the code below. I had to give up on the auto scroll option as I couldn't resolve it.
```App.run(function( $rootScope, $anchorScroll){

//stephen Send state to the top of every page.
$rootScope.$on('$stateChangeSuccess', function () {
$anchorScroll();

});

stephen freir commented on stephen freir's post about 4 years

Thanks for the reply Chris

I solved the problem by Initialising the the $anchorSroll at run time. For anyone having this problem add the code below. I had to give up on the auto scroll option as I couldn't resolve it.
```App.run(function( $rootScope, $anchorScroll){

//stephen Send state to the top of every page.
$rootScope.$on('$stateChangeSuccess', function () {
$anchorScroll();

});

stephen freir commented on stephen freir's post about 4 years

Thanks for the reply Chris

I solved the problem by Initialising the the $anchorSroll at run time. For anyone having this problem add the code below. I had to give up on the auto scroll option as I couldn't resolve it.
```App.run(function( $rootScope, $anchorScroll){

//stephen Send state to the top of every page.
$rootScope.$on('$stateChangeSuccess', function () {
$anchorScroll();

});

stephen freir commented on stephen freir's post about 4 years

Thanks for the reply Chris

I solved the problem by Initialising the the $anchorSroll at run time. For anyone having this problem add the code below. I had to give up on the auto scroll option as I couldn't resolve it.
```App.run(function( $rootScope, $anchorScroll){

//stephen Send state to the top of every page.
$rootScope.$on('$stateChangeSuccess', function () {
$anchorScroll();

});

stephen freir commented on stephen freir's post over 4 years

Thanks for the detailed run through Eric, much appreciated.

From your answer I am getting the sense that foundation is not meant to plug into a project but rather a project has to be adapted to work within the foundation skeleton. Is this correct?

I'm working with a large project which we hoped to incorporate foundation into it .
It's unrealistic for us to start from scratch so we tried loading the following items into the header manually.

I haven't managed to get this working yet. Is this or a similar method possible or do you feel we are fighting a losing battle?

Posts Followed


Following

    No Content

Followers

My Posts

My Comments

You commented on stephen freir's post about 4 years

Thanks for getting back to me Rafi

I have tried your code above but didn't work.

There is something conflicting.

I going to try subtracting elements.

I might also add I'm using foundation for angular.

I'll start by removing it

You commented on stephen freir's post about 4 years

Thanks for the reply Chris

I solved the problem by Initialising the the $anchorSroll at run time. For anyone having this problem add the code below. I had to give up on the auto scroll option as I couldn't resolve it.
```App.run(function( $rootScope, $anchorScroll){

//stephen Send state to the top of every page.
$rootScope.$on('$stateChangeSuccess', function () {
$anchorScroll();

});

You commented on stephen freir's post about 4 years

Thanks for the reply Chris

I solved the problem by Initialising the the $anchorSroll at run time. For anyone having this problem add the code below. I had to give up on the auto scroll option as I couldn't resolve it.
```App.run(function( $rootScope, $anchorScroll){

//stephen Send state to the top of every page.
$rootScope.$on('$stateChangeSuccess', function () {
$anchorScroll();

});

You commented on stephen freir's post about 4 years

Thanks for the reply Chris

I solved the problem by Initialising the the $anchorSroll at run time. For anyone having this problem add the code below. I had to give up on the auto scroll option as I couldn't resolve it.
```App.run(function( $rootScope, $anchorScroll){

//stephen Send state to the top of every page.
$rootScope.$on('$stateChangeSuccess', function () {
$anchorScroll();

});

You commented on stephen freir's post about 4 years

Thanks for the reply Chris

I solved the problem by Initialising the the $anchorSroll at run time. For anyone having this problem add the code below. I had to give up on the auto scroll option as I couldn't resolve it.
```App.run(function( $rootScope, $anchorScroll){

//stephen Send state to the top of every page.
$rootScope.$on('$stateChangeSuccess', function () {
$anchorScroll();

});

You commented on stephen freir's post about 4 years

Thanks for the reply Chris

I solved the problem by Initialising the the $anchorSroll at run time. For anyone having this problem add the code below. I had to give up on the auto scroll option as I couldn't resolve it.
```App.run(function( $rootScope, $anchorScroll){

//stephen Send state to the top of every page.
$rootScope.$on('$stateChangeSuccess', function () {
$anchorScroll();

});

You commented on stephen freir's post over 4 years

Thanks for the detailed run through Eric, much appreciated.

From your answer I am getting the sense that foundation is not meant to plug into a project but rather a project has to be adapted to work within the foundation skeleton. Is this correct?

I'm working with a large project which we hoped to incorporate foundation into it .
It's unrealistic for us to start from scratch so we tried loading the following items into the header manually.

I haven't managed to get this working yet. Is this or a similar method possible or do you feel we are fighting a losing battle?

Posts Followed


Following

  • No Content

Followers

  • No Content