Questions tagged [magellan]

Magellan is part of the Zurb Foundation Framekwork. Magellan allows you to create navigation that tracks the active section of a page your user is in.

Magellan is part of the Zurb Foundation Framekwork.

Magellan allows you to create navigation that tracks the active section of a page your user is in.

34 questions
1
vote
1 answer

Responsive headers and Magellan's fixed_top option

How do I define different fixed_top values within magellan's options, or css, to accommodate different header heights on various devices? My header height varies from 60px on medium to 120px on large. The inline nature of Magellan's options trumps…
dbigca
  • 183
  • 5
1
vote
1 answer

Uncaught TypeError: Cannot read property 'top' of undefined foundation.magellan.js line 46

I am getting an error of, uncaught error when i click on any of the sub-navs, on my foundation magellan navigation. it is showing that top is not defined on the line 46 of the foundation.magellation.js please give any solution for the…
no0bCoder
  • 95
  • 1
  • 1
  • 11
1
vote
0 answers

Magellan sticky nav + sidebars

I'm trying to create a layout using foundation where both my nav and my sidebars are fixed as your scroll the page, but the main content is not. Here is my layout: https://i.stack.imgur.com/G2obx.png I'd like the middle content to scroll with the…
0
votes
1 answer

Nested table in BIRT opens too meny db cursors, causing cursor error

Im designing a report in BIRT, where I have 2 data sets and one parent table and under that a child table. For each parent row, I'm firing child table, so it's hitting database everytime. For example if I'm having 100 rows of parent records, for…
Soumyadeep
  • 11
  • 1
  • 3
0
votes
2 answers

How to transform a DataFrame to and RDD[Point] instead of RDD[ROW]?

I have a dataframe with many columns, that I have created from a csv file defining a schema. The only column I'm interest in is a column called "Point", where I defined a magellan Point(long, lat). What I need to do now, is creating an RDD[Point]…
0
votes
1 answer

Why does Foundation Magellan not work when following original demo?

What am I missing to make Foundation's Magellan work? This is my Codepen that is not working, but I copied the same HTML and CSS from this original Foundations Codepen. I have…
0
votes
1 answer

In Magellan / Nightwatch, if we do .waitForElementNotVisible() but the element fade out or in, does the test actually work?

For .waitForElementNotVisible(selector, 2000), supposedly, it can test whether the element is fading out in 0.75 second. But what if our code has a bug, and it is doing the wrong thing and the element is not visible and is fading in? Now, won't…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
0
votes
1 answer

Using magellan-nightwatch, is there a way to assert some element is hidden / displayed?

waitForElementPresent or waitForElementNotPresent probably won't work if the element is not showing on the screen by one of display: none, visible: hidden or opacity: 0. (it should be similar to jasmine-jquery's expecting an element toBeHidden(). )
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
0
votes
2 answers

In the Magellan / Nightwatch framework, how to set a CSS outline on an element?

Suppose in writing or verifying a test, the command code is: pToggleMyCoolToggle: function () { var selectors = this.elements; return this .getEl(selectors.myCoolCheckbox.selector) .moveToEl(selectors.myCoolCheckbox.selector) …
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
0
votes
1 answer

Foundation sticky magellan not working

Im trying to create a little nav that takes me to certain divs on click. It does that, but at the moment it just snaps down to the div. Instead i want a smooth transition down just like it says it should in the documentation. Also, as i scroll down…
RhysE96
  • 187
  • 2
  • 4
  • 17
0
votes
0 answers

Error when initializing Zurb Magellan 6

Having trouble understanding the docs on how to initialize a Magellan menu (http://foundation.zurb.com/sites/docs/magellan.html) Error: Uncaught TypeError: this.$element.data is not a function Magellan @ foundation.js:4192 (anonymous function) @…
HC_
  • 1,040
  • 10
  • 23
0
votes
1 answer

foundation 5 sticky magellan vertical menu

I'm trying to reproduce a magellan sidebar menu like the one on this link http://jsfiddle.net/mBSA4/
0
votes
0 answers

Issue with rewrite url and hash scrolling

I am building a site using Foundation 5, PHP, HTML5 and CSS. I am using the Magellan Nav component from Foundation and it works as expected. The issue I am having is that when I click on a nav link instead of just scrolling and adding a hash to the…
Mihail Minkov
  • 2,463
  • 2
  • 24
  • 41
0
votes
1 answer

Getting rid of Back/Forward buttons in XAML

I have managed to run magellan's (a library which helps with navigation between pages) hello world project so far. The problem is that I don't know how to get rid of the back/forward buttons - those in the picture: I think they are there by default…
ioan
  • 751
  • 1
  • 9
  • 26
0
votes
1 answer

How to add class to Foundation 5 Magellan after it is cloned

I am utilizing Foundation 5's Magellan to fix a header to the top of the window when the page content is scrolled. However, I am not using arrival points. Normally my HTML looks like this: