reza_telecom
دوشنبه 28 دی 1394, 15:54 عصر
سلام دوستان. من به ی مشکلی برخوردم. میخوام این کد رو بنویسم. میتونید کمکم کنید :
Using the provided solution, develop a widget that displays a list of hotels within a given place (a place is a geographical entity that we reference via a unique file name).
The widget should:
Display the name of the place to which the hotels belong.
List the name, image, star rating and rate for the 5 cheapest hotels in the place.
Automatically update the list of hotels every minute.
Include a “refresh” button that can be used to manually refresh the list of hotels.
Be 300 pixels wide.
Be capable of being displayed on pages outside of the provided project.
Be capable of being displayed more than once on the same page.
Be compatible with Chrome, Firefox and IE8+.
Not reference any external JavaScript libraries other than jQuery.
Be self-contained. Adding a widget to a page should require no modifications to the HTML other than adding a single script tag in the position at which the widget should appear.
file:///C:\Users\Reza\AppData\Local\Temp\msohtmlclip1\01\c lip_image001.png138480
This version of the widget will always be displayed on pages on the same domain upon which the widget is hosted.
The provided solution contains an implementation of IPlaceRepository that will return all the necessary place, hotel and pricing information for a given place file name; you do not need to implement your own repository.
To demonstrate your widget, place two instances inside default.htm in the provided project: one for Tokyo (file name: “Tokyo”) and one for New York City (file name: “New_York_City”).
Using the provided solution, develop a widget that displays a list of hotels within a given place (a place is a geographical entity that we reference via a unique file name).
The widget should:
Display the name of the place to which the hotels belong.
List the name, image, star rating and rate for the 5 cheapest hotels in the place.
Automatically update the list of hotels every minute.
Include a “refresh” button that can be used to manually refresh the list of hotels.
Be 300 pixels wide.
Be capable of being displayed on pages outside of the provided project.
Be capable of being displayed more than once on the same page.
Be compatible with Chrome, Firefox and IE8+.
Not reference any external JavaScript libraries other than jQuery.
Be self-contained. Adding a widget to a page should require no modifications to the HTML other than adding a single script tag in the position at which the widget should appear.
file:///C:\Users\Reza\AppData\Local\Temp\msohtmlclip1\01\c lip_image001.png138480
This version of the widget will always be displayed on pages on the same domain upon which the widget is hosted.
The provided solution contains an implementation of IPlaceRepository that will return all the necessary place, hotel and pricing information for a given place file name; you do not need to implement your own repository.
To demonstrate your widget, place two instances inside default.htm in the provided project: one for Tokyo (file name: “Tokyo”) and one for New York City (file name: “New_York_City”).