| {$list[0][title]} |

{$cdtat_start} $('#rss_feed_container_{$id}').css("height", "210px"); /* Opera fix */ $("#rss_feed_container_{$id}").css("top", "0px") $("#rss_feed_container_{$id}").css("left", "0px") /* EOF: Opera fix */ $("#rss_feed_container_{$id}").Resizable( { minHeight:50, maxHeight:400, handlers: { s: '#feedResize_{$id}' }, onStart: function() { $(".footer").hide(); $.iAutoscroller.start(this, document.getElementsByTagName('html')); onRssActionDesktopHeight( true, (400 - parseInt($(this).height())) ); }, onResize: function() { }, onStop: function() { $.iAutoscroller.stop(); $(".footer").show(); onRssActionDesktopHeight(); /* Save this feed's height in the DB */ RssDesktopSaveSettings( '{$id}', "height" ); } }); /* Show/hide the feed settings */ $("#rss_feed_{$id} .feedHeader").mouseover( function () { $("#rss_feed_{$id} .feedOptions").show(); }).mouseout( function () { $("#rss_feed_{$id} .feedOptions").hide(); }); /* Add item button */ $("#rss_feed_{$id} .feedAddItem").click( function () { $("#rss_feed_{$id} .feedUpdateIndicator").show(); $.ajax({ url: '/ajax/rss_feed_settings.php', type: 'GET', data: 'locale=' + LOCALE + '&desktopversion=' + DESKTOPVERSION + '&id={$id}&save=true&num_items=1', complete: function () { $.ajax({ url: '/ajax/rss_refresh_feed.php', type: 'POST', data: 'locale=' + LOCALE + '&desktopversion=' + DESKTOPVERSION + '&id={$id}' }); } }); }).mouseover(function () { $(this).addClass("feedAddItem_hover"); }).mouseout (function () { $(this).removeClass("feedAddItem_hover"); }); /* Remove item button */ $("#rss_feed_{$id} .feedRemoveItem").click( function () { $("#rss_feed_{$id} .feedUpdateIndicator").show(); $.ajax({ url: '/ajax/rss_feed_settings.php', type: 'GET', data: 'locale=' + LOCALE + '&desktopversion=' + DESKTOPVERSION + '&id={$id}&save=true&num_items=-1', complete: function () { $.ajax({ url: '/ajax/rss_refresh_feed.php', type: 'POST', data: 'locale=' + LOCALE + '&desktopversion=' + DESKTOPVERSION + '&id={$id}' }); } }); }).mouseover(function () { $(this).addClass("feedRemoveItem_hover"); }).mouseout (function () { $(this).removeClass("feedRemoveItem_hover"); }); /* Delete button */ $("#rss_feed_{$id} .feedDeleteButton").click( function() { deleteFeed({$id}); onRssActionDesktopHeight(); }).mouseover(function () { $(this).addClass("feedDeleteButton_hover"); }).mouseout (function () { $(this).removeClass("feedDeleteButton_hover"); }); {$cdtat_end}