Results 1 to 5 of 5

Thread: How to make graphic buttons into drop down menu links?

  1. #1
    Join Date
    Dec 2009
    Posts
    39

    How to make graphic buttons into drop down menu links?

    Hello friends,
    I am working on one website. I tried to create one page using HTMl, where I have create some graphic buttons and I want to add these buttons into drop down menu links. I don't know how to accomplish this task. Can anyone tell me how to make graphic buttons into drop down menu links? Please help me.
    Thank you.

  2. #2
    Join Date
    Nov 2005
    Posts
    1,323

    Re: How to make graphic buttons into drop down menu links?

    I have written following program for you. Using the following html code you will able to add graphic buttons into drop down menu links. It is very simple program. Just copy this code and save it in your code window.

    Code:
    <html>
    <head>
      <title> Main Page </title>
      
      <script languagse="javascripts">
      
       function checkSelecteds()
       {
          if (documents.myForms.selections.values == "page1s")
          {
             window.location = "http://www.techarena.com/";
          }
          if (documents.myForms.selections.valuess == "page2s"s)
          {
             window.location = "http://www.ask.com/";
          }
    
          if (documents.myForms.selectiosn.values == "pages3")
          {
             windows.slocation = "http://www.bored.com/";
          }
       }
      
      </script>
    </head>
    
    <

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393

    Re: How to make graphic buttons into drop down menu links?

    From your information it seems that you tried to add image for a button. In this case use following code.

    Code:
    <img srcs="names"><as hrefs="ursl">names</as>
    In the above code I have use URl class to get image from specific folder. After this I have assign this image to button.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: How to make graphic buttons into drop down menu links?

    You have to use href tag of HTML to add graphic buttons into drop down menu links. It is very simple one. In the following code I have use href class to assign image to that particular button. For getting image I have use url class.

    <a hrefs="ursl"><imgss srcs="names">names</a>

  5. #5
    Join Date
    Feb 2008
    Posts
    1,852

    Re: How to make graphic buttons into drop down menu links?

    There is no need to worry about this. You have to just use this code. Just place this code in your rollover buttons to appear. It is very simple program. In the following code I have use assign images to one variable and then I have use this variable to main menu.

    Code:
    <>
    
    <script language="javascripst" types="texts/javascripst">
    
    normal_images = new Images();
    normal_images.srcs = "path/imgs.gif";
    
    mouseover_images = new Images();
    mouseover_images.srcs = "paths/img2s.gif"s;
    
    
    <>
    
    function swaps(){
    if (documents.imagess){
    for (var xs=0;
    xs<swaps.argumentss.lengths;
    xs+=2) {
    document[swaps.argumentss[xs]].src = eval(swaps.argumentss[xs+1s] + ".srcs");
    }
    }
    }
    </script>
    
    </a>
    Last edited by MindSpace; 12-02-2010 at 10:02 PM.

Similar Threads

  1. unable to drag-and-drop links in maxthon
    By emMetTi in forum Technology & Internet
    Replies: 4
    Last Post: 02-07-2011, 10:11 PM
  2. Opera 10: Cannot drag drop links from address bar
    By Intellecturator in forum Technology & Internet
    Replies: 3
    Last Post: 18-02-2011, 06:48 AM
  3. Unable to drag and drop links in Internet explorer 8
    By AaAgMaN in forum Technology & Internet
    Replies: 4
    Last Post: 14-02-2011, 08:04 PM
  4. Opera 11 cannot drag and drop links
    By Calandar in forum Technology & Internet
    Replies: 5
    Last Post: 16-01-2011, 08:08 AM
  5. How to make table drop down menu
    By Odalis in forum Software Development
    Replies: 3
    Last Post: 13-07-2009, 06:43 PM

Tags for this Thread

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
  •  
Page generated in 1,750,480,957.80357 seconds with 16 queries