Click to See Complete Forum and Search --> : Dropdown menu on 'mouseover'


newbie maddog62
01-09-2003, 02:51 AM
:confused:
Is there a way I can have a drop down menu 'onmouseover' without having to pay for the script or be worried about copyright issues?
I was guided to a site milonic.com (http://www.milonic.com) but they make it seem as though I would be doing the wrong thing by inserting the script into my site. Can they own script?

pyro
01-09-2003, 02:23 PM
Originally posted by newbie maddog62
Can they own script?They certainly can.

Here is a link to something that might interest you. No sense in trying to steal someones script if you can get one for free. http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

Stefan
01-09-2003, 05:34 PM
Originally posted by newbie maddog62
Can they own script?

Not really no. They didn't invent anything but are just using open standards and plain text files. Still there is plenty of available codes for free so it's usually unnessecary to go against someone whishes.

pyro
01-09-2003, 06:22 PM
Originally posted by Stefan
Not really no. They didn't invent anything but are just using open standards and plain text files. Still there is plenty of available codes for free so it's usually unnessecary to go against someone whishes. Are you sure? It seems to me that if the script is being sold, it would be considered stealing to take it without paying. I could be wrong, but that is what I had thought.

Stefan
01-10-2003, 01:38 AM
Originally posted by pyro
Are you sure? It seems to me that if the script is being sold, it would be considered stealing to take it without paying. I could be wrong, but that is what I had thought.

I not a lawyer, but I would say they would have a hard time claiming such a theft in court.
Any script is likely to require some sort of modification to work on the page, and once you start making changes it's no longer the exact same script. There is also AFAIK no laws against View source (JS is a plain text format) and once you have done that you could easily make your own similar version of the program "from scratch".

Anyway, I wouldn't wanna test my theory in court even if would feel fairly secure in not losing. Politely asking if you can reuse code is usually a much better approach, if nothing else, morally.
Also paying someone a small fee for a code instead of just taking it might mean they will still be in buzziness the next time you need a good piece of code as well as having somewhere to turn for assistance if you run into trouble with the code.

Note also that it would be a compleatly different thing if you hired someone to code a script for you. Then you would pay for the actuall work done, not the script itself.

pyro
01-10-2003, 07:08 AM
...hmm. I've never really thought about it like that. You are most likely right. :D

Zakalwe2k
01-16-2003, 07:20 PM
This is the code for a DHTML dynamic dropdown menu that doesn't use JS, if you are interested. Hope this is what you are looking for.

<html>

<head>
<title>DHTML Navigation Menu</title>
</head>
<body>

<!-- This is a DHTML Navigation table. The main groups use onMouseOver in the <TD> to reveal and hide sub-tables -->
<TABLE bgcolor="#94A4CF" cellpadding="5" width="125" BORDER="1" ALIGN="left">

<TR>
<TD bgcolor="#94A4CF" SPAN onMouseOver="document.all.menu1.style.display = 'block'" onMouseOut="document.all.menu1.style.display = 'none'; document.all.menu2.style.display = 'none'; document.all.menu3.style.display = 'none'" VALIGN="top" VALIGN="top">
First Group<BR>
<SPAN ID="menu1" onClick="document.all.menu1.style.display = 'none'">

<table width="100%" bgcolor="#FBDB24" cellspacing="2" cellpadding="2" border="0">
<tr>
<td><a href="">Item 1</a></td>
</tr>
<tr>
<td>Item 2</td>
</tr>
<tr>
<td>Item 3</td>
</tr>
<tr>
<td>Item 4</td>
</tr>

</table>
</SPAN>
</TD>
</TR>

<TR>
<TD bgcolor="#94A4CF" SPAN onMouseOver="document.all.menu2.style.display = 'block'" onMouseOut="document.all.menu1.style.display = 'none'; document.all.menu2.style.display = 'none'; document.all.menu3.style.display = 'none'"VALIGN="top" WIDTH="200">
Second Group<BR>
<SPAN ID="menu2" onClick="document.all.menu2.style.display = 'none'">

<table width="100%" bgcolor="#FBDB24" cellspacing="2" cellpadding="2" border="0">
<tr>
<td><a href="">Item 1</a></td>
</tr>
<tr>
<td>Item 2</td>
</tr>
<tr>
<td>Item 3</td>
</tr>
<tr>
<td>Item 4</td>
</tr>

</table>
</SPAN>
</TR>

<TR>
<TD bgcolor="#94A4CF" SPAN onMouseOver="document.all.menu3.style.display = 'block'" onMouseOut="document.all.menu1.style.display = 'none'; document.all.menu2.style.display = 'none'; document.all.menu3.style.display = 'none'"VALIGN="top" WIDTH="200" VALIGN="top" WIDTH="200">
Third Group<BR>
<SPAN ID="menu3" onClick="document.all.menu3.style.display = 'none'">

<table width="100%" bgcolor="#FBDB24" cellspacing="2" cellpadding="2" border="0">
<tr>
<td><a href="">Item 1</a></td>
</tr>
<tr>
<td>Item 2</td>
</tr>
<tr>
<td>Item 3</td>
</tr>
<tr>
<td>Item 4</td>
</tr>

</table>
</SPAN>
</TD>
</TR>

</TABLE>
<!-- End of test nav table -->
</body>
</html>

pyro
01-16-2003, 07:33 PM
Originally posted by Zakalwe2k
This is the code for a DHTML dynamic dropdown menu that doesn't use JS, if you are interested.Actually, all this is JavaScript...

onMouseOver="document.all.menu1.style.display = 'block'" onMouseOut="document.all.menu1.style.display = 'none'; document.all.menu2.style.display = 'none'; document.all.menu3.style.display = 'none'"

Stefan
01-16-2003, 08:11 PM
Originally posted by pyro
Actually, all this is JavaScript...


If I'm to knitpick it's invoking JS to apply the DOM & CSS rules in that section.

Thus strictly there isn't any JS in there, but if you turn JS off in your browser it sure won't work :D

pyro
01-16-2003, 08:16 PM
I guess when I see javascript, whether or not it is used to invoke DOM and CSS, I still see it as javascript. Like you said, turn of javascript and there goes your menu. :D

newbie maddog62
01-20-2003, 02:30 AM
I've just started to get into this whole web thing, and to have people out there to help sure does make it easier. Thank you for your help, to everyone who replied!!:)