jquery.global_menu's People
jquery.global_menu's Issues
スクロールアップダウン時イベント付与する
目的
テスト項目(要件)
タスク詳細
- XXXX
- XXXX
- XXXX
参考 URL
その他
IEで追従機能/スクロールアップで見えなくする機能が動かない
目的
テスト項目(要件)
タスク詳細
- XXXX
- XXXX
- XXXX
参考 URL
その他
READMEのオプション・イベントの説明
READMEのデモのリンクをgithub.ioに向ける
目的
テスト項目(要件)
タスク詳細
- XXXX
- XXXX
- XXXX
参考 URL
その他
pull_request_template.md の修正
下記のようにする
close #
## やったこと
- XXXXXXX
## テスト項目
- [ ] XXXXXX
## 参考 URL
## その他
グロナビの高さが縮んでも、通常時の高さを親要素へjs側から付与
固定されていてもcloneメソッドでやれると思う
デモ : 最初から固定されている、サブメニューも動作
目的
テスト項目(要件)
タスク詳細
- XXXX
- XXXX
- XXXX
参考 URL
その他
scroll down up のクラス名を使用しておきたい
GlobalMenu.prototype.gm_position_fixed_view_out = function() {
let _ = this,
is_fixed = 'is_fixed',
is_scroll_up = 'is_scroll_up',
is_scroll_down = 'is_scroll_down',
last_position = 0,
curr_position = 0;
$(window).on('scroll', function(){
if(parseInt($(area_header).offset().top + $(area_header).height()) < $(window).scrollTop()){
curr_position = $(this).scrollTop();
let remove_class = curr_position <= last_position?
is_scroll_down : is_scroll_up,
add_class = curr_position <= last_position?
is_scroll_up : is_scroll_down;
$area_header
.removeClass(remove_class)
.addClass(
add_class + ' ' +
is_fixed
);
last_position = curr_position;
}else{
$area_header.removeClass(
is_scroll_up + ' ' +
is_scroll_down + ' ' +
is_fixed
);
}
});
}
.gm_item_name がaタグの時の挙動設定
目的
タッチディスプレイじゃない時
→aタグ動かない
タッチディスプレイ
768以上:→aタグ動かない
767以下:→aタグにする
テスト項目(要件)
タスク詳細
- XXXX
- XXXX
- XXXX
参考 URL
その他
グローバルメニュープラグイン作成
テスト項目(要件)
- サブメニュー・メガメニュー機能
- PC時にホバーで出てくるか
- タッチディスプレイ時にタップで出てくるか
- スクロール追従機能
- スクロール時に追従するか
- その他機能
- SP時は非表示になるか
- 表示ページURLの第一階層と一致するグローバルメニューのアイテムに「.active」付与
タスク詳細
- グローバルメニュープラグイン作成
- README.md作成
submenuのクラスをカスタムから追加できるようにする
目的
テスト項目(要件)
タスク詳細
- XXXX
- XXXX
- XXXX
参考 URL
その他
デモ作成 : メニュー表示バリエーション
サブメニュー:767以下動かないようにする
スクロール固定
目的
テスト項目(要件)
タスク詳細
- XXXX
- XXXX
- XXXX
参考 URL
その他
アコーディオンメニューの幅を改行しないように広げる機能追加
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.