Here´s the script for my floating menu.
Is it possible to assign it to a table cell and if yes how to do it?
I hope you mean what I want to do?
Thanks for help,
lg
Christina
<!-- Start
if (!document.laye rs)
document.write( '<div id="Floater" style="position :absolute">')
document.write( '<layer id="Floater">') ;
document.write( '<a href="material. htm"><img
src="picts/float-material.gif" border="0" vspace="1"></a><br>');
document.write( '<a href="cyanotypi e.htm"><img
src="picts/float-cyanotypie.gif" border="0" vspace="1"></a><br>');
document.write( '<a href="kallitypi e.htm"><img
src="picts/float-kallitypie.gif" border="0" vspace="1"></a><br>');
document.write( '<a href="gummidruc k.htm"><img
src="picts/float-gummidruck.gif" border="0" vspace="1"></a><br>');
document.write( '<a href="index.htm "><img src="picts/float-home.gif"
border="0" vspace="1"></a><br>');
document.write( '<a href="#top"><im g src="picts/float-top.gif" border="0"
vspace="1"></a><br>');
document.write( '</layer>');
if (!document.laye rs)
document.write( '</div>')
function FloatMenu()
{
var Xloc = 0,
Yloc = 600;
var ns = (navigator.appN ame.indexOf("Ne tscape") != -1);
function SetMenu(id)
{
var
GetElements=doc ument.getElemen tById?document. getElementById( id):document.al l?document.all[id]:document.layer s[id];
if(document.lay ers)GetElements .style=GetEleme nts;
GetElements.sP= function(x,y){t his.style.right =x;this.style.t op=y;};
GetElements.x = Xloc;
GetElements.y = ns ? pageYOffset + innerHeight :
document.body.s crollTop + document.body.c lientHeight;
GetElements.y -= Yloc;
return GetElements;
}
window.LoCate_X Y=function()
{
var pY = ns ? pageYOffset + innerHeight : document.body.s crollTop +
document.body.c lientHeight;
ftlObj.y += (pY - Yloc - ftlObj.y)/15;
ftlObj.sP(ftlOb j.x, ftlObj.y);
setTimeout("LoC ate_XY()", 10);
}
ftlObj = SetMenu("Floate r");
LoCate_XY();
}
FloatMenu(); 4 1994
Christina Joch wrote: Here´s the script for my floating menu. Is it possible to assign it to a table cell and if yes how to do it? I hope you mean what I want to do? Thanks for help, lg Christina
<!-- Start
if (!document.laye rs) document.write( '<div id="Floater" style="position :absolute">') document.write( '<layer id="Floater">') ;
document.write( '<a href="material. htm"><img src="picts/float-material.gif" border="0" vspace="1"></a><br>'); document.write( '<a href="cyanotypi e.htm"><img src="picts/float-cyanotypie.gif" border="0" vspace="1"></a><br>'); document.write( '<a href="kallitypi e.htm"><img src="picts/float-kallitypie.gif" border="0" vspace="1"></a><br>'); document.write( '<a href="gummidruc k.htm"><img src="picts/float-gummidruck.gif" border="0" vspace="1"></a><br>'); document.write( '<a href="index.htm "><img src="picts/float-home.gif" border="0" vspace="1"></a><br>'); document.write( '<a href="#top"><im g src="picts/float-top.gif"
border="0" vspace="1"></a><br>');
document.write( '</layer>');
if (!document.laye rs) document.write( '</div>')
function FloatMenu() { var Xloc = 0, Yloc = 600; var ns = (navigator.appN ame.indexOf("Ne tscape") != -1); function SetMenu(id) { var
GetElements=doc ument.getElemen tById?document. getElementById( id):document.al l?document.all[id]:document.layer s[id]; if(document.lay ers)GetElements .style=GetEleme nts; GetElements.sP= function(x,y){t his.style.right =x;this.style.t op=y;}; GetElements.x = Xloc; GetElements.y = ns ? pageYOffset + innerHeight : document.body.s crollTop + document.body.c lientHeight; GetElements.y -= Yloc; return GetElements; } window.LoCate_X Y=function() { var pY = ns ? pageYOffset + innerHeight : document.body.s crollTop +
document.body.c lientHeight; ftlObj.y += (pY - Yloc - ftlObj.y)/15; ftlObj.sP(ftlOb j.x, ftlObj.y); setTimeout("LoC ate_XY()", 10); } ftlObj = SetMenu("Floate r"); LoCate_XY(); } FloatMenu();
Christina...tha t looks to be a *very* old version of Roy Whittle's
FloatMenu. It's gone through several upgrades in the interim; I believe
this is the most recent version: http://www.javascript-fx.com/navigat...menu/demo.html
What exactly did you want it to do? ~:\
Christina Joch wrote: Here´s the script for my floating menu. Is it possible to assign it to a table cell and if yes how to do it? I hope you mean what I want to do? Thanks for help, lg Christina
<!-- Start
if (!document.laye rs) document.write( '<div id="Floater" style="position :absolute">') document.write( '<layer id="Floater">') ;
document.write( '<a href="material. htm"><img src="picts/float-material.gif" border="0" vspace="1"></a><br>'); document.write( '<a href="cyanotypi e.htm"><img src="picts/float-cyanotypie.gif" border="0" vspace="1"></a><br>'); document.write( '<a href="kallitypi e.htm"><img src="picts/float-kallitypie.gif" border="0" vspace="1"></a><br>'); document.write( '<a href="gummidruc k.htm"><img src="picts/float-gummidruck.gif" border="0" vspace="1"></a><br>'); document.write( '<a href="index.htm "><img src="picts/float-home.gif" border="0" vspace="1"></a><br>'); document.write( '<a href="#top"><im g src="picts/float-top.gif"
border="0" vspace="1"></a><br>');
document.write( '</layer>');
if (!document.laye rs) document.write( '</div>')
function FloatMenu() { var Xloc = 0, Yloc = 600; var ns = (navigator.appN ame.indexOf("Ne tscape") != -1); function SetMenu(id) { var
GetElements=doc ument.getElemen tById?document. getElementById( id):document.al l?document.all[id]:document.layer s[id]; if(document.lay ers)GetElements .style=GetEleme nts; GetElements.sP= function(x,y){t his.style.right =x;this.style.t op=y;}; GetElements.x = Xloc; GetElements.y = ns ? pageYOffset + innerHeight : document.body.s crollTop + document.body.c lientHeight; GetElements.y -= Yloc; return GetElements; } window.LoCate_X Y=function() { var pY = ns ? pageYOffset + innerHeight : document.body.s crollTop +
document.body.c lientHeight; ftlObj.y += (pY - Yloc - ftlObj.y)/15; ftlObj.sP(ftlOb j.x, ftlObj.y); setTimeout("LoC ate_XY()", 10); } ftlObj = SetMenu("Floate r"); LoCate_XY(); } FloatMenu();
Christina...tha t looks to be a *very* old version of Roy Whittle's
FloatMenu. It's gone through several upgrades in the interim; I believe
this is the most recent version: http://www.javascript-fx.com/navigat...menu/demo.html
What exactly did you want it to do? ~:\
My webpage is designed with a table.
I used to have it 100% wide, but now I decided only to give them 70% wide.
The floating menu still stays in the right side, but I want it to move
into the table, on the right side in the white area.
Here you can see what I mean:
<http://www.fotografisc hes.at/edeldruck.htm>
Don´t mind the design, I will change it.
I hope you know what it should look like and what I want to do.
Thanks
Christina
P.s. thanks for the link to the newest version.
Christina Joch wrote: My webpage is designed with a table. I used to have it 100% wide, but now I decided only to give them 70%
wide. The floating menu still stays in the right side, but I want it to
move into the table, on the right side in the white area. Here you can see what I mean:
<http://www.fotografisc hes.at/edeldruck.htm>
Don´t mind the design, I will change it. I hope you know what it should look like and what I want to do. Thanks Christina
P.s. thanks for the link to the newest version.
Hi Christina. Sorry for the delay.
Played around with your homepage and tried a few things. Emailed the
results to in**@fotografis ches.at as an attachment. Keep me posted.
Rob This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Paul |
last post by:
HI! I get an error with this code.
<SCRIPT language="JavaScript">
If (ifp==""){
ifp="default.htm"}
//--></SCRIPT>
Basicly I want my iframe to have a default page if the user enters in
directly. so I need a way doing this. so I check to see if the ifp value is
null and if so then assign it a value. is this correct?
|
by: Lars Hedström |
last post by:
Hello
I am looking for a floating menu which shows up at the left and then slides
over to the right. Anyone knows where I can find such a script?
Regards
Lars
|
by: jemcgui |
last post by:
I've been building a site that has a quirk in it. It will display just as intended in IE but not firefox. The left "nav" div which is floating left will be forced down to the bottom of the page. The main content area on the right is floating right and stays fine. The weird part is that a refresh will always correct this problem. and the problem will not occur on all the pages though they have identical set-ups.
The site is at...
|
by: Dariusz Tomoñ |
last post by:
Hi,
I have got JS at: http://www.euroadres.pl/b2b.aspx for floating menu - it
activates when scrolling down.
Under IE it works ok but under FF it doesn't float and what's more it covers
a part of billboard.
How can I fix the problem. Or eventually where to find similar working
script (I googled a half of day).
|
by: elusified |
last post by:
Hi guys, i am now doin this website that required a floating menu. the problem is how do i restrict the floating menu to prevent it from goin out of the navigation area when the window is minimize? below are my codes.
var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function JSFX_FloatTopDiv()
{
var startX = 75,
| |
by: yela |
last post by:
I am working in a floting menu for a website, I found this cool script, it works great, but I need to limit the movement of the menu to a table area, right now it goes up and down through the whole body, is there a quick fix for this? please help.
Thanks.
<script>
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</script>
|
by: Parul Bagadia |
last post by:
I just wrote a code for myself to clear certain things...........
When i made this program to execute in turbo c++ it didnt.....
it showed following error.
I have pasted the output after code is over.
But when i executed the same code in microsoft visual c++; it worked without showing any errors.
Can somebody tell me why that happened.
#include<stdio.h>
#include<conio.h>
void assign();
|
by: colin |
last post by:
Hi,
I have an IDE style editor based on the WeifenLuo.WinFormsUI.Docking
code, wich I must say seems realy good.
Im trying to activate drop down menus and such from various
special command key such as the windows apps key,
and then do something like build up a context menu using
reflection and picking items in the chain of windows and parent windows
wich have a member with my custom ContextMenuAttribute with
|
by: Jason Carlton |
last post by:
I'm working with the cookie-cutter code located here:
http://www.jtricks.com/javascript/navigation/floating.html
Very helpful script, BTW!
I'm trying to modify it, though, so that the menu will scroll relative
to a parent DIV instead of the main window. So, I have something like
this (simplified so that you can copy it to your viewer and see the
problem):
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |