tiny scrollbar update

This commit is contained in:
Harry Bomrah 2013-04-16 16:17:37 +08:00 committed by Matt K. Fu
parent ead749cfed
commit d651669d5c
9 changed files with 14 additions and 9 deletions

View File

@ -579,12 +579,12 @@ var orbitDesktop = function(dom){
$(o.contentHolder).html(o.desktopData[o.currentface]); $(o.contentHolder).html(o.desktopData[o.currentface]);
try{ try{
if(!customload){ if(!customload){
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]")); o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"),o.desktopData[o.currentface]);
}else{ }else{
if(submenuitem) if(submenuitem)
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[custom-load="+submenuitem+"]")); o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[custom-load="+submenuitem+"]"),o.desktopData[o.currentface]);
else else
o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]")); o.sub_menu_item($(o.contentHolder).find("*[content-type=menu] a[load=true]"),o.desktopData[o.currentface]);
} }
}catch(EX){} }catch(EX){}
cache = true; cache = true;

View File

@ -97,5 +97,4 @@
var od = new orbitDesktop("#ajax_container"); var od = new orbitDesktop("#ajax_container");
o.notify("Welcome "+o.currentUsername+"!!","alert",3); o.notify("Welcome "+o.currentUsername+"!!","alert",3);
</script> </script>
<%= javascript_include_tag "personal_journal" %>
<%= javascript_include_tag "personal_conference" %>

View File

@ -5,7 +5,7 @@ class Panel::PersonalConference::Desktop::ConferenceCoAuthorsController < Applic
@conference_co_authors = ConferenceCoAuthor.where(name_id: current_user.id).asc(:co_author) @conference_co_authors = ConferenceCoAuthor.where(name_id: current_user.id).asc(:co_author)
@conference_co_author_relations = ConferenceCoAuthorRelation.all @conference_co_author_relations = ConferenceCoAuthorRelation.all
@conference_co_authors = @conference_co_authors.page(page).per(50) @conference_co_authors = @conference_co_authors.page(page).per(40)
respond_to do |format| respond_to do |format|
format.html { render :layout => false} format.html { render :layout => false}

View File

@ -104,7 +104,7 @@ class Panel::PersonalConference::Desktop::ConferencePagesController < Applicatio
] ]
end end
@conference_lists = all_conference_lists.uniq @conference_lists = all_conference_lists
respond_to do |format| respond_to do |format|
format.html { render :layout => false} format.html { render :layout => false}

View File

@ -1,3 +1,4 @@
<%= javascript_include_tag "personal_conference" %>
<div id="conference_p"> <div id="conference_p">
<div id="content"> <div id="content">
<div id="header" class="hh2"> <div id="header" class="hh2">

View File

@ -0,0 +1,3 @@
/* css test*/
#harry { font-size: 10px;}

View File

@ -5,7 +5,7 @@ class Panel::PersonalJournal::Desktop::JournalCoAuthorsController < ApplicationC
@journal_co_authors = JournalCoAuthor.where(name_id: current_user.id).asc(:co_author) @journal_co_authors = JournalCoAuthor.where(name_id: current_user.id).asc(:co_author)
@journal_co_author_relations = JournalCoAuthorRelation.all @journal_co_author_relations = JournalCoAuthorRelation.all
@journal_co_authors = @journal_co_authors.page(page).per(50) @journal_co_authors = @journal_co_authors.page(page).per(40)
respond_to do |format| respond_to do |format|
format.html { render :layout => false} format.html { render :layout => false}

View File

@ -115,7 +115,7 @@ class Panel::PersonalJournal::Desktop::JournalPagesController < ApplicationContr
end] end]
end end
@journal_lists = all_journal_lists.uniq @journal_lists = all_journal_lists
respond_to do |format| respond_to do |format|
format.html { render :layout => false} format.html { render :layout => false}

View File

@ -1,3 +1,5 @@
<%= javascript_include_tag "personal_journal" %>
<%= stylesheet_link_tag "personal_journal" %>
<div id="journal_p"> <div id="journal_p">
<div id="content"> <div id="content">
<div id="header" class="hh2"> <div id="header" class="hh2">