Unstoppable Domains

Website Tonight - Drop Down Menus

Spaceship Spaceship
Watch

Debt.tv

Top Member
Impact
410
I am trying to develope a website using godaddy and website tonight. I want to put drop down menus (similar to what godaddy has, not cheap looking) on my page but I am still learning how to input code. I have been using downloadable software that all you have to do is make the table and it writes the code for you to place into your website. I am still having trouble. Does anyone have any ideas to help me? A good website that has the type of software I am looking for?

Please Help!!

Sorry if you read this in the other forum, I think I posted it in the wrong forum before. :alien:
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
I am a little confused, are you looking for software that does the dropdown boxes like godaddy? or are you confused on where you have to put the code that it gives to you?
-Coolprogram
 
0
•••
Probably both. I created a table and pasted the code from the software into the tables html and also into the header like it told me to do. The drop downs then appear up in the top left corner of my webpage for some reason.

I am sorry if you don't understand me, I am completely new to website design.
 
Last edited:
0
•••
LOL don't worry about it, umm... I don't know if there is software for this type of thing, I think some of the other Namepros members will kno, but I think what you are looking for is done in JavaScript. http://dynamicdrive.com/ Has some nice scripts for dropdown boxes. Sorry, Can't really search for right now, so go there and check it out,
I will return later in the evening, maybes someone else will help you more than I have
Best wishes,
-Coolprogram
 
0
•••
I haven't tried that page yet, but after looking at it, I think it has potential!!!

I will let you know if it works.

Thank you
 
0
•••
hey etittle52
your software worked good and you managed to do a drop down menu but it's not because of it what you were saying happened
you said it appeared in the top-left corner... that's normal
if you want to appear normal, put smth like
I just create a blank apge with a header...here's the code
Code:
<html>
      <head>
          <title>Blablabla</title>
<style type="text/css">
   #header
{position:absolute;
left:100px;
top:150px}
/*change these values to whatever you want.. you might consider two div elements in case you want a Logo too*/
</style>
      </head>
<div id="header">PUT THAT CODE IN HERE :)</div>
  
  <body>
  </body>
</html>


this is created while posting...sorry for any mistakes I made
 
0
•••
Here, is the code you are looking for, well something like this,
Code:
<html>
<head>
<title>Dropdown Sample</title>

<script type="text/javascript">
// <script>

// Copyright (C) 2005 Ilya S. Lyubinskiy. All rights reserved.
// Technical support: http://www.php-development.ru/
//
// YOU MAY NOT
// (1) Remove or modify this copyright notice.
// (2) Distribute this code, any part or any modified version of it.
//     Instead, you can link to the homepage of this code:
//     http://www.php-development.ru/javascripts/dropdown.php.
//
// YOU MAY
// (1) Use this code on your website.
// (2) Use this code as a part of another product provided that
//     its main use is not creating javascript menus.
//
// NO WARRANTY
// This code is provided "as is" without warranty of any kind, either
// expressed or implied, including, but not limited to, the implied warranties
// of merchantability and fitness for a particular purpose. You expressly
// acknowledge and agree that use of this code is at your own risk.


// ----- Popup Control ---------------------------------------------------------

function at_display(x)
{
  var win = window.open();
  for (var i in x) win.document.write(i+' = '+x[i]+'<br>');
}

// ----- Show Aux -----

function at_show_aux(parent, child)
{
  var p = document.getElementById(parent);
  var c = document.getElementById(child );

  var top  = (c["at_position"] == "y") ? p.offsetHeight+2 : 0;
  var left = (c["at_position"] == "x") ? p.offsetWidth +2 : 0;

  for (; p; p = p.offsetParent)
  {
    top  += p.offsetTop;
    left += p.offsetLeft;
  }

  c.style.position   = "absolute";
  c.style.top        = top +'px';
  c.style.left       = left+'px';
  c.style.visibility = "visible";
}

// ----- Show -----

function at_show()
{
  var p = document.getElementById(this["at_parent"]);
  var c = document.getElementById(this["at_child" ]);

  at_show_aux(p.id, c.id);

  clearTimeout(c["at_timeout"]);
}

// ----- Hide -----

function at_hide()
{
  var c = document.getElementById(this["at_child"]);

  c["at_timeout"] = 

setTimeout("document.getElementById('"+c.id+"').style.visibility = 'hidden'", 333);
}

// ----- Click -----

function at_click()
{
  var p = document.getElementById(this["at_parent"]);
  var c = document.getElementById(this["at_child" ]);

  if (c.style.visibility != "visible")
       at_show_aux(p.id, c.id);
  else c.style.visibility = "hidden";

  return false;
}

// ----- Attach -----

// PARAMETERS:
// parent   - id of visible html element
// child    - id of invisible html element that will be dropdowned
// showtype - "click" = you should click the parent to show/hide the child
//            "hover" = you should place the mouse over the parent to show
//                      the child
// position - "x" = the child is displayed to the right of the parent
//            "y" = the child is displayed below the parent
// cursor   - Omit to use default cursor or check any CSS manual for possible
//            values of this field

function at_attach(parent, child, showtype, position, cursor)
{
  var p = document.getElementById(parent);
  var c = document.getElementById(child);

  p["at_parent"]     = p.id;
  c["at_parent"]     = p.id;
  p["at_child"]      = c.id;
  c["at_child"]      = c.id;
  p["at_position"]   = position;
  c["at_position"]   = position;

  c.style.position   = "absolute";
  c.style.visibility = "hidden";

  if (cursor != undefined) p.style.cursor = cursor;

  switch (showtype)
  {
    case "click":
      p.onclick     = at_click;
      p.onmouseout  = at_hide;
      c.onmouseover = at_show;
      c.onmouseout  = at_hide;
      break;
    case "hover":
      p.onmouseover = at_show;
      p.onmouseout  = at_hide;
      c.onmouseover = at_show;
      c.onmouseout  = at_hide;
      break;
  }
}
</script>

<style type="text/css">

div.sample_attach, a.sample_attach
{
  width: 100px;
  border: 1px solid black;
  background: #FFFFEE;
  padding: 0px 5px;
  font-weight: 900;
  color: #008000;
}

a.sample_attach
{
  display: block;
  border-bottom: none;
  text-decoration: none;
}

form.sample_attach
{
  position: absolute;
  visibility: hidden;
  border: 1px solid black;
  background: #FFFFEE;
  padding: 0px 5px 2px 5px;
}

</style>

</head>
<body>

<h3>Dropdown Sample</h3>

<!-- Dropdown Menu -->

<div id="menu_parent" class="sample_attach">
<img src="http://i84.photobucket.com/albums/k34/coolprogram/Bands.png"></img>
</div>
<div id="menu_child" style="position: absolute; visibility: hidden;">
<a class="sample_attach" href="#">Item 1</a>
<a class="sample_attach" href="#">Item 2</a>
<a class="sample_attach" style="border-bottom: 1px solid black;" href="#">Item 

3</a>
</div>

<script type="text/javascript">
at_attach("menu_parent", "menu_child", "hover", "y", "pointer");
</script>
</body>
</html>
Found this at DynamicDrive.com, all i did was put the <img> tags
I tested it, just save it as .html and you should be ready to go!
-Coolprogram *Sorry couldn't help earlier*
 
0
•••
Coolprogram, nice find. Didn't think there was much demand for this type of Image/Mouseover but I guess nowadays, everyone wants "cool" stuff. :)
 
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back