Go Back   Dynamic Drive Forums > DD Scripts > Dynamic Drive scripts help
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 06-04-2007, 01:46 AM
dragulia dragulia is offline
Junior Coders
 
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Omnislide, How do i get 2 menus away?

Hi guys/girls

Im new at this coding languages, but it seems fun. I pasted the code of omnislide in my dreamweaver, and all works fine. But since i started a bit to adapt some colours and more, i realised i d prefer if the top menu and the right menu should be gone? I tried lots of things but mostlly when i change things in the code all dissapears.


So the actual question is how do i get rid of the top and right menu

ANother reason is bcz in Firefox it doensnt show top menu, so i dlike top and right away, that would be best for my ideas about my site.
Tx for helping in advance

http://www.belgiumdecay.co.nr/


I used: http://search.freefind.com/find.html...uery=omnislide

Code:
/***********************************************
* Omni Slide Menu script - © John Davenport Scheuer
* very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
* as first mentioned in http://www.dynamicdrive.com/forums
* username:jscheuer1
***********************************************/

//One global variable to set, use true if you want the menus to reinit when the user changes text size (recommended):
resizereinit=true;

menu[1] = {
id:'menu1', //use unique quoted id (quoted) REQUIRED!!
fontsize:'90%', // express as percentage with the % sign
linkheight:18 ,  // linked horizontal cells height
hdingwidth:165 ,  // heading - non linked horizontal cells width
// Finished configuration. Use default values for all other settings for this particular menu (menu[1]) ///

menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Galleries"], //create header
["Krommewal - Gent ", "http://users.telenet.be/Urban-Crit-Productions/krommewalgent.htm", ""],
["El Garage - Gent", "http://users.telenet.be/Urban-Crit-Productions/elgaragegent.htm",""],
["Royal villa - Oostende", "http://users.telenet.be/Urban-Crit-Productions/royalvilla.htm", ""],
["Krommeboom - Gent", "http://users.telenet.be/Urban-Crit-Productions/krommeboomoostakker.htm", ""],
["Oostakker - Gentstraat", "http://users.telenet.be/Urban-Crit-Productions/gentstraatoostakker.htm", ""],
["Oostakker - Langerbr.", "http://users.telenet.be/Urban-Crit-Productions/langerbrusestraat.htm", ""],
["Link", "******", "_new"],
["Link", "http://www.basstunecrew.be/", "_new"],
["Link", "******", "_new"],
["Link", "http://www.basstunecrew.be/", "_new"],
["Link", "http://www.smartartmovement.org/", "_new"]  //no comma after last entry

]}; // REQUIRED!! do not edit or remove

menu[2] = {  // REQUIRED!!  This menu explicitly declares all available options even if they are the same as the defaults
id:'menu2', //use unique quoted id (quoted) REQUIRED!!
/////////////////////////////////////
///////////// no quotes for these properties (numbers represent pixels unless otherwise noted): ////////////
/////////////////////////////////////
user_defined_stylesheet:false, //if true, prevents script from generating stylesheet for this menu
user_defined_markup:false, //if true, prevents script from generating markup for this menu
design_mode:false,  //if true, generates a report of the script generated/intended styles and markup (as a design aid)
menutop:160,     // initial top offset - except for top menu, where it is meaningless
menuleft:'45%',    // initial left offset - only for top menu, as pixels (can be a quoted percentage - ex: '50%')
keepinview:80,   // Use false (for not static) - OR - true or numeric top offset when page scrolls
menuspeed:20,    // Speed of menu sliding smaller is faster (interval of milliseconds)
menupause:500,   // How long menu stays out when mouse leaves it (in milliseconds)
d_colspan:3,     // Available columns in menu body as integer
allowtransparent:false, // true to allow page to show through menu if other bg's are transparent or border has gaps
barwidth:20,     // bar (the vertical cell) width
wrapbar:true,    // extend and wrap bar below menu for a more solid look (default false) - will revert to false for top menu
hdingwidth:210,  // heading - non linked horizontal cells width
hdingheight:25,  // heading - non linked horizontal cells height
hdingindent:1,   // heading - non linked horizontal cells text-indent represents ex units (@8 pixels decimals allowed)
linkheight:20,   // linked horizontal cells height
linktopad:3,     // linked horizontal cells top padding
borderwidth:2,   // inner border-width used for this menu
/////////////////////////// quote these properties: /////////////////////
bordercolor:'#000080', // inner border color
borderstyle:'solid',    // inner border style (solid, dashed, inset, etc.)
outbrdwidth:'0ex 0ex 0ex 0ex', // outer border-width used for this menu (top right bottom left)
outbrdcolor:'lightblue',  // outer border color
outbrdstyle:'solid',     // outer border style (solid, dashed, inset, etc.)
barcolor:'white',        // bar (the vertical cell) text color
barbgcolor:'#4d6814',   // bar (the vertical cell) background color
barfontweight:'bold',    // bar (the vertical cell) font weight
baralign:'center',       // bar (the vertical cell) right left or center text alignment
menufont:'verdana',      // menu font
fontsize:'90%',          // express as percentage with the % sign
hdingcolor:'white',      // heading - non linked horizontal cells text color
hdingbgcolor:'#4d6814',  // heading - non linked horizontal cells background color
hdingfontweight:'bold',  // heading - non linked horizontal cells font weight
hdingvalign:'middle',    // heading - non linked horizontal cells vertical align (top, middle or center)
hdingtxtalign:'left',    // heading - non linked horizontal cells right left or center text alignment
linktxtalign:'left',     // linked horizontal cells right left or center text alignment
linktarget:'',           // default link target, leave blank for same window (other choices: _new, _top, or a window or frame name)
kviewtype:'fixed',       // Type of keepinview - 'fixed' utilizes fixed positioning where available, 'absolute' fluidly follows page scroll
menupos:'top',         // set side that menu slides in from (right or left or top)
bartext:'MY MENU',       // bar text (the vertical cell) use text or img tag
///////////////////////////
menuItems:[
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Hot Sites"], //create header
["Link", "_new"],
["STEM72", "http://www.stem72.be/","_new"],
["Link", "******", "_new"],

["Search", "", "", 2, "no"], //create two column header w/ 2 and 1 column members, requires d_colspan:3
["Search", "", "", 1],
["Google", "http://www.google.com/", "_new", 1, "no"], //create three column row, requires d_colspan:3
["Link", "******", "_new", 1, "no"],
["Link", "******", "_new", 1],

["Personal", "", ""], //create header
["Link", "******", "_new"],
["Link", "******", "_new"]  //no comma after last entry

]}; // REQUIRED!! do not edit or remove

menu[3] = {
id:'menu3', //use unique quoted id (quoted) REQUIRED!!
bartext:'RIGHT MENU',
menupos:'right',
kviewtype:'fixed', 
menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Galleries"], //create header
["Krommewal - Gent ", "http://users.telenet.be/Urban-Crit-Productions/krommewalgent.htm", ""],
["El Garage - Gent", "http://users.telenet.be/Urban-Crit-Productions/elgaragegent.htm",""],
["Royal villa - Oostende", "http://users.telenet.be/Urban-Crit-Productions/royalvilla.htm", ""],
["Krommeboom - Gent", "http://users.telenet.be/Urban-Crit-Productions/krommeboomoostakker.htm", ""],
["Oostakker - Gentstraat", "http://users.telenet.be/Urban-Crit-Productions/gentstraatoostakker.htm", ""],
["Oostakker - Langerbr.", "http://users.telenet.be/Urban-Crit-Productions/langerbrusestraat.htm", ""],

["Link", "**", "_new"],
["Link", "**", "_new"],


["Link", "**", "_new"],
["Link", "**", "_new"],
["Link", "**", "_new"]  //no comma after last entry

]}; // REQUIRED!! do not edit or remove

////////////////////Stop Editing/////////////////

make_menus();
Reply With Quote
  #2  
Old 06-04-2007, 02:12 AM
thetestingsite's Avatar
thetestingsite thetestingsite is offline
The Guy That Moderates
 
Join Date: Sep 2006
Location: St. George, UT
Posts: 2,795
Thanks: 3
Thanked 156 Times in 154 Posts
Default

Try this:

Code:
/***********************************************
* Omni Slide Menu script - © John Davenport Scheuer
* very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
* as first mentioned in http://www.dynamicdrive.com/forums
* username:jscheuer1
***********************************************/

//One global variable to set, use true if you want the menus to reinit when the user changes text size (recommended):
resizereinit=true;

menu[1] = {
id:'menu1', //use unique quoted id (quoted) REQUIRED!!
fontsize:'90%', // express as percentage with the % sign
linkheight:18 ,  // linked horizontal cells height
hdingwidth:165 ,  // heading - non linked horizontal cells width
// Finished configuration. Use default values for all other settings for this particular menu (menu[1]) ///

menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Galleries"], //create header
["Krommewal - Gent ", "http://users.telenet.be/Urban-Crit-Productions/krommewalgent.htm", ""],
["El Garage - Gent", "http://users.telenet.be/Urban-Crit-Productions/elgaragegent.htm",""],
["Royal villa - Oostende", "http://users.telenet.be/Urban-Crit-Productions/royalvilla.htm", ""],
["Krommeboom - Gent", "http://users.telenet.be/Urban-Crit-Productions/krommeboomoostakker.htm", ""],
["Oostakker - Gentstraat", "http://users.telenet.be/Urban-Crit-Productions/gentstraatoostakker.htm", ""],
["Oostakker - Langerbr.", "http://users.telenet.be/Urban-Crit-Productions/langerbrusestraat.htm", ""],
["Link", "******", "_new"],
["Link", "http://www.basstunecrew.be/", "_new"],
["Link", "******", "_new"],
["Link", "http://www.basstunecrew.be/", "_new"],
["Link", "http://www.smartartmovement.org/", "_new"]  //no comma after last entry

]}; // REQUIRED!! do not edit or remove

////////////////////Stop Editing/////////////////

make_menus();
Hope this helps.
__________________
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
The Testing Site | Atomic Yeti
Reply With Quote
  #3  
Old 06-04-2007, 02:46 AM
dragulia dragulia is offline
Junior Coders
 
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Tx a lot it works fine. tx
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:56 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.