Horizontal tree menu, Java script

Please let me know where can i get Javascript code(not css) for horizontal tree menu. If you have please send the code.
good luck.

ManasaSri wrote:
Please let me know where can i get Javascript code(not css) for horizontal tree menu. If you have please send the code.
good luck.You are confusing JavaScript with Java. The two languages are only vaguely similar. You may want to direct your question to a [Javascript Forum|http://forums.devshed.com/javascript-development-115/]. As this question is unrelated to Java, I will lock this thread.

Similar Messages

  • How can I link to pages in a 2 level popup index/selection tree with java script?

    I can do a single level popup index using the java script below (#1) and link the selections to pages but to change to a  2 level popup index selection tree as below (#2) I can't seem to figure out how to link to pages. Any help greatly appreciated. Thanks
    1
    var itemIndex = app.popUpMenu("INTRODUCTION", "ALPHABET", "GRAMMAR", "NUMBERS", "DATES & TIME", "GETTING TO KNOW PEOPLE", "PHRASES FOR LEARNING", "DIRECTIONS & TRANSPORTATION", "DESCRIBING THE TRAIL", "DO'S & DON'TS", "EQUIPMENT", "FOOD", "INTRODUCING A VILLAGE", "CULTURE AND ETHNIC GROUPS", "HANDICRAFTS", "TEMPLES & MONKS", "AGRICULTURE", "ANIMAL HUSBANDRY", "SCHOOL & EDUCATION", "LEADING A TREK", "NATIONAL PROTECTED AREAS", "IDENTIFYING WILDLIFE", "PLANTS & FORESTS", "BOATS", "CAVES", "HEALTH AND SAFETY")
    switch (itemIndex) {
    case "INTRODUCTION":
    this.pageNum = 1
    break
    case "ALPHABET":
    this.pageNum = 2
    break
    case "GRAMMAR":
    this.pageNum = 5
    break
    case "NUMBERS":
    this.pageNum = 30
    break
    case "DATES & TIME":
    this.pageNum = 35
    break
    case "GETTING TO KNOW PEOPLE":
    this.pageNum = 42
    break
    case "PHRASES FOR LEARNING":
    this.pageNum = 56
    break
    case "DIRECTIONS & TRANSPORTATION":
    this.pageNum = 59
    break
    case "DESCRIBING THE TRAIL":
    this.pageNum = 63
    break
    case "DO'S & DON'TS":
    this.pageNum = 68
    break
    case "EQUIPMENT":
    this.pageNum = 74
    break
    case "FOOD":
    this.pageNum = 83
    break
    case "INTRODUCING A VILLAGE":
    this.pageNum = 96
    break
    case "CULTURE AND ETHNIC GROUPS":
    this.pageNum = 105
    break
    case "HANDICRAFTS":
    this.pageNum = 120
    break
    case "TEMPLES & MONKS":
    this.pageNum = 126
    break
    case "AGRICULTURE":
    this.pageNum = 131
    break
    case "ANIMAL HUSBANDRY":
    this.pageNum = 140
    break
    case "SCHOOL & EDUCATION":
    this.pageNum = 145
    break
    case "LEADING A TREK":
    this.pageNum = 151
    break
    case "NATIONAL PROTECTED AREAS":
    this.pageNum = 155
    break
    case "IDENTIFYING WILDLIFE":
    this.pageNum = 161
    break
    case "PLANTS & FORESTS":
    this.pageNum = 169
    break
    case "BOATS":
    this.pageNum = 175
    break
    case "CAVES":
    this.pageNum = 178
    break
    case "HEALTH AND SAFETY":
    this.pageNum = 182
    break
    2
    var aINTRODUCTION = ["INTRODUCTION", "How to Use This Book", "Format"];
    var aALPHABET = ["ALPHABET", "Vowel Sounds", "Consonant Sounds"];
    var itemIndex = app.popUpMenu(aINTRODUCTION, aALPHABET);
    Thanks.

    Thanks. I've got it now. I was mistakenly renaming itemIndex to each section...Introduction, Alphabet

  • Java script for menu

    Hello,
    As I know, we can use Java script to create client side menu. So user can browser through the menu tree to select the page they want.
    My question is, Can we add more functionnality to this menu tree, so the menu can be anything but URL? ( For example, user browser the menu tree, click a link(or a button?) and call some function(which also writon in Java script) on the client side to perform some action other than call a linked page)
    Thanks
    Hui lu

    Hi,
    You can try like this:
    //in the <head> section write:
    <script language="javascript">
    function callFunc(){
    //some code of yours
    </script>
    //On the menu item write this code:
    <a href = 'javascript:callFunc();'>
    Hope this will serve.
    atanu

  • Java script menu

    Can anyone here help me with a Java Script Menu? It is a Vertical Drop Down
    Many thanks

    Try this:
    http://jsfiddle.net/NancyO/zN7fU/
    Reponsive Menu for Touch Screen Devices:
    http://www.meanthemes.com/plugins/meanmenu/
    Nancy O.

  • Java script menu flows below swf in IE

    Hello all
    I've added a java script bottom slide out info bar to my site. Using WMODE to transparent and both opaque on the swf. That worked for chrome, firefox, safari, but not IE
    I'n IE the menu opens down as aposed to up and the button is in the wrong placement.
    http://www.couvrette-photography.on.ca/ottawa_wedding_photographer/
    any ideas?

    Server error.  Can't see your page.
    Older Spry code pre-dates IE9.  Also, it may interest you to know that Adobe has disontinued working with the Spry framework. 
    http://blogs.adobe.com/dreamweaver/2012/08/update-on-adobe-spry-framework-availability.htm l
    Now might be a good opportunity for you to switch to a better menu system.
    jQuery Superfish
    http://users.tpg.com.au/j_birch/plugins/superfish/
    jQuery Mega Menus  http://www.javascriptkit.com/script/script2/jkmegamenu.shtml
    CSS3 Dropdown Menus
    http://www.red-team-design.com/css3-dropdown-menu
    10 Responsive Menus
    http://speckyboy.com/2012/08/29/10-responsive-navigation-solutions-and-tutorials/
    Pop-Menu  Magic2 by PVII (DW extension purchase)
    http://www.projectseven.com/products/menusystems/pmm2/index.htm
    Nancy O.

  • How to add java script option in firefox as this is not available in the menu of tools menu and content of firefox

    Dear sir,
    I am regular computer user and firefox is my default web browser. But it is seen that my web browser is not having the option of enable java scripts as I am learning web page designing. Could you please tell me how to add this option in my web browser on mozila as I am interested to work mozila all the time. I can add this by using internet but that is not always easy and also not sure when this option is enable or disable. Please guide me resolving my problem.
    Regards,
    Mohammad Hossain

    You can no longer do that via the user interface, but you need to check the related pref on the <b>about:config</b> page.
    The <b>javascript.enabled</b> pref should be true on the <b>about:config</b> page to enable JavaScript.
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config
    See also:
    *QuickJava: https://addons.mozilla.org/firefox/addon/quickjava/

  • Any one know how to delete unresponsive java scripts in menu bar

    I have unresponsive java scripts that i can not force quit. i went to finder and deleted it from the source i believe but the script is still unresponsive please help

    If you want to just add an image to a JPanel, create a JLabel and add the image to that, then add the JLabel to the JPanel. If you want it to be the background of the JPanel, check this out:
    http://manning.com/sbe/files/uts2/Chapter15html/Chapter15.htm
    15.2 is where you'll find your answer along with sample code. The whole book is useful, take a look through it if you're interested.

  • Error message in java script using IE6

    I get the following error message on a web page java script with Internet Explorer 6 "C:\WINNT\Desktop\Error Report.htm."
    The java script works fine with IE 5, but not with IE6. Any ideas why or how to fix?
    Thank you,
    Alicia

    There are three scripts, here they are:
    1. Scripts.js
    NS4 = (document.layers);
    IE4 = (document.all);
    ver4 = (NS4 || IE4);
    IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
    isMac = (navigator.appVersion.indexOf("Mac") != -1);
    isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));
    function popUp(){return};
    function popDown(){return};
    if (!ver4) event = null;
    if (isMenu) {
    menuVersion = 3;
    menuWidth = 120;
    childOverlap = 5;
    childOffset = 0;
    perCentOver = null;
    secondsVisible = .2;
    fntCol = "#ffffff";
    fntSiz = "11";
    fntBold = false;
    fntItal = false;
    fntFam = "times new roman, times, serif";
    backCol = "#303886";
    overCol = "#91B3EE";
    overFnt = "#000000";
    borWid = 0;
    borCol = "#ffffff";
    borSty = "solid";
    itemPad = 5;
    imgSrc = "";
    imgSiz = 0;
    separator = 1;
    separatorCol = "#ffffff";
    isFrames = false; // <-- IMPORTANT for full window
    navFrLoc = "left"; // <-- display. see below
    keepHilite = true;
    clickStart = false;
    clickKill = false;
    function swapimg( imgid, newimg ) {
    imgid.src = newimg.src;
    if( document.images ) {
    about_on = new Image();
    about_on.src = "./images/about_on.jpg";
    about_off = new Image();
    about_off.src = "./images/about_off.jpg";
    practice_on = new Image();
    practice_on.src = "./images/practice_on.jpg";
    practice_off = new Image();
    practice_off.src = "./images/practice_off.jpg";
    lawyer_on = new Image();
    lawyer_on.src = "./images/lawyer_on.jpg";
    lawyer_off = new Image();
    lawyer_off.src = "./images/lawyer_off.jpg";
    career_on = new Image();
    career_on.src = "./images/career_on.jpg";
    career_off = new Image();
    career_off.src = "./images/career_off.jpg";
    resources_on = new Image();
    resources_on.src = "./images/resources_on.jpg";
    resources_off = new Image();
    resources_off.src = "./images/resources_off.jpg";
    contact_on = new Image();
    contact_on.src = "./images/contact_on.jpg";
    contact_off = new Image();
    contact_off.src = "./images/contact_off.jpg";
    2. hierArrays.js
    arMenu1 = new Array(
    130,
    199,247,
    "Overview","./about/overview.html",0,
    "Pro Bono Activities","./about/probono.html",0
    arMenu2 = new Array(
    190,
    199,287,
    "Commercial Finance","./practice/finance.html",0,
    "Corporate and Securities","./practice/corporate.html",0,
    "Insolvency","./practice/bankruptcy.html",0,
    "Land Use, Local Government and Environmental Law","./practice/land.html",0,
    "Litigation","./practice/litigation.html",0,
    "Real Estate","./practice/realestate.html",0,
    "Tax and Estate Planning","./practice/tax.html",0
    arMenu3 = new Array(
    120,
    199,327,
    "Partners","./lawyers/partners/index.html",0,
    "Associates","./lawyers/associates/index.html",0,
    "Of Counsel","./lawyers/counsel/index.html",0,
    "By Practice Area","./lawyers/practice.html",0,
    "Full Listing","./lawyers/full.html",0
    arMenu4 = new Array(
    135,
    199,447,
    "Contact Information","./contact/info.html",0,
    "Driving Directions","./contact/directions.html",0
    arMenu5 = new Array(
    180,
    199,365,
    "Summer Associate Program","./career/sumassoc.html",0
    3. hierMenus.js
    /*hierMenus.js
    * by Peter Belesis. v3.10.2 000720
    * Copyright (c) 2000 internet.com Corp. All Rights Reserved.
    * Originally published and documented at http://www.dhtmlab.com/
    * You may use this code on a public Web site only if this entire
    * copyright notice appears unchanged and you publicly display
    * on the Web page a link to http://www.dhtmlab.com/.
    * Contact [email protected] for all other uses.
    loader = (isFrames) ? (NS4) ? parent : parent.document.body : window;
    loader.onload = startIt;
    if(NS4){
         origWidth = loader.innerWidth;
         origHeight = loader.innerHeight;
         loader.onresize = reDo;
    isLoaded = false;
    NSresized = false;
    if (!window.menuVersion) {
         clickKill = keepHilite = clickStart = false;
    if (!window.imgHspace) imgHspace=0;
    isWin = (navigator.appVersion.indexOf("Win") != -1)
    mSecsVis = secondsVisible*1000;
    isRight = (window.navFrLoc && navFrLoc == "right");
    fullImgSize = (imgSiz+(imgHspace*2));
    if(!IE5) {
         imgSuf = (isRight) ? ">" : " ALIGN=RIGHT>";
         imgStr = "<IMG SRC='" + imgSrc + "' WIDTH=" + imgSiz + " HEIGHT=" + imgSiz +" VSPACE=2 HSPACE="+ imgHspace +" BORDER=0"+ imgSuf;
         if(IE4) imgStr = "<SPAN STYLE='height:100%;width:"+ (fullImgSize-(isRight?3:0)) +";float:"+ (isRight?"left":"right") +";overflow:hidden'>"+ imgStr +"</SPAN>";
    areCreated = false;
    menuLoc = null;
    function initVars() {
         if(areCreated) {
              for(i=1; i<topCount; i++) {
                   cur = eval("elMenu"+i);
                   clearTimeout(cur.hideTimer);
                   cur.hideTimer=null;
              clearTimeout(allTimer);
         topCount = 1;
         areCreated = false;
         beingCreated = false;
         isOverMenu = false;
         currentMenu = null;
         allTimer = null;
    initVars();
    function NSunloaded(){
         isLoaded = false;
    function NSloaded(e){
         if (e.target.name == mainFrName) {
              initVars();
              startIt();
    function IEunloaded() {
         initVars();
         isLoaded = false;
         setTimeout("keepTrack()",50)
    function keepTrack() {
         if (menuLoc.document.readyState == "complete") {
              initVars();
              startIt();
         else {
              setTimeout("keepTrack()",50);
    function startIt() {
         isLoaded = true;
         if (isFrames) {
              menuLoc = eval("parent.frames." + mainFrName);
              if (NS4) {
                   loader.captureEvents(Event.LOAD);
                   loader.onload = NSloaded;
                   menuLoc.onunload = NSunloaded;
              if (IE4) {
                   menuLoc.document.body.onunload = IEunloaded;
         else {
              menuLoc = window;
         menuLoc.nav = nav = window;
         if (clickKill) {
              if (NS4) menuLoc.document.captureEvents(Event.MOUSEDOWN);
              menuLoc.document.onmousedown = clicked;
         makeTop();
    function makeTop(){
         beingCreated = true;
         if(IE4) {
              topZ = 0;
              for (z=0;z<menuLoc.document.all.length;z++){
                   oldEl = menuLoc.document.all(z);
                   topZ = Math.max(oldEl.style.zIndex,topZ)
         while(eval("window.arMenu" + topCount)) {
              (NS4) ? makeMenuNS(false,topCount) : makeMenuIE(false,topCount);
              topCount++
         status = (topCount-1) + " Hierarchical Menu Trees Created"
         areCreated = true;
         beingCreated = false;
    // the following line was added by Rachel Gockley ([email protected]) on 27 July 2000
    status = "";
    function makeMenuNS(isChild,menuCount,parMenu,parItem) {
         tempArray = eval("arMenu" + menuCount);
         if (!isChild) {
              tempWidth = tempArray[0] ? tempArray[0] : menuWidth;
              menu = makeElement("elMenu" + menuCount,tempWidth,null,null);
         else {
              menu = makeElement("elMenu" + menuCount,null,parMenu,null);
         menu.array = tempArray;
         menu.setMenuTree = setMenuTree;
         menu.setMenuTree(isChild,parMenu);
         while (menu.itemCount < menu.maxItems) {
              menu.itemCount++;
              status = "Creating Hierarchical Menus: " + menuCount + " / " + menu.itemCount;
              prevItem = (menu.itemCount > 1) ? menu.item : null;
              itemName = "item" + menuCount + "_" + menu.itemCount;
              menu.item = makeElement(itemName,null,null,menu);
              menu.item.prevItem = prevItem;
              menu.item.setup = itemSetup;
              menu.item.setup(menu.itemCount,menu.array);
              if (menu.item.hasMore) {
                   makeMenuNS(true,menuCount + "_" + menu.itemCount,menu,menu.item);
                   menu = menu.parentMenu;
         menu.lastItem = menu.item;
         menu.setup(isChild,parMenu,parItem);
    function findTree(men){
         foundTree = false;
         for(i=11;i<men.array.length;i+=3){
              if(men.array) {
                   foundTree = true;
                   break;
         return foundTree;
    function setMenuTree(isChild,parMenu) {
         if (!isChild) {
              this.menuWidth = this.array[0] ? this.array[0] : menuWidth;
              this.menuLeft = this.array[1];
              this.menuTop = this.array[2];
              this.menuFontColor = this.array[3] ? this.array[3] : fntCol;
              this.menuFontOver = this.array[4] ? this.array[4] : overFnt;
              this.menuBGColor = this.array[5] ? this.array[5] : backCol;
              this.menuBGOver = this.array[6] ? this.array[6] : overCol;
              this.menuBorCol = this.array[7] ? this.array[7] : borCol;
              this.menuSeparatorCol = this.array[8] ? this.array[8] : separatorCol;
              this.treeParent = this;
              this.startChild = this;
              this.isTree = findTree(this);
         else {
              this.menuWidth = parMenu.menuWidth;
              this.menuLeft = parMenu.menuLeft;
              this.menuTop = parMenu.menuTop;
              this.menuFontColor = parMenu.menuFontColor;
              this.menuFontOver = parMenu.menuFontOver;
              this.menuBGColor = parMenu.menuBGColor;
              this.menuBGOver = parMenu.menuBGOver;
              this.menuBorCol = parMenu.menuBorCol;
              this.menuSeparatorCol = parMenu.menuSeparatorCol;
              this.treeParent = parMenu.treeParent;
              this.isTree = parMenu.isTree;
         this.maxItems = (isChild) ? this.array.length/3 : (this.array.length-9)/3;
         this.hasParent = isChild;
         this.setup = menuSetup;
         this.itemCount = 0;
    function makeMenuIE(isChild,menuCount,parMenu) {
         menu = makeElement("elMenu" + menuCount);
         menu.array = eval("arMenu" + menuCount);
         menu.setMenuTree = setMenuTree;
         menu.setMenuTree(isChild,parMenu);
         menu.itemStr = "";
         while (menu.itemCount < menu.maxItems) {
              menu.itemCount++;
              status = "Creating Hierarchical Menus: " + menuCount + " / " + menu.itemCount;
              itemName = "item" + menuCount + "_" + menu.itemCount;
              arrayPointer = (isChild) ? (menu.itemCount-1)*3 :((menu.itemCount-1)*3)+9;
              dispText = menu.array[arrayPointer];
              hasMore = menu.array[arrayPointer + 2];
              if(IE5) {
                   newSpan = menuLoc.document.createElement("SPAN");
                   with(newSpan) {
                        id = itemName;
                        with(style) {
                             width = (menu.menuWidth-(borWid*2));
                             fontSize = fntSiz + "pt";
                             fontWeight = (fntBold) ? "bold" : "normal";
                             fontStyle = (fntItal) ? "italic" : "normal";
                             fontFamily = fntFam;
                             padding = itemPad;
                             borderBottomWidth = separator + "px";
                             borderBottomStyle = "solid";
                        innerHTML = dispText;
                   newBreak = menuLoc.document.createElement("BR");
                   menu.appendChild(newSpan);
                   menu.appendChild(newBreak);
                   if(hasMore) {
    //3.10.2 added next 2 statements:
                        if (isRight) newSpan.style.paddingLeft = itemPad+fullImgSize;
                        else newSpan.style.paddingRight = itemPad+fullImgSize;
                        newImage = menuLoc.document.createElement("IMAGE");
                        with(newImage){
                             src = imgSrc;
                             with(style) {
                                  position = "absolute";
                                  width = imgSiz;
                                  height = imgSiz;
                                  left = (isRight) ? itemPad : (newSpan.style.pixelWidth - itemPad - imgSiz);
                                  top = newSpan.offsetTop + itemPad + (isMac ? 0 : 2);
                        newSpan.appendChild(newImage);
              else {
                   htmStr = (hasMore) ? imgStr + dispText : dispText;
                   menu.itemStr += "<SPAN ID=" + itemName + " STYLE=\"width:" + (menu.menuWidth-(borWid*2)) + "\">" + htmStr + "</SPAN><BR>";
              if (hasMore) {
                   makeMenuIE(true,menuCount + "_" + menu.itemCount,menu);
                   menu = menu.parentMenu;
         if(!IE5) menu.innerHTML = menu.itemStr;
         itemColl = menu.children.tags("SPAN");
         for (i=0; i<itemColl.length; i++) {
              it = itemColl(i);
              it.setup = itemSetup;
              it.setup(i+1,menu.array);
         menu.lastItem = itemColl(itemColl.length-1);
         menu.setup(isChild,parMenu);
    function makeElement(whichEl,whichWidth,whichParent,whichContainer) {
         if (NS4) {
              if (whichWidth) {
                   elWidth = whichWidth;
              else {
                   elWidth = (whichContainer) ? whichContainer.menuWidth : whichParent.menuWidth;
                   if (whichContainer) elWidth = elWidth-(borWid*2)-(itemPad*2);
              if (!whichContainer) whichContainer = menuLoc;
              eval(whichEl + "= new Layer(elWidth,whichContainer)");
         else {
              if (IE5) {
                   newDiv = menuLoc.document.createElement("DIV");
                   newDiv.style.position = "absolute";
                   newDiv.id = whichEl;
                   menuLoc.document.body.appendChild(newDiv);
              else {
                   elStr = "<DIV ID=" + whichEl + " STYLE='position:absolute'></DIV>";
                   menuLoc.document.body.insertAdjacentHTML("BeforeEnd",elStr);
              if (isFrames) eval(whichEl + "= menuLoc." + whichEl);
         return eval(whichEl);
    function itemSetup(whichItem,whichArray) {
         this.onmouseover = itemOver;
         this.onmouseout = itemOut;
         this.container = (NS4) ? this.parentLayer : this.parentElement;
         arrayPointer = (this.container.hasParent) ? (whichItem-1)*3 : ((whichItem-1)*3)+9;
         this.dispText = whichArray[arrayPointer];
         this.linkText = whichArray[arrayPointer + 1];
         this.hasMore = whichArray[arrayPointer + 2];
         if (IE4 && this.hasMore) {
              this.child = eval("elMenu" + this.id.substr(4));
              this.child.parentMenu = this.container;
              this.child.parentItem = this;
         if (this.linkText) {
              if (NS4) {
                   this.captureEvents(Event.MOUSEUP)
                   this.onmouseup = linkIt;
              else {
                   this.onclick = linkIt;
                   this.style.cursor = "hand";
         if (NS4) {
              htmStr = this.dispText;
              if (fntBold) htmStr = htmStr.bold();
              if (fntItal) htmStr = htmStr.italics();
              htmStr = "<FONT FACE='" + fntFam + "' POINT-SIZE=" + fntSiz + ">" + htmStr+ "</FONT>";
              this.htmStrOver = htmStr.fontcolor(this.container.menuFontOver);
              this.htmStr = htmStr.fontcolor(this.container.menuFontColor);
              if(this.hasMore) {
                   this.document.write(imgStr);
                   this.document.close();
              this.visibility = "inherit";
              this.bgColor = this.container.menuBGColor;
              if (whichItem == 1) {
                   this.top = borWid + itemPad;
              else {
                   this.top = this.prevItem.top + this.prevItem.clip.height + separator;
              this.left = borWid + itemPad;
              this.clip.top = this.clip.left = -itemPad;
              this.clip.right = this.container.menuWidth-(borWid*2)-itemPad;
              maxTxtWidth = this.container.menuWidth-(borWid*2)-(itemPad*2);
              if (this.container.isTree) maxTxtWidth-=(fullImgSize);
              this.txtLyrOff = new Layer(maxTxtWidth,this);
              if (isRight && this.container.isTree) this.txtLyrOff.left = fullImgSize;
              this.txtLyrOff.document.write(this.htmStr);
              this.txtLyrOff.document.close();
              this.txtLyrOff.visibility = "inherit";
              this.clip.bottom = this.txtLyrOff.document.height+itemPad;
              this.txtLyrOn = new Layer(maxTxtWidth,this);
              if (isRight && this.container.isTree) this.txtLyrOn.left = fullImgSize;
              this.txtLyrOn.document.write(this.htmStrOver);
              this.txtLyrOn.document.close();
              this.txtLyrOn.visibility = "hide";
              this.dummyLyr = new Layer(100,this);
              this.dummyLyr.left = this.dummyLyr.top = -itemPad;
              this.dummyLyr.clip.width = this.clip.width;
              this.dummyLyr.clip.height = this.clip.height;
              this.dummyLyr.visibility = "inherit";
         else {
              with (this.style) {
                   if(!IE5) {
                        fontSize = fntSiz + "pt";
                        fontWeight = (fntBold) ? "bold" : "normal";
                        fontStyle = (fntItal) ? "italic" : "normal";
                        fontFamily = fntFam;
                        padding = itemPad;
                        borderBottomWidth = separator + "px";
                        borderBottomStyle = "solid";
    //3.10.2 modified next statement to one following
    //               if (this.container.isTree && (IE5 || (!IE5 && !this.hasMore))) {
                   if (this.container.isTree && !this.hasMore) {
                        if (isRight) paddingLeft = itemPad+fullImgSize;
                        else paddingRight = itemPad+fullImgSize;
                   color = this.container.menuFontColor;
                   borderBottomColor = this.container.menuSeparatorCol;
                   backgroundColor = this.container.menuBGColor;
    function menuSetup(hasParent,openCont,openItem) {
         this.onmouseover = menuOver;
         this.onmouseout = menuOut;
         this.showIt = showIt;
         this.keepInWindow = keepInWindow;
         this.hideTree = hideTree
         this.hideParents = hideParents;
         this.hideChildren = hideChildren;
         this.hideTop = hideTop;
         this.hasChildVisible = false;
         this.isOn = false;
         this.hideTimer = null;
         this.childOverlap = (perCentOver != null) ? ((perCentOver/100) * this.menuWidth) : childOverlap;
         this.currentItem = null;
         this.hideSelf = hideSelf;
         if (hasParent) {
              this.hasParent = true;
              this.parentMenu = openCont;
              if (NS4) {
                   this.parentItem = openItem;
                   this.parentItem.child = this;
         else {
              this.hasParent = false;
         if (NS4) {
              this.bgColor = this.menuBorCol;
              this.fullHeight = this.lastItem.top + this.lastItem.clip.bottom + borWid;
              this.clip.right = this.menuWidth;
              this.clip.bottom = this.fullHeight;
         else {
              with (this.style) {
                   width = this.menuWidth;
                   borderWidth = borWid;
                   borderColor = this.menuBorCol;
                   borderStyle = borSty;
                   zIndex = topZ;
    //3.10.2 added next statement
                   overflow = "hidden";
              this.lastItem.style.border="";
              this.fullHeight = this.offsetHeight;
              if(isMac)this.style.pixelHeight = this.fullHeight;
              this.fullHeight = this.scrollHeight;
              this.showIt(false);
              this.onselectstart = cancelSelect;
              this.moveTo = moveTo;
              this.moveTo(0,0);
    function popUp(menuName,e){
         if (NS4 && NSresized) startIt();
         if (!isLoaded) return;
         linkEl = (NS4) ? e.target : event.srcElement;
         if (clickStart) linkEl.onclick = popMenu;
         if (!beingCreated && !areCreated) startIt();
         linkEl.menuName = menuName;
         if (!clickStart) popMenu(e);
    function popMenu(e){
         if (!isLoaded || !areCreated) return true;
         eType = (NS4) ? e.type : event.type;
         if (clickStart && eType != "click") return true;
         hideAll();
         linkEl = (NS4) ? e.target : event.srcElement;
         currentMenu = eval(linkEl.menuName);
         currentMenu.hasParent = false;
         currentMenu.treeParent.startChild = currentMenu;
         if (IE4) menuLocBod = menuLoc.document.body;
         if (!isFrames) {
              xPos = (currentMenu.menuLeft) ? currentMenu.menuLeft : (NS4) ? e.pageX : (event.clientX + menuLocBod.scrollLeft);
              yPos = (currentMenu.menuTop) ? currentMenu.menuTop : (NS4) ? e.pageY : (event.clientY + menuLocBod.scrollTop);
         else {
              switch (navFrLoc) {
                   case "left":
                        xPos = (currentMenu.menuLeft) ? currentMenu.menuLeft : (NS4) ? menuLoc.pageXOffset : menuLocBod.scrollLeft;
                        yPos = (currentMenu.menuTop) ? currentMenu.menuTop : (NS4) ? (e.pageY-pageYOffset)+menuLoc.pageYOffset : event.clientY + menuLocBod.scrollTop;
                        break;
                   case "top":
                        xPos = (currentMenu.menuLeft) ? currentMenu.menuLeft : (NS4) ? (e.pageX-pageXOffset)+menuLoc.pageXOffset : event.clientX + menuLocBod.scrollLeft;
                        yPos = (currentMenu.menuTop) ? currentMenu.menuTop : (NS4) ? menuLoc.pageYOffset : menuLocBod.scrollTop;
                        break;
                   case "bottom":
                        xPos = (currentMenu.menuLeft) ? currentMenu.menuLeft : (NS4) ? (e.pageX-pageXOffset)+menuLoc.pageXOffset : event.clientX + menuLocBod.scrollLeft;
                        yPos = (currentMenu.menuTop) ? currentMenu.menuTop : (NS4) ? menuLoc.pageYOffset+menuLoc.innerHeight : menuLocBod.scrollTop + menuLocBod.clientHeight;
                        break;
                   case "right":
                        xPos = (currentMenu.menuLeft) ? currentMenu.menuLeft : (NS4) ? menuLoc.pageXOffset+menuLoc.innerWidth : menuLocBod.scrollLeft+menuLocBod.clientWidth;
                        yPos = (currentMenu.menuTop) ? currentMenu.menuTop : (NS4) ? (e.pageY-pageYOffset)+menuLoc.pageYOffset : event.clientY + menuLocBod.scrollTop;
                        break;
         currentMenu.moveTo(xPos,yPos);
         currentMenu.keepInWindow()
         currentMenu.isOn = true;
         currentMenu.showIt(true);
         return false;
    function menuOver(e) {
         this.isOn = true;
         isOverMenu = true;
         currentMenu = this;
         if (this.hideTimer) clearTimeout(this.hideTimer);
    function menuOut() {
         if (IE4) {
              theEvent = menuLoc.event;
              if (theEvent.srcElement.contains(theEvent.toElement)) return;
         this.isOn = false;
         isOverMenu = false;
         menuLoc.status = "";
         if (!clickKill) allTimer = setTimeout("currentMenu.hideTree()",10);
    function itemOver(){
         if (keepHilite) {
              if (this.container.currentItem && this.container.currentItem != this) {
                   if (NS4) {
                        this.container.currentItem.bgColor = this.container.menuBGColor;
                        this.container.currentItem.txtLyrOff.visibility = "inherit";
                        this.container.currentItem.txtLyrOn.visibility = "hide";
                   else {
                        with (this.container.currentItem.style) {
                             backgroundColor = this.container.menuBGColor;
                             color = this.container.menuFontColor;
         if (IE4) {
              theEvent = menuLoc.event;
              if (theEvent.srcElement.tagName == "IMG") return;
              this.style.backgroundColor = this.container.menuBGOver;
              this.style.color = this.container.menuFontOver;
         else {
              this.bgColor = this.container.menuBGOver;
              this.txtLyrOff.visibility = "hide";
              this.txtLyrOn.visibility = "inherit";
         menuLoc.status = this.linkText;
         this.container.currentItem = this;
         if (this.container.hasChildVisible) {
              this.container.hideChildren(this);
         if (this.hasMore) {
              horOffset = (isRight) ? (this.container.childOverlap - this.container.menuWidth) : (this.container.menuWidth - this.container.childOverlap);
              if (NS4) {
                   this.childX = this.container.left + horOffset;
                   this.childY = (this.pageY+this.clip.top) + childOffset;
              else {
                   this.childX = this.container.style.pixelLeft + horOffset;
                   this.childY = this.offsetTop + this.container.style.pixelTop + childOffset + borWid;
              this.child.moveTo(this.childX,this.childY);
              this.child.keepInWindow();
              this.container.hasChildVisible = true;
              this.container.visibleChild = this.child;
              this.child.showIt(true);
    function itemOut() {
         if (IE4) {
              theEvent = menuLoc.event;
              if (theEvent.srcElement.contains(theEvent.toElement)
         || (theEvent.fromElement.tagName=="IMG" && theEvent.toElement.contains(theEvent.fromElement)))
              return;
              if (!keepHilite) {
                   this.style.backgroundColor = this.container.menuBGColor;
                   this.style.color = this.container.menuFontColor;
         else {
              if (!keepHilite) {
                   this.bgColor = this.container.menuBGColor;
                   this.txtLyrOff.visibility = "inherit";
                   this.txtLyrOn.visibility = "hide";
              if (!isOverMenu && !clickKill) {
                   allTimer = setTimeout("currentMenu.hideTree()",10);
    function moveTo(xPos,yPos) {
         this.style.pixelLeft = xPos;
         this.style.pixelTop = yPos;
    function showIt(on) {
         if (NS4) {
              this.visibility = (on) ? "show" : "hide";
              if (keepHilite && this.currentItem) {
                   this.currentItem.bgColor = this.menuBGColor;
                   this.currentItem.txtLyrOff.visibility = "inherit";
                   this.currentItem.txtLyrOn.visibility = "hide";
         else {
              this.style.visibility = (on) ? "visible" : "hidden";
              if (keepHilite && this.currentItem) {
                   with (this.currentItem.style) {
                        backgroundColor = this.menuBGColor;
                        color = this.menuFontColor;
         this.currentItem = null;
    function keepInWindow() {
         scrBars = 20;
         botScrBar = (isFrames && navFrLoc=="bottom") ? (borWid*2) : scrBars;
         rtScrBar = (isFrames && navFrLoc=="right") ? (borWid*2) : scrBars;
         if (NS4) {
              winRight = (menuLoc.pageXOffset + menuLoc.innerWidth) - rtScrBar;
              rightPos = this.left + this.menuWidth;
              if (rightPos > winRight) {
                   if (this.hasParent) {
                        parentLeft = this.parentMenu.left;
                        newLeft = ((parentLeft-this.menuWidth) + this.childOverlap);
                        this.left = newLeft;
                   else {
                        dif = rightPos - winRight;
                        this.left -= dif;
              winBot = (menuLoc.pageYOffset + menuLoc.innerHeight) - botScrBar ;
              botPos = this.top + this.fullHeight;
              if (botPos > winBot) {
                   dif = botPos - winBot;
                   this.top -= dif;
              winLeft = menuLoc.pageXOffset;
              leftPos = this.left;
              if (leftPos < winLeft) {
                   if (this.hasParent) {
                        parentLeft = this.parentMenu.left;
                        newLeft = ((parentLeft+this.menuWidth) - this.childOverlap);
                        this.left = newLeft;
                   else {
                        this.left = 5;
         else {
              winRight = (menuLoc.document.body.scrollLeft + menuLoc.document.body.clientWidth) - rtScrBar;
              rightPos = this.style.pixelLeft + this.menuWidth;
              if (rightPos > winRight) {
                   if (this.hasParent) {
                        parentLeft = this.parentMenu.style.pixelLeft;
                        newLeft = ((parentLeft - this.menuWidth) + this.childOverlap);
                        this.style.pixelLeft = newLeft;
                   else {
                        dif = rightPos - winRight;
                        this.style.pixelLeft -= dif;
              winBot = (menuLoc.document.body.scrollTop + menuLoc.document.body.clientHeight) - botScrBar;
              botPos = this.style.pixelTop + this.fullHeight;
              if (botPos > winBot) {
                   dif = botPos - winBot;
                   this.style.pixelTop -= dif;
              winLeft = menuLoc.document.body.scrollLeft;
              leftPos = this.style.pixelLeft;
              if (leftPos < winLeft) {
                   if (this.hasParent) {
                        parentLeft = this.parentMenu.style.pixelLeft;
                        newLeft = ((parentLeft+this.menuWidth) - this.childOverlap);
                        this.style.pixelLeft = newLeft;
                   else {
                        this.style.pixelLeft = 5;
    function linkIt() {
         if (this.linkText.indexOf("javascript:")!=-1) eval(this.linkText)
         else menuLoc.location.href = this.linkText;
    function popDown(menuName){
         if (!isLoaded || !areCreated) return;
         whichEl = eval(menuName);
         whichEl.isOn = false;
         if (!clickKill) whichEl.hideTop();
    function hideAll() {
         for(i=1; i<topCount; i++) {
              temp = eval("elMenu" + i + ".startChild");
              temp.isOn = false;
              if (temp.hasChildVisible) temp.hideChildren();
              temp.showIt(false);
    function hideTree() {
         allTimer = null;
         if (isOverMenu) return;
         if (this.hasChildVisible) {
              this.hideChildren();
         this.hideParents();
    function hideTop() {
         whichTop = this;
         (clickKill) ? whichTop.hideSelf() : (this.hideTimer = setTimeout("if(whichTop.hideSelf)whichTop.hideSelf()",mSecsVis));
    function hideSelf() {
         this.hideTimer = null;
         if (!this.isOn && !isOverMenu) {
              this.showIt(false);
    function hideParents() {
         tempMenu = this;
         while (tempMenu.hasParent) {
              tempMenu.showIt(false);
              tempMenu.parentMenu.isOn = false;
              tempMenu = tempMenu.parentMenu;
         tempMenu.hideTop();
    function hideChildren(item) {
         tempMenu = this.visibleChild;
         while (tempMenu.hasChildVisible) {
              tempMenu.visibleChild.showIt(false);
              tempMenu.hasChildVisible = false;
              tempMenu = tempMenu.visibleChild;
         if (!this.isOn || !item.hasMore || this.visibleChild != this.child) {
              this.visibleChild.showIt(false);
              this.hasChildVisible = false;
    function cancelSelect(){return false}
    function reDo(){
         if (loader.innerWidth==origWidth && loader.innerHeight==origHeight) return;
         initVars();
         NSresized=true;
         menuLoc.location.reload();
    function clicked() {
         if (!isOverMenu && currentMenu!=null && !currentMenu.isOn) {
              whichEl = currentMenu;
              whichEl.hideTree();
    window.onerror = handleErr;
    function handleErr(){
         arAccessErrors = ["permission","access"];
         mess = arguments[0].toLowerCase();
         found = false;
         for (i=0;i<arAccessErrors.length;i++) {
              errStr = arAccessErrors[i];
              if (mess.indexOf(errStr)!=-1) found = true;
         return found;
    //end

  • I'm note a firefox geek, but ever since my friend told me to install NoScript I can not access my msn and hotmail page. It tells me that Java Script is required, what ever that is. What do I do next. Do I uninstall the No Script. Thanks Ed

    I'm note a firefox geek, but ever since my friend told me to install NoScript I can not access my msn and hotmail page. It tells me that Java Script is required, what ever that is. What do I do next. Do I uninstall the No Script. Thanks Ed edit
    Details

    You are on Windows 2000, you do not have a "Firefox" button, and should consider yourself to be fortunate in that you still have menus and don't have to do anything to get the menus back instead of the "Firefox" button. (The same applies to Windows XP users).
    Use the "File" menu to get to Import. You are not on Windows 7 or Vista, and don't have to put up with the nonsense added for Aero.
    If you want the "Firefox" button you can get it with View -> toolbars -> (uncheck) Menu Bar. The menu bar and the "Firefox" button were supposed to be mutually exclusive (which is impossible in some cases without being incompatible).
    Once you are using the "Firefox" button ...
    Use the "Alt" key to view the menu bar (temporarily) containing File, Edit, View, History, Bookmarks, Tools, and Help. On Windows 7 and Vista, the menu bar was hidden by default in Firefox 4 and above. These menu items are more or less available under the "Firefox" button which has the most used of the built-in Firefox menu items available in a different format.
    To get back to having menus again. "Firefox" button -> Options (second column) -> (check) Menu Bar
    You can make '''Firefox 7.0.1''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface

  • Horizontal spry menu style appears turned off when on the internet though can view it in live mode!?

    The style of the horizontal spry menu seems as to have been turned off when on the web though is visible and functioning on CS4 Dreamweaver design and live views. I have styled the spry menu and can view it in the properties section though the style setting is there on the internet it looks as if the styles have turned off and appears unformatted vertically when it should be a cascading horizontal menu bar. Not sure where the error is, I have looked at the coding and as I'm not the most experienced with spry.....
    this is the coding above the head.
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript">
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    I have noticed that SpryMenuBarHorizontal.css doesn't appear in the spry assets folder, does this matter? (not sure how to insert into the assets menu).  Any help would be greatly appreciated!

    thanks for testing it. I'm not sure how to proceed though as the css file is in my local_sites/spry assets folder for the website. I've tried to point it to other (copies of SpryMenuBarHorizontal.css) and spry assets folder externally from the site and again internally in the root folder and seems to make little or no difference.
    Your suggestion of what it should read,(sorry to sound so naive at all this) though would you mind giving a step-by-step guide on how to go about it? as I'm obviously missing something in the setup process.
    thanks again for your help.

  • How to resolve Java Script Error Message when visiting Twitter Website?

    When using firefox the following error message appears on the Twitter website regarding Java Script that is already enabled in firefox. It only happens in firefox when I visit the Twitter Website, it doesn't happen on any other website and it does not happen in Internet Explorer when I visit Twitter's website.
    '''Error Message:
    Twitter.com makes heavy use of JavaScript.
    If you cannot enable it in your browser's preferences, you may have a better experience on our mobile site.'''

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    1. Clear Firefox's Cache
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    2. If needed, delete your twitter.com cookies here
    While viewing a page on the site, right-click and choose View Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help? If you restart Firefox does it help? If not, please see the next section.
    If you have JavaScript enabled in Firefox's options ([https://support.mozilla.org/en-US/kb/javascript-settings-for-interactive-web-pages#w_enabling-and-disabling-javascript support article]) then there are a few different ways that JavaScript could be blocked for twitter.com.
    One common one is the add-on NoScript, which manages scripts on a site-by-site basis. However, you probably would be well aware if you were using NoScript.
    Another is external security software that filters pages on a site-by-site basis. Can you check whether your security software includes this feature?
    A third possibility is another add-on which for some reason is targeting Twitter. Check any ad blockers, Flash blockers or other "blockers" as well as any relating to privacy.
    Finally, there could be other settings, software, or even malware interfering with your Twitter connection.
    One standard diagnostic for interference by add-ons is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the Safe Mode dialog, do not check any boxes, just click "Continue in Safe Mode."
    If the site works correctly, this points to one of your add-ons or custom settings as the problem.
    Any change?

  • Expand Collapse Feature in OBIEE 10.1.3.4 version using Java script Issue

    Hi All,
    Tried to implement this script in OBIEE 10.1.3.4, but throughs error. Can any one help me in this regards
    Steps followed
    1. Create an answers report pulling Top Relations, Sub Relationship and Customer from the dimension and sales amount from the Sales fact
    2. For Sub Relationship and Customer give the left padding as 25.
    3. Create a pivot table view make Top Relationship, Sub Relationship hidden and select show the total before and select labels only (no totals) in the pivot table.
    4.Add the image files in and the following code for Top Relationship, Sub Relationship columns select the data format to as HTML image and change it to custom text and add the following.
    @[html]<img onclick="ExpandCollapse(this)" src="res/s_oracle10/images/PropertyGroup_minus.gif">@H
    5. Add a narrative view and add the following java script.
    // Java Script
    function ExpandCollapse( el )
         // Grab the ROW that was clicked and the TABLE that contains it
         var tr = el.parentElement.parentElement;
         var tbl = tr.parentElement.parentElement;
         // Set the alternating display values for hiding/showing the row
         var sDisplay = ( el.src.indexOf( "minus" ) == -1 ) ? "" : "none";
         var sDisplayReverse = ( el.src.indexOf( "minus" ) == -1 ) ? "none" : "";
         //Switch the icon for the clicked row
         el.src = "C:/Manohar/HTMLTest/PropertyGroup_" + ( el.src.indexOf( "minus" ) == -1 ? "minus" : "plus" ) + ".gif";
         // Starting with the row below the clicked row, start checking each row
         for ( var i = tr.rowIndex + 1; i < tbl.rows.length; i++ )
              // Set the Current row indicator nad the left padding value
              var trCurrent = tbl.rows( i );
              var trCurrentLeft = trCurrent.cells(0).style.paddingLeft;
              // if the current row contains an IMG in it, it's a clickable level and we either have to stop processing,
              // or reset the icons to a + as it's being collapsed
              if ( trCurrent.cells( 0 ).firstChild && trCurrent.cells( 0 ).getElementsByTagName( "IMG" ).length )
                   // If the current row is at the same level or above in the tree, then stop processing,
                   // else reset all the signs below it, essentially collapsing all branches underneath the one that is beig collapsed.
                   if ( stripTrailing(trCurrentLeft , UOM_SIZE) <= stripTrailing(tr.cells(0).style.paddingLeft , UOM_SIZE) )
                   { break; }
                   else
                        if (el.src.indexOf( "minus" ) == -1 )
                             trCurrent.cells(0).getElementsByTagName("IMG").item(0).src = "C:/Manohar/HTMLTest/PropertyGroup_plus.gif";
              // Now, we determine if the row should be hidden or shown.
              if ( eval(stripTrailing(tr.cells(0).style.paddingLeft, UOM_SIZE)+ INDENT_SIZE) < stripTrailing(trCurrentLeft, UOM_SIZE) && el.src.indexOf( "minus" ) >0 )
                   trCurrent.style.display = sDisplayReverse;
              } else
                   trCurrent.style.display = sDisplay;
    Thanks,
    Kumaravel
    Edited by: 840515 on Feb 28, 2011 10:00 PM

    Since the SP is on connection pool (and looks like expecting a input value), that may causing for error.
    Column in the report, pass PS variable and hide it if it not required in the report.
    Pls mark if helps

  • How can I hide the java script status bar?

    I'm trying to hide the status bar using the feature in the advanced section of enable java script. I did a search in the help window of Firefox 5.0 and it shows the area in options to do this. I followed the instructions but the feature in my advanced area does not offer this selection. I'm trying to accomplish this in order to follow the recommendations of Pogo to enhance game playing experience.

    Hi. To remove the horizontal scrollbar you can do this:
    textArea.setWrapText(true);
    To remove the vertical scrollbar you can do this:
    ScrollBar scrollBarv = (ScrollBar)ta.lookup(".scroll-bar:vertical");
    scrollBarv.setDisable(true);  and set the opacity to 0 in the css file:
    //css file
    .text-area .scroll-bar:vertical:disabled {
        -fx-opacity: 0;
    }Here is an example:
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ContextMenu;
    import javafx.scene.control.MenuItem;
    import javafx.scene.control.ScrollBar;
    import javafx.scene.control.TextArea;
    import javafx.scene.input.ContextMenuEvent;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    public class TextAreaSample extends Application {
        @Override
        public void start(Stage primaryStage) {
        final TextArea textArea = new TextArea();
            textArea.setWrapText(true);
            StackPane root = new StackPane();
            root.getChildren().add(textArea);
            Scene scene = new Scene(root, 300, 250);
            primaryStage.setScene(scene);
            primaryStage.show();
            scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm());
            ScrollBar scrollBarv = (ScrollBar)textArea.lookup(".scroll-bar:vertical");
            scrollBarv.setDisable(true);
        public static void main(String[] args) {
            launch(args);
    }

  • Why do i keep getting Java Script Application saying uninstal and every time i click on my mouse the pop up appears and its sometimes hard to get rid of it. Please help. God Bless

    As soon as I log on to Firefox this pop up appears on the screen saying Java Script Application and under neath it it says uninstal and beside uninstal is a yellow triangle with a exclamation mark inside of it. Every time I click the mouse the pop up reappears over and over. It's really a nuisance and I need your help.The word uninstal is spelled like you see it, even though it's spelled wrong.Thank you and God Bless

    Other users have reported that this is caused by one of their add-ons. I suggest going to the Add-ons page and disabling everything that is not essential, and then restarting Firefox. Hopefully it's not caused by something you really rely on.
    orange Firefox button ''or'' Tools menu > Add-ons
    On the left side, click Extensions
    Then disable as many as possible and restart Firefox.
    Any luck?

  • Java Script and JSF question

    Hello,
    I have a JSF component like this that has a pageSize attribute. It shows a grid with 5 elements.
    <x:gridView id="#{tab}GridView" pageSize="5">
    </f:gridView>Then I have a drop down with 5 menu items where the user can select how many elements they want to see visible on the grid. My question is, how do i use Java Script to to change the pageSize attribute above with what the user selected in the menu below? I have been looking at java script code and online docs for an hour and cant come up with anything that seems to work. Any help will be appriciated. Thank you!!!
    <x:selectOneMenu id="myMenu" onclick="">
      <f:selectItem id="perPage1" itemValue="1" itemLabel="1" />
      <f:selectItem id="perPage2" itemValue="2" itemLabel="2" />
      <f:selectItem id="perPage3" itemValue="3" itemLabel="3" />
      <f:selectItem id="perPage4" itemValue="4" itemLabel="4" />
      <f:selectItem id="perPage5" itemValue="5" itemLabel="5" />
    </x:selectOneMenu>

    [...]how it was never designed to be used for
    such large applications[...]All I can say is that if this is true, then it doesn't show. Yes, I know it (oak) was originally designed for embedded systems, but Java and Oak aren't identical.
    My assembly teacher
    always makes fun of Java, saying java gives you far
    less control, it prevents you from making mistakes.
    No control over unsigned/ signed values, pointers
    etc. Yes. But broadly speaking that's the point. Java sacrifices control over such things. The return, however, is that programmers are able to be more productive because of the great swathes of problems that can no longer arise.
    The mistake is in assuming that Java is the best tool for everything. It isn't, and in fact no language us. As it turns out, Java is just great for building enterprise systems. It has a few other strengths, some of which (applets for example) have been more important in its original uptake but are now relatively minor features.
    You don't write an enterprise website in Intel assembly, and you don't write device drivers in Java.
    Not saying its not good but its good for
    smaller applications like cell phones and
    mini-computers.I think you mean something different by mini-computers to what I mean...
    Its portability is actually the main point in its favour for use in cell phones. If it weren't for that, I think C or C++ would probably have sole ownership of that space.
    Now i'm not saying any thing against it just
    confused on why a class like data-structures at my
    University [...] would be taught using java when C would
    probably be a lot better for Very Large ADTS.You and Joel Spolsky:
    http://www.joelonsoftware.com/articles/ThePerilsofJavaSchools.html
    I disagree, because I don't think it much matters what language you learn - experience trumps any particular initial language choice. If you're still using Java in 15 years I'll be fairly surprised.

Maybe you are looking for

  • Error in allocating a connection + JPA

    Hello Experts, I am trying my first ever JPA Program.I am using netbeans 6.0.In netbeans there is a sample application for WebJPA.In that they are calling entity from servlet.I just made a different project.I have copied all files in my project.At th

  • Update 10.6.8 - dual screens - mouse problem

    I run a Mac Pro with 2 screens. I can just move my mouse (and windows) from one screen to another. I just did the update and now I can not move my mouse anymore from screen 1 to the other screen. So I can not get to the 2nd screen anymore with my mou

  • How do I stop two copies of Incoming emails appearing in my inbox

    Quite suddenly, this morning two copies of most Incoming emails have started to appear in my inbox

  • Iphone does not appear

    Itunes doesn't automatically open, and my iphone does not appear as a device!

  • Receiver SOAP adapter - SPML message

    Hi All,           Could you advice how to construct the request spml message in receiver interface and adapter settings(communication channel) to generate the following sample SPML message: <spml:addRequest targetID=“Sleek” executionMode=“synchronous