From 2c3ad5c88af8e511070a531cca00369f66183e32 Mon Sep 17 00:00:00 2001 From: Nina Vyedin Date: Mon, 4 Mar 2013 18:32:51 -0500 Subject: [webdoc] working towards webdoc xummary presentation --- webdoc/api.master | 3 ++- webdoc/common.css | 11 ++++++++++- webdoc/common.js | 46 ++++++++++++++++++++++++++++++++++++++++++++++ webdoc/index.aspx | 1 + webdoc/monodoc.ashx | 38 ++++++++++++++++++++------------------ webdoc/monodoc.css | 1 + webdoc/plugins.def | 9 +++++---- 7 files changed, 85 insertions(+), 24 deletions(-) create mode 100644 webdoc/common.js create mode 100644 webdoc/monodoc.css (limited to 'webdoc') diff --git a/webdoc/api.master b/webdoc/api.master index a09fa42e..10ea2d1d 100644 --- a/webdoc/api.master +++ b/webdoc/api.master @@ -17,11 +17,12 @@ <% = Plugin.GetPluginContent (Plugin.PluginContent.Css) %> + +<% = Plugin.GetPluginContent (Plugin.PluginContent.Header) %>
- <% = Plugin.GetPluginContent (Plugin.PluginContent.Header) %> + } + + var main_part = $('#main_part'); + var content_frame = main_part.find('#content_frame'); + var resize_mainpart = function () { + main_part.height (getHeight() - 75); + main_part.children('#side').css ('height', '100%'); + content_frame.css ('height', '97.5%'); + } + + var resizeTimer; + $(window).resize(function() { + clearTimeout(resizeTimer); + resizeTimer = setTimeout(resize_mainpart, 100); + }); + + resize_mainpart (); +}); diff --git a/webdoc/index.aspx b/webdoc/index.aspx index fb0e422d..249eaf68 100644 --- a/webdoc/index.aspx +++ b/webdoc/index.aspx @@ -27,6 +27,7 @@ string nQueryString=monodocUrl+"?";
+
diff --git a/webdoc/monodoc.ashx b/webdoc/monodoc.ashx index 236785d1..83c68e6c 100644 --- a/webdoc/monodoc.ashx +++ b/webdoc/monodoc.ashx @@ -322,29 +322,31 @@ namespace Mono.Website.Handlers ctx.Response.Write (@" - - - - + + + + +