Skyscanner 航班搜索小部件在 Skyscanner 的网站上显示搜索结果...如何在我的网站上的同一页面上显示搜索结果。我不想在 Skyscanner 的网站上重定向以获取结果。我的代码小部件代码是
skyscanner.load("snippets","2");
function main(){
var snippet = new skyscanner.snippets.SearchPanelControl();
snippet.setMarket("UK")
snippet.setCulture("en-GB");
snippet.setCurrency("GBP");
snippet.setShape("box300x250");
snippet.draw(document.getElementById("snippet_searchpanel"));
}
skyscanner.setOnLoadCallback(main);
</script>
</head>
<body>
<div id="snippet_searchpanel" style="width: auto; height:auto;"></div>
</body>