473,406 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Flip-Down Menu Help ?

JC
Can someone send me a link where I can make the flip-down menu on this
page ?
http://www.renzifoodservice.com/service_solutions.asp

Or, does anyone do that, and would be willing to create something like
that for me ?
Let me know your fee.

Sep 25 '06 #1
2 1348
On 25 Sep 2006 04:42:23 -0700, in comp.lang.javascript "JC"
<we********@aol.com>
<11**********************@d34g2000cwd.googlegroups .comwrote:
>| Can someone send me a link where I can make the flip-down menu on this
| page ?
| http://www.renzifoodservice.com/service_solutions.asp
|
| Or, does anyone do that, and would be willing to create something like
| that for me ?
| Let me know your fee.
http://www.projectseven.com/viewer/index.asp?demo=mm1
---------------------------------------------------------------
jn******@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------
Sep 25 '06 #2
JC wrote:

Hi,
Can someone send me a link where I can make the flip-down menu on this
page ?
Check the following script:
<URL:http://groups.google.fr/group/comp.lang.javascript/msg/6caa4b5950aae96c>

Edit the following three things:
- define "left:1%;top:1%" instead of "right:10%;top:10%",
- append "position:relative" inside "div#menu ul",
- substitute the setVisible function by the following one.

You can then adjust the step/interval parameters to your needs.

---
function setVisible(el,bVis){
var step=40;
var interval=10;
if(bVis){
el.style.display="";
el.style.left=(-(getAbsolutePosition(el).x+el.offsetWidth))+"px";
setTimeout(
function(){
var left=Math.min(0, parseInt(el.style.left)+step);
el.style.left=left+"px";
if(left!=0) {
setTimeout(arguments.callee, interval);
}
},
interval
);
}else
el.style.display="none";

function getAbsolutePosition(el){ // no borders, no overflows
var x=0, y=0;
do {
x+=el.offsetLeft|0;
y+=el.offsetTop|0;
el=el.offsetParent;
} while(el);
return {x:x,y:y};
}
}
---

HTH.
Sep 25 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: RicercatoreSbadato | last post by:
I have to flip vertically a Bitmap. Is it possible with GDI+ and C#?
0
by: Mr. A | last post by:
I'm looking for a code to flip a window, like in the Tiger - Apple OS. I though of the following algorithm but I can get it implemented right: 1. Capture the window who is about to be flipped....
4
by: theNetDragon | last post by:
hi all I see on a site which show a book and with ur mouse you are flipping the papers, this code is very complex can any one help me u can find the on this link...
0
by: David S. Zuza | last post by:
I know this is a strange question. I want to be able to reverse the display and/or flip it whenever I need in the program and was wondering if there was a way to do it. I am trying to make it so...
0
by: coolindienc | last post by:
Honestly, I am totally lost about this program. I don't even know where to start. At first I thought I can ask a user to flip a coin. But then again one will get bored flipping coin fot 100 times....
8
by: coolindienc | last post by:
At first I had no idea where to start. Finally I tried to get somewhere and I am still stuck. I wrote two different ways using while loop and for loop. Below are codes for both. I am getting...
6
by: Francesco Moi | last post by:
Hi. I'd like to flip horizontally an image with JavaScript. Is it possible? Thank you very much.
2
by: as | last post by:
Hi folks, am a newbie in C++ world. Normally I use matlab more often. But right now I want to create a Rising Edge D Flip-Flop model which has two Digital inputs, i.e. INPUTDATA and a CLOCK. The...
5
TMS
by: TMS | last post by:
I'm writing a couple of classes one for a D Flip Flop and one for a JK Flip Flop in C++. The D Flip Flop seems to be working fine, but I'm having issues with the JK Flip Flop. I'm getting garbage...
6
by: dissectcode | last post by:
Is there a quick method to flip endian-ness in C? Different platforms I am using, use big and little endian, and I want to flip everything to big.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.