I have a site that uses the prototype and scriptaculous scripts. I also have a pulldown menu script (which I've used before) that I got from AListApart.com. The pulldown menu script does not work in IE on the pages that use the prototype/scriptaculous scripts. Is there a workaround?
We use a variety of plugins on a wordpress site we're developping. But two of them seem to be conflicting, causing one not to load/work properly. One uses jQuery and the other one uses scriptaculous/prototype. It seems those two have some issues running together.
As jQuery is the default library loaded, is there a way (without modifying the $-function) to exclude jQuery from loading from this one page where Scriptaculous is needed?
Is it possible to have a messagebox (prompt) contain a pulldown menu?
What I want is to have a button selected, which pulls up a prompt that contains a pulldown menu. On Ok selection, page goes to selected page from the pulldown menu.
I am trying to generate a pulldown-menu with JavaScript/DOM: The following Code works fine with Opera an Mozilla but in the IE the width of the select element is too short:
myCurrentElement = window.document.getElementsByName('par_role')[0]; for (var i = 0; i < optionArray.length; i++) { myNewElement = window.document.createElement('option'); myNewElement.setAttribute('value', optionArray[i]["value"]); if (optionArray[i]["selected"]==1) { myNewElement.setAttribute('selected', 'selected'); } myNewText = window.document.createTextNode(optionArray[i]["label"]); myNewElement.appendChild(myNewText); myCurrentElement.appendChild(myNewElement); }
I'm trying to put a rotating testimonial effect in the header (working) and use a Phatfusion style image menu (not working). I know the menu uses MooTools and the other a google script?Honestly, I've been going at this for a while and don't know that I know enough about javascript yet to understand what to do...
How can I disable an option in a drop-down menu? Specifically, I want to disable the option "Bouncy Castles". I want to display it, I just want the user to be able to select it. As well, how can I remove the indentation?
I am working on an existing page for a client, he wants right click disabled in Chrome and Safari (dont ask!). The existing Javascript code works to disable the rightclick / menu in IE and FF, but not Chrome and Safari. how, if at all posible can I disable the right click menu in Chrome?
I have a menu with a lot of items that open pop-up windows when clicked on. The first item on the menu is purely intended as descriptive and default selection on the menu and is given the 'disabled' parameter- which makes the option inactive(greyed out) in Firefox; but has no effect with IE which goes ahead to open a blank pop-up window.
Please who knows how I can make a menu option to be 'disabled' in IE.
I have used this script for avoid right click in my webpage. I want to disable " savepage as" in file menu. any javascript have for handle this problem.
I'm trying to dynamically disable a Superfish menu when in mobile mode (using responsive design), so that only the main menu items are displayed. I want the Superfish menu to be re-enabled when the browser window is re-sized and the desktop CSS is re-served.
I've tried using detach() and append() to remove and restore the ULs, but I can't get that to work properly.
I am new to javascript stuff but am looking to develop a form which includes 2 drop down menus but I would like to grey out some options in the second one based on the selection in the first. Basically this is a simplification of what I have:
What I would like is that if south or east are selected for orientation then I can only select front left or front right but if north or west are selected then only rear left or rear right are available.
I have a small doubt in jsp coding..I want to disable certain links on user login.These links come under a menu list.Clarifying more on this..I have created a web application which has got a login page..After login it redirects me to my home page..now when an administrator logs in he/she should be able to view all links on the menu list whereas when an user logs in he/she should only view a certain number of links based on his/her privileges..how can i write this code.
I have an image that uses an image map for navigation. We would like a pull-down menu to appear when the user mouses over the link. The pull-down menu is another image that was created to retain the look of the site and would use another image map for it's links....
I have a table that has four columns in it. The second to last column has checkboxes in it. The last column has pulldowns in it with the class of "change_order". How can I make changes to the adjacent pulldown when the checkbox (in same row) is checked/unchecked? I am not able to select it.
function updateOrder(obj){ $j(obj).nextAll(".change_order").addClass("changedPD"); }
Having a problem on a clients website incorporating two js sliders in the same page. The scripts before editing were the TinySlider and TinyFader from [url]
The parsers in Internet Explorer, Firefox and Chrome cannot seem to differentiate between the two scripts, although I tried altering various defined names for script control it didn't make much difference.
The problems are the controls of the first slider operate the second and only the second slider works. Also, I'm getting validation errors (document type does not allow element "li" here; missing one of "ul", "ol" start-tag) where the showroom (second) script content lies. Not sure if this is related or not but either way if I try to fix it the only working slider is broken.
I've been using the excellent fValidate library to validate my forms and I just came across and intersting problem. I have cause to use htmlArea on one of my forms that uses fValidate. It seems that there is some conflict when both htmlArea and fValidate are working on the same page/form.
I can use one or the other independantly, and each will function without flaw, however when I try to set them up to both act on one of my forms, I get the following:
When I have both htmlArea and fValidate on the same page I seem to get 3 popup errors for each htmlArea dropdown items (in this case, the font and font size selectors):
code to disable right click menu when we right click on "a" tag. But it doesn't work on elements created on the fly. Do you guys know how to tackle this?