Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] Re: simple button question

Expand Messages
  • dav.glass@yahoo.com
    Gawron1 -- This example should get you going: http://blog.davglass.com/files/yui/button9/ Hope that helps :) Dav Dav Glass dav.glass@yahoo.com
    Message 1 of 4 , Nov 1, 2007
      Gawron1 --

      This example should get you going:
      Hope that helps :)

      Dav Glass
      + Windows: n. - The most successful computer virus, ever. +
      + A computer without a Microsoft operating system is like a dog
      without bricks tied to its head +
      + A Microsoft Certified Systems Engineer is to computing what a
      McDonalds Certified Food Specialist is to fine cuisine +

      ----- Original Message ----
      From: Gawron1 <Gawron2@...>
      To: ydn-javascript@yahoogroups.com
      Sent: Thursday, November 1, 2007 8:39:59 AM
      Subject: [ydn-javascript] Re: simple button question

      Has anyone messed with the button control?  Im still stumped..:)


      --- In ydn-javascript@yahoogroups.com, "Gawron1" <Gawron2@...> wrote:
      > I have skinned my button fine.  Its just a basic button with a drop
      > down menu.  Basically when they choose a menu option I want to push
      > them off to another URL.  I know I am just missing it in the
      > documentation, but if someone could push me in the right direction, it
      > would be  a big help.
      > Here is my code.:
      > It creates the button no problem.  I just want to redirect when they
      > hit the dropdown selection.
      > <script type="text/javascript"
      >  <div>
      >    <input type="submit" id="menubutton1" name="menubutton1_button"
      > value="Options">
      >    <select id="menubutton1select" name="menubutton1select">
      >        <option  onclick="window.location('http://www.msnbc.com');"
      > value="0">Refresh Queue</option>
      >        <option value="1">Transfer Document</option>
      >        <option value="2">Split Document</option>               
      >        <option value="3">Delete Document</option>
      >        <option value="4">Email Notification</option>
      >        <option value="5">Print Barcodes</option>
      >    </select>
      >    <script language=javascript>
      > var oMenuButton1 = new YAHOO.widget.Button("menubutton1", {
      >                                        type: "menu",
      >                                        menu: "menubutton1select" });

      > </script>

      Yahoo! Groups Links

      <*> To visit your group on the web, go to:

      <*> Your email settings:
          Individual Email | Traditional

      <*> To change settings online go to:
          (Yahoo! ID required)

      <*> To change settings via email:

      <*> To unsubscribe from this group, send an email to:

      <*> Your use of Yahoo! Groups is subject to:

    Your message has been successfully submitted and would be delivered to recipients shortly.