Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Modifikation]Sliding Bar
#11
(2009-06-01, 10:08 PM)-=snAke=- Wrote: you can also use this http://www.dynamicdrive.com/dynamicindex.../index.htm
and modify it too fit your needs Toungue

Actually implementing into templates is the major problem for javascripts... That's why its suitable for you to download this Modification, and why not, Its FREE Smile
Reply
#12
Just wondering... Where do I make the sidebar link edits?
.ninja {
   color: black;
   visibility: hidden;
   animation-duration: 0.00001s;
}
Reply
#13
(2009-06-02, 03:58 AM)Elegant Totality Wrote: Just wondering... Where do I make the sidebar link edits?

Yes its missed by the author to explain,
I downloaded it last night and get the idea that Menu Links Can be edited through menuItems.js file through manually
Reply
#14
Where though? =/ I'm just seeing strange code all over the place
.ninja {
   color: black;
   visibility: hidden;
   animation-duration: 0.00001s;
}
Reply
#15
(2009-06-02, 04:48 AM)Elegant Totality Wrote: Where though? =/ I'm just seeing strange code all over the place

Open menuItems.js in NotePad, and find
menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Forum Links"], //create header
[" Index", "http://tritec.it.cx/community/index.php", ""],
[" Portal", "http://tritec.it.cx/community/portal.php",""],
[" Member List", "http://www.tritec.it.cx/community/memberlist.php", ""],
[" Calendar", "http://www.tritec.it.cx/community/calendar.php", ""],
[" Search", "http://tritec.it.cx/community/search.php", ""],
[" Help", "http://tritec.it.cx/community/misc.php?action=help", ""],

and replace the links to your suite...
Reply
#16
Ok thanks Ghazal =)

Now where can I change its color? Its totally clashing with my theme =/
.ninja {
   color: black;
   visibility: hidden;
   animation-duration: 0.00001s;
}
Reply
#17
(2009-06-02, 06:13 AM)Elegant Totality Wrote: Ok thanks Ghazal =)

Now where can I change its color? Its totally clashing with my theme =/

opened Up mmenu.js and find
function make_style_make_menu(o, s){
if(s){
if(!o.id) {alert('a unique id is required for each menu');return;};
if(!o.menuItems||o.menuItems.constructor!=Array) {alert('an array of menu items is required for each menu');return;};
if(!o.menutop) {o.menutop=150};
if(!o.menuleft) {o.menuleft='50%'};
if(!o.keepinview&&typeof o.keepinview=='boolean')
o.keepinview=false;
else if(!o.keepinview) {o.keepinview=30};
if(!o.menuspeed) {o.menuspeed=20};
if(!o.menupause) {o.menupause=500};
if(!o.d_colspan) {o.d_colspan=2};
if(!o.allowtransparent) {o.allowtransparent=false};
if(!o.barwidth) {o.barwidth=22};
if(!o.hdingwidth) {o.hdingwidth=149};
if(!o.hdingheight) {o.hdingheight=22};
if(!o.hdingindent) {o.hdingindent=1};
if(!o.linkheight) {o.linkheight=16};
if(!o.outbrdwidth) {o.outbrdwidth=0};
if(!o.outbrdcolor) {o.outbrdcolor="none"};
if(!o.outbrdstyle) {o.outbrdstyle="none"};
if(!o.borderwidth) {o.borderwidth=1};
if(!o.bordercolor) {o.bordercolor="#74C2E1"};
if(!o.borderstyle) {o.borderstyle="solid"};
if(!o.barcolor) {o.barcolor="white"};
if(!o.barbgcolor) {o.barbgcolor="#444444"};
if(!o.barfontweight) {o.barfontweight="bold"};
if(!o.baralign) {o.baralign="center"};
if(!o.menufont) {o.menufont="verdana"};
if(!o.fontsize) {o.fontsize="80%"};
if(!o.hdingcolor) {o.hdingcolor="white"};
if(!o.hdingbgcolor) {o.hdingbgcolor="#E61740"};
if(!o.hdingfontweight) {o.hdingfontweight="bold"};
if(!o.hdingvalign) {o.hdingvalign="middle"};
if(!o.hdingtxtalign) {o.hdingtxtalign="center"};

and change the colors , font, font style etc to suite your needs Smile
Reply
#18
That's perfect now! Big Grin

Now the staff is asking for weird placements =/ They want some words aligned left, others right, and others centered. Is that possible?
.ninja {
   color: black;
   visibility: hidden;
   animation-duration: 0.00001s;
}
Reply
#19
(2009-06-02, 12:33 PM)Elegant Totality Wrote: Now the staff is asking for weird placements =/ They want some words aligned left, others right, and others centered. Is that possible?

Nothing Impossible in this World. Smile
This is possible but you have to alter the code too much, I mean that I have noticed the coding of mmenu.js through which this can be change, But I came to know that after some lines You noticed "right" "left" words, that need to change ... and this need a strong urge for the original author to ask Big Grin
Reply
#20
Mkays Big Grin Thanks for all the help!

psssst... *whisper* Author!
.ninja {
   color: black;
   visibility: hidden;
   animation-duration: 0.00001s;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)