Line 95: | Line 95: | ||
backToTop(name); | backToTop(name); | ||
if (history.pushState) { | if (history.pushState) { | ||
− | history.pushState(null, null, `/?${name}`); | + | history.pushState(null, null, `https://2018.igem.org/Team:SYSU-Software?${name}`); |
} else { | } else { | ||
− | history.hash(`/?${name}`); | + | history.hash(`https://2018.igem.org/Team:SYSU-Software?${name}`); |
} | } | ||
} | } |
Latest revision as of 01:09, 18 October 2018
let data = {
'Project': [ 'Description', 'Design', 'Feature', 'Techniques', 'Validation', 'Demo', "Contribution", 'Improvement', 'Demostrate'], 'Modeling': [ 'Overview', 'Search & Recommendation System', 'Simulation for Circuits', 'Directed Evolution Algorithm', 'Reference'], 'HumanPractice': [ 'Overview', 'Silver', 'Gold', 'Integrated Human Practice', 'Public Engagement'], 'Collaboration': [ 'XMU-China', 'SCUT-ChinaA', 'WHU-China', 'XJTU-China'], 'Interlab': [ 'Overview', 'Experiment Design', 'Material and Methods', 'Results'], "Safety": [ "Wet Lab Safety", "Dry Lab Safety" ], 'Medal': [ 'Overview', 'Bronze', 'Silver', 'Gold'], 'Team': [ 'Overview', 'Team Members', 'Advisors', 'Instructors & Individuals', 'Notebook'], 'Attributions': [ 'Overview', 'Group Structure', 'Attribution in Project', 'Acknowledgement'],
}
// main menu navigator
let index = 2;
for (ele in data) {
block_list = ['Demo', 'Integrated Human Practice']; let html; if (ele == 'HumanPractice') {html = `
Human Practice