I tired installing this code on alpenami.michiganhotelsguide.com , but to no avail. The company said that I needed to message them in order to activate tracking. I sent them it, and it is still not working, at which point I assumed it was a problem with the code. Any thoughts? I am going through Agoda.com , and all I am used to is HTML, and thus I jsut figured it would snap into place. :

<html>
<head>
<title></title>

</head>
<body>
<div id="SearchBox"> </div>
<script
src="http://
ajaxsearch.partners.agoda.com/partners/Searc
hBox/Scripts/Ago
da.SearchB
oxV2
.
1
.
js" type="text/javascript"></script>
<script type="text/javascript">
var AgodaSearch = new AgodaSearchBox({
cid: 1653026 ,
filterCityName: 'Alpena,Mi',
fixedCityName: true,
fixedCityNameVisible:true,
hotelID: '',
checkInDateBefore:3,
night:2,
language:1,
currencyCode: 'USD',
newWindow: false,
header: '',
footer: '',
style: '
style4
',
Element: 'SearchBox'
});
</script>
<!
--
Default,CmsLanding,Style1, Style2,Style3,
style4,
Style6
--
>
</body>
</html>

Recommended Answers

All 3 Replies

You can also use your browser's dev tools (hit F12) and take a look at the console for any errors or other messages that may provide you with a hint of possible problems.

The SRC and the style:'style4' was the issue. Thanks to bost replies :) .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.