- $(document).ready(function() {
- $('#searchButton').click(function () {
- $('#theMap').html('<img id="selfCareMain" width="1024" height="600" src="images/selfcare_menu/selfcare_menu.jpg" usemap="mapArea" />');
- $('html, body').animate({
- scrollTop: $("#theMap").offset().top
- }, 1000);
- var mapCode = "<area shape='rect' coords='534,137,656,169' title='Reboot the STB with this button.' onclick='' /><area shape='rect' coords='534,192,726,219' title='MyAccount options in here' onclick='displayMyaccount()' />";
- $('#mapArea').html(mapCode);
- });
- });
- function displayMyaccount() {
- $('#theMap').html('<img id="selfCareMyaccount" width="1024" height="600" src="images/selfcare_menu/selfcare_myaccount_menu.jpg" usemap="mapArea" />');
- }