Sketchy SubNav Drop Down Buttons
There is some sort of conflicting code weirdness occurring
with my two sub navigation button structures that pop down on the
"Services" and the "Contact" buttons. For instance, when you mouse
over the "Services" button, there is code that sends the movie to a
frame labeled "services" which is where the sub-nav buttons are
displayed. But as soon as you try to roll over any of the sub-nav
buttons ("Karaoke" & "DJ Services" respectively) one of the
actions encountered there mistakenly sends the movie back to the
original frame labeled "norm." This makes it impossible to select
any of the sub-nav buttons. If you move the mouse very slowly,
you'll notice that this occurs precisely when the mouse encounters
the script on the sub-nav buttons. I can't figure out where it's
getting the idea that I want the root timeline to return to the
"norm" frame.
Here's the link to my test site:
http://www.savagepixels.com/allstar/home.html
I have also put together a link showing screen captures of my
layers palette and of two states of the actions palette in question
... the first is the keyframe actions for the "norm" frame/state.
Then an image of the actions for the "services' frame/state. Here's
the link:
http://www.savagepixels.com/allstar/asSample.html
Thanks in advance for taking the time to help out :-)
- scott
Sorry, I missed the link to the code in the original post.
What is the servicesButBacker_mc? Is that the main services button?
That seems like the most likely candidate for the unintentional
redirect back to "norm". If it is the main services button, you
don't need the onRollOver function, since you're already on that
frame. Also, I would make sure that the "hit" frame on that button
is large enough to cover that button and the sub-menu buttons. If
it's not, you would be sent back to "norm" once you moved off that
button and over the sub-menu.
You can use a trace(); function to test which function is
being call to redirect back to "norm". If you run into any issues
with the "hit" area, you can consolidate all three buttons into one
movie clip that has the onRollOut function to go back to "norm".
In general, you should probably be more specific when calling
functions by using the "_root." and "this." prefixes, especially if
you get movie clips inside of movie clips.
Similar Messages
-
Animated drop down buttons not working in movie clip
Hi,
I am working on this site: (AS2)
http://www.steamandclean.com/Index_w_1.html
I have two types of drop down menu. One under Commercial and one under Technical
The buttons are movie clips. The drop downs are also movie clips that start in frame 2 and are triggered on rollover.
The child buttons are buttons living on the drop down movie clips. They are set to getURL
As you see they are not willing to neither link to any url or will they run their move clip animation. One is a button and one is a movie clip.
The left movie clip has a mask, but it makes no difference if I remove the mask . It also has a emboss filter and no difference is I take that away either.
All of it is in one flash movie right now, but I will be splitting it up in a master navigation movie and individual swf's soon.
Right now I have the main movie, then the button MC then the dropdown MC and in the drop down MC I have placed either a animated (button) MC or a button. So it nested in nested in.......
In both cases I scripting the child buttons like this:
on (rollOver) {
gotoAndPlay(2);
on (rollOut) {
gotoAndPlay(6);
on (release) {
getURL("http://steamandclean.com");
I have also tried to use
_parent.getURL and _root.getURL in stead of just get URL, but it does not work.
The drop down buttons seem to be buried. In the left side the whole drop down panel seems to act like a link?
What am I doing wrong?
Can you help?
ggaardeHi Ned
Thank you for your reply again.
I figured it out.
Your reply prompted me to have my main button on rollover to go to a frame number on the main time line and then move the content of the drop down movie clip to that frame.
The drop down panel now work and the child buttons animation now work as well. I just had to find a way to make the drop down panel disappear on rollout. Since I could not script the actual drop down panel I created three skinny invisible buttons and placed them on the right, left and button of the drop down panel. I scripted them to go back to frame 1 on both rollover and rollout. Done.
See the result there:
http://www.steamandclean.com/Index_w_1.html
(Left side only)
Thank you for your help.
ggaarde -
Drop Down button multi function
Hi all,
i need to implement a usual button with a drop down button , like back button on Internet explorer and a drop down button.
i did it in the following way:
1) i create normal button
2) add it to my toolbar
3) create a popupmenu
4) add a few menuitem to the previous popupmenu
5) create a button for a drop down
6) create event "mouse prsessed" for a drop down button,
whenever i pressed this button a pop up menu show up.
it all works fine.
i have only one problem.
how can i group the two buttons to one.
i mean for example:
when i point on a back button on my Internet explorer both buttons are
highlighted.
ThanksDon't cross post:
http://forum.java.sun.com/thread.jspa?threadID=5122040&messageID=9427488#9427488
http://forum.java.sun.com/thread.jspa?threadID=5122039&messageID=9427487#9427487
http://forum.java.sun.com/thread.jspa?threadID=5122038&tstart=0
% -
How can i link two drop down buttons added dynamically
guys got a wired problem but plz help.
i m using jbuilder to create m y website.
in this i got 2 drop down buttons.
when the 1st(p1) 1 is clicked then second 1(a1) shows value respective of the value clicked in 1st 1.
i dynamically add similar drop dowm on click of a button.
but when value in the new drop down is selected (p2) it shows changes in 1st drop down (a1) not in newly created drop down(a2)
could u guys plz help me out.
its really urgentthis is the code i m using to create the drop down
->
var i=0;
var option=new Array();
function insRow(){
var d=document.getElementById("div");
d.innerHTML+="<select id='D"+i+"' class='input' onChange='getSh(this.selectedIndex)'><option>Select Here</option>"+
<%
rs=st.executeQuery("select * from productTab");
while(rs.next())
%>
"<option><%=rs.getString("productName")%></option>"+
<%}%>
"</select>"
d.innerHTML+="<select name='DD"+i+"' id='DD"+i+"' class='input'><option>Select Here</option></select>"
d.innerHTML+="<select name='DDD+i' id='DDD+i' class='input'><option>Select Here</option></select>"
d.innerHTML+="<input type=text name='T+i' id='T+i' class='input-time'><br>"
option +=["DD"+i];
option +=["D"+i];
i++;
function getSh(selectedcitygroup)
document.getElementById("DD+i").options.length=1
if(selectedcitygroup>0){
for(i=0;i<cities[selectedcitygroup].length; i++)
document.getElementById("DD+i").options[document.getElementById("DD+i").options.length]=new Option(cities[selectedcitygroup].split("|")[0], cities[selectedcitygroup][i].split("|")[1]) -
Drop down buttons from a JToolBar
I've been looking at various postings on how to get drop down options from a JToolBar. What I have seen suggests using JPopupMenu.
However for my requirements I simply want the drop down buttons to appear in a gridlayout rather than as a drop down menu. Just the icons with no labels.
Is it possible to change the layout manager up JPopupMenu or should I be trying some other component?
The code I am trying looks something like that below where I demonstrate a toolbar dropdown color picker. The change of the layout manager seems to have no effect.
final JButton standardColorButton = _toolBar.add(_actionStandardColor);
final JButton changeColorButton = new JButton(_actionChangeStandardColor);
_toolBar.add(changeColorButton);
changeColorButton.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
int height = standardColorButton.getPreferredSize().height;
JPopupMenu popup = new JPopupMenu("test");
popup.add(_actionRed);
popup.add(_actionGreen);
popup.add(_actionBlue);
popup.add(_actionBlack);
popup.show(associationButton, 0, height);
popup.setLayout(new GridLayout(0,2));Hi Vijay,
Is this correct?
var oInput = new sap.ui.commons.DropdownBox("ddlb_matnr");
var oItemTemplate = new sap.ui.core.ListItem();
oItemTemplate.bindProperty("key", "Matnr");
oItemTemplate.bindProperty("text", "Description);
oInput.bindItems("/sap/opu/odata/sap/Z_MATNR_F4_SRV/materialSet", oItemTemplate, null, "'');
This should work ?
I tried this.. it is not fetching...
Let me know? -
ComboBox drop down button - visibility
Is there anyway that I can make the drop-down button on a combobox visible and not visible?
Cheers for any help,
Tom.try this, not sure it will work but hey..
String[] items = {"A", "B", "C", "D"};
JComboBox combo = new JComboBox(items);
ComboBoxUI cui = combo.getUI();
cui.setPopUpVisible(combo, false); // sets popup visible to false
cui.setPopUpVisible(combo, true); // set popup visible to trueEnjoy!
Although ready over your post you just want the button removed, hmm never mind, try it. -
Drop down button is no longer located in the upper right corner of browser
Using Firefox 5.01
For some reason, my bookmark button is longer behaving as a dropdown box in the upper right corner of the browser?
The box is there, but when clicked, my bookmarks appear on the left side of the screen.
I used to be able to click the bookmark box, the bookmarks appear and drop down, select a bookmark and the bookmark menu closes.That does explain the X. Thanks!
The reason I'm exporting in the first place is that a friend of mine wants me to fiddle with the rough cut of his video project a bit, and burn the results back onto DVD. (I think he thinks I can do more than I actually know how to at this point, but I figure that playing around with it is a good way to familiarize myself with the application.) -
30EA3 - 2.1.* : Drop-down button missing in Data tab filter
Hi,
1.5 introduced the very useful drop-down list with remembered filters in the Data tab.
2.1 fixed some bugs in the area and made it easier to write new ones.
However, the actual button to open the list (on the far right of the field) is missing, so you're forced to write something before the list opens. Can this be bugged please?
Thanks,
K.Hi K,
I have logged an enhancement
Bug 9201543 - FORUM: DATA FILTER HISTORY BUTTON
Regards,
Dermot. -
I guess I should have used the word buttons. The buttons for drop down boxes are missing. The respond button is missing in email. The button for active listings options is missing. The accept offer buttons is missing for offers I receive. Some drop down boxes are only half shown (right side missing) I have cleared my cache, removed cookies, done something with online storage. I have uninstalled and reinstalled Fire Fox. This all seems to have started around the time I upgraded to 4.0. How can I correct this problem. I love Fire Fox. Right now I have gone to Internet Explorer and everything works fine there. HELP PLEASE
See:
* http://kb.mozillazine.org/Website_colors_are_wrong
* http://kb.mozillazine.org/Websites_look_wrong
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* [[Troubleshooting extensions and themes]] -
in previous versions of Firefox(and most other Browsers) there is a drop down next to the back/forward page buttons, that shows the last 10 of so pages browsed in the current tab......
has this feature been removed from Firefox 4 and why, or is there a way to enable it?
Currently using Firefox 4 on a Macbook running OSX 10.5.8You can get the drop down list by either control-clicking on the back/forward buttons, or holding down the left button until the list appears.
If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker -
Extracting values from drop down buttons html forms
Hello,
I would like to know how to obtain the values which is selected through the drop down box. Iam using Java Script as a client side scripting lang..
Here is my code so far..do let me know what to do further. Iam not getting the alert mesg which is sitting in the put() so let me know how the put method should work
Thanks a lot
avis
<HTML>
<HEAD>
<script language="javascript" type="text/javascript">
<!-- hide
function put()
choice = document.forms.Pri.list.optionsdocument.forms.Pri.list.selectedIndex]
if (choice ="0")
alert("enter state"+choice);
function goto()
Pri.list.options.value=" "
//end -->
</script>
</HEAD>
<BODY>
<form name="Pri" method = "get" action="">
State<SELECT NAME="list" onChange="put()">
<OPTION>
<OPTION>Alabama
<OPTION>California
</SELECT>
<input type="submit" Value="Submit">
<input type=button name="Reset" value=Reset onClick=goto()>
</form>
</BODY>
</HTML>I'm not sure what you're talking about... if you don't select an option from the list, the onchange function isn't going to be called, so of course the the alert isn't working.
You sound like you are complaining that when the form submits, the value for the select list is the first option (""). I fail to see why this is a problem. If the value is "", then you handle it like nothing was selected. In a single select list like that, an option is always selected. The whole point of having a blank option is to allow the user to pick it. Otherwise don't put a blank option.
In general, you don't need to use a button to do reset, you use a reset button: input type="reset". And it'll reset on it's own. -
Hi all,
Im interested in creating a banner type flash menu with a
header for each button and then once the mouse is clicked over the
button a menu drops down with more buttons.
Any help please?to clarify if i need, just the ones on the Macromedia site at
the top.
Any help? -
Where did mygreen "firefox" drop down button go?
''conclusion of this support issue is here - https://support.mozilla.com/en-US/questions/844979 - locking this thread''
i updated to ff5, lost my google toolbar, followed directions to download that 'reporter" thing. i then went & forced the toolbar to work, as directed, and did a dumb thing & told ff it was "fine now." well, sometime yesterday afternoon an evil thing occurred, and now i've lost google toolbar, tool icon AND the green drop down firefox menu. help? the current tab page now fills my monitor screen. i have to navigate waaaay up above it to get the address bar, back button, minimize, maximize & close button...and that's it folks! i have nothing else.yes, firefox will automatically update regularly - though you could disable that in the [[Advanced settings for accessibility, browsing, system defaults, network, updates, and encryption]], i would strongly discourage you from doing so since updates generally also contain [https://www.mozilla.org/security/known-vulnerabilities/firefox.html critical security fixes] & the integrity of your system and your personal data on it would be at risk otherwise.
-
I understand that someone asked a very similar question in this post: https://support.mozilla.org/en-US/questions/977490?esab=a&as=aaq but I want to accomplish my goal without adding another addon or extension to my browser.
Add code to the userChrome.css file below the default @namespace line.
*http://kb.mozillazine.org/userChrome.css
<pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#bookmarks-menu-button,
#bookmarks-menu-button-container { display:-moz-box !important; }</nowiki></pre>
The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.
*http://kb.mozillazine.org/Editing_configuration
You can use this button to go to the currently used Firefox profile folder:
*Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder) -
As above title sorry.
Turns out I'm going to have to BUY iLife '11 (from Best Buy) because the download version on Apple's site is for those with Lion only and I have Snow Leopard. This is becoming a major PAIN. Apple shoudl continue to offer its older products online at least (if not in their stores) rather than just dropping them completely.
Maybe you are looking for
-
I'm trying to connect to mac or Ipad or even Iphone and it's searching without any result.
-
How to conduct two inputs two outputs syetem with fuzzy control funtion?
I have two DC motors to control two variable capacitor, and I use HP 8752c network analyzer to look the circuit's resonance frequency and reflection as a feedback control. The relation between inputs and outputs are nonlinear and they are all correla
-
How to handle ok/add/update button
hi, the button ui=1 automatically changes in add/update /ok buttons .but how we handle update and add ivent through database. Pandey Sai I.S.
-
I used to sell this movie in iDVD format, but feel it's somewhat dated information (on boating) and would like to just offer it to viewers for free. The imovie program allows for exports/shares to Vimeo, but Garage Band does not. It offers iWeb, bu
-
How do I move the in point forward
(DVDSP 4) All of the buttons on my menu work just fine. Unfortunately when the video files were encoded the person who encoded him left 5 seconds of black at the beginning of each video segment. Now, whenever you hit "play all" you get 5 seconds of b