Results 1 to 8 of 8

Thread: Omni Slide always present

  1. #1
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Omni Slide always present

    1) Script Title: Omni Slide always present

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...lide/index.htm

    3) Describe problem:
    Hello, sorry for my bad English.
    I installed ominislide, it’s very nice and functional, but I have a problem:
    The navigation bar appears on mouse over, I would like to appear automatically when opening the forum.
    What should I change? Thanks

    This is my script

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title>Forum Stella</title>
    <style type="text/css">
    /*Menu Links*/

    /*NOTE: anything not specified for the #(menu id's) a selector and its pseudo classes
    may be inherited in some browsers from other 'a' element styles (if any) on the page*/



    #menu2 a {color:navy;background-color:white;text-decoration:none;text-indent:1ex;}
    #menu2 a:active {color:blue;text-decoration:none;}
    #menu2 a:visited {color:blue;text-decoration:none;}
    #menu2 a:hover {color:navy;background-color:#f0fea8}


    /*End Menu Links*/
    </style>
    <script src="mmenu.js" type="text/javascript"></script>
    <script src="menuItems.js" type="text/javascript">

    /***********************************************
    * Omni Slide Menu script - © John Davenport Scheuer: http://home.comcast.net/~jscheuer1/
    * 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
    ***********************************************/

    </script>

    </head>

    <body>
    <p style="height: 1px"></p>

    </body>

    </html>


    /***********************************************
    * 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[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:false, // 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:'#FFCC66', // 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:'dashed', // outer border style (solid, dashed, inset, etc.)
    barcolor:'white', // bar (the vertical cell) text color
    barbgcolor:'#990000', // 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:'#990000', // 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:'absolute', // Type of keepinview - 'fixed' utilizes fixed positioning where available, 'absolute' fluidly follows page scroll
    menupos:'right', // set side that menu slides in from (right or left or top)
    bartext:'Sezioni Forum', // 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
    ["Stella Vincente"], //create header
    ["my directory", "http://www.my link", "_new"],
    ["my directory", "http://www.my link/","_new"],
    ["my directory", "http://www.my link/", "_new"],
    ["my directory", "http://www.my link", "_new"],
    ["my directory", "http://www.my link", "_new"],
    ["my directory", "http://www.my link", "_new"],
    ["my directory", "http://www.my link", "_new"],


    ["my directory", "", "", 1],
    ["my directory", "http://www.my link", "_new"], //create three column row, requires d_colspan:3
    ["my directory", "http://www.my link", "_new"],
    ["my directory", "http://www.my link", "_new"],

    ["my directory", "", ""], //create header
    ["my directory", "http://www.my link", "_new"],
    ["my directory", "http://www.my link, "_new"] //no comma after last entry


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



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

    make_menus();

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Would you like it to appear automatically and then function normally after that? If so, place this highlighted line at the end of your menuItems.js file as shown:

    Code:
     . . . ory", "http://www.my link", "_new"],
     ["my directory", "http://www.my link/","_new"],
     ["my directory", "http://www.my link/", "_new"],
     ["my directory", "http://www.my link", "_new"],
     ["my directory", "http://www.my link", "_new"],
     ["my directory", "http://www.my link", "_new"],
     ["my directory", "http://www.my link", "_new"],
    
    
     ["my directory", "", "", 1],
     ["my directory", "http://www.my link", "_new"], //create three column row, requires d_colspan:3
     ["my directory", "http://www.my link", "_new"],
     ["my directory", "http://www.my link", "_new"],
    
     ["my directory", "", ""], //create header
     ["my directory", "http://www.my link", "_new"],
     ["my directory", "http://www.my link", "_new"] //no comma after last entry
    
    
     ]}; // REQUIRED!! do not edit or remove
    
    
    
     ////////////////////Stop Editing/////////////////
    
     make_menus();
     document.getElementById('menu2').onmouseover();
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Good, thanks

    but I expressed myself badly.

    I post pictures to figure out what I want

    without the string that I've added the first opening of the forum seemed so

    (then the slide is open on mouse over)



    then after I pass the mouse in the area of the navigation bar, looks like and remains that way forever, until the next re-opening of the forum



    by adding the string of data now looks like this




    I wish this forum was to take such opening in absolute position



    Thanks and sorry for my requests
    Last edited by paolpepas; 07-13-2011 at 10:23 AM.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    My link to page for forum test is here


    the forum-test is closed, but you just move your mouse near the scroll bar to see what I mean

    thanks
    Last edited by paolpepas; 07-13-2011 at 05:27 PM.

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That's fine, I just needed to see it.

    The problem is that as configured the page is invalid. It's really two pages in one.

    Load the page in the browser and use the browser's 'view source' to see the code. You will see that it has two DOCTYPES, two html tags, two heads, and two body tags. Only one each allowed per page.

    You really need to correct that situation. That's often due to a PHP include. When a page is included into another page, that second page should not have a DOCTYPE, html, head, or body tags, unless the 'top' page doesn't have them.

    But with a package like vBulletin, it might be hard to track it down. Still you need to figure out what's causing it.

    If you can't figure it out, perhaps a vBulletin forum could help.

    Take the script off the page and ask in a vBulletin forum why you have two DOCTYPES, two html tags, two heads, and two body tags. They should be able to help you fix that part. Give them a link to the page without the script.

    Once that's fixed, the script should be fine. Just put it back like it was. But if you still are having problems after fixing the two pages in one problem, let me know.
    Last edited by jscheuer1; 07-13-2011 at 08:40 PM. Reason: English Usage
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I study for a solution. You were very kind, Thanks

  8. #8
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Here I am, I put the files in the original forum, but, fortunately, and I have not seen the two DOCTYPES, two html tags, etc.etc. , But the slide was not visible. I modified the file this string MenuItems

    original
    barWidth: 20, / / bar (the vertical cell) width
    replaced with
    barWidth: 36, / / bar (the vertical cell) width
    and everything works fine.

    Thanks for everything, hello soon

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •