Hi users,
I am using two scripts in a page
- A script to setup the position of a layer
- A script to preload some images in page
The 2 scripts execute themselves at the same time, making the div i want to position at a very wrong position while images are preloading. When the preload is done...
Hi users,
I am building a script that checks every n interval (1 second for example) the offsetHeight of two layers. If this value changes it updates margin-top value for another layer. Here is below the basic structure i set up:
function screen()
var screenSize = screen.offsetWidth...
hi there,
I'm trying to set a margin-top value for a layer C wich would be the sum of two fixed layers height above: A and B. I can have no precise control in css, even with relative units, of C position , since A and B vary in height according to their content and the screen size of user.
The...
Hi there,
I am loosing my hairs into setting up a css valid way of centering an image in its div container. This container has never the same height as he is stretched trough Javascript to fit the browser window minus 100px at the top used for a nav bar.
Little googlings and i found this great...
Hi,
I would like to hide content to specific browsers: Opera and Safari.
Both script work fine alone. But when i mix them, as shown below, Opera just misses the part he should read.
Why is that?
Thanks for incomming answers.
Guillaume.
// fix z-index layer in Opera
function killOpera() {...
Hi,
I use this script below to show / hide specific layer content for Opera browsers. Unfortunately it does the correct job only on windows but not on mac.
Any idea ? Add lines to target mac Os i imagine ?
Any help is greatly appreciated...
Thanks in advance...
Guillaume
THE SCRIPT:
function...
In Opera i am having trouble with a div ( with a z-index ) masking some content.
I would like to hide this particular layer ( called #sword )to Opera and replace it with another ( called #swordOpera ).
I guess i have to detect Opera first and if true then hide #sword and write #swordOpera.
I...
hi,
i would like to reload the content of a page when the user
resizes the browser window, but not inside the body tag as <body onresize etc...>
but
inside a <script type="text/javascript"> RELOAD ON RESIZE PAGE</script>
Thanks for your interest.
Guida
hi,
i would like onclick to catch the hidelayer event and the a href target( link to a name="topPage" )
Unfortunately it handles only the hide layer event and doesn't target the a name, go to the top the page.
<a href="#topPage" onclick=" hideLayer('menu1'); return false"...
Hello,
The goal of this script is to display a 800x600 image in full screen depending on the users resolution.
This background image must fit the navigator window, no white space on the right or at bottom.
I could use a 100 % width and height in a 100 % Width and Height table, but
it is buggy...
Hello,
I would like a background image to fit the navigator window.
I could use a 100 % width and height in a 100 % W&H table, but
it is buggy on all navigators except IE.
So i am using this script below.
---------------------------------------------
First i detect wich navigator is in use...
Hello,
I use a popup script. The new window is centered on screen.
I would like to open my window depending on the img ( size )
contained in it so that each individual width ( X ) and height ( Y ) is passed to the open window method...
Hello,
I am trying to open a delayed popup from a parent popup.
Say a page index loads. While body onload it opens a popup A.
After a delay i would like a popup B to show up.
The setTimeout i am using is mixed with another center window Js function, and this is my problem: i don't know how to...
Hello,
I am trying to open a delayed popup from a parent popup.
Say a page index loads. While body onload it opens a popup A.
After a delay i would like a popup B to show up.
The setTimeout i am using is mixed with another center window Js function, and this is my problem: i don't know how to...
Hello,
I would like to put a simple text clock on a page.
All material i found are clocks in fields, rarely on a layer.
I finally worked with a script that displays text clock in a cell.
Works fine in Msie, not on netscape.
If someone can recommand an Url with a simple text clock in a cell or...
Hi,
i am trying to open a second popup from a parent popup when the user leaves it.
Works in IE but not in Netscape. The Js console returns this message:
JavaScript Error: illegal URL method 'news.htm'
Here is my code:
<SCRIPT LANGUAGE="JavaScript">
<!--
var exwin=null;
function...
Hello,
I use several times on a page two animated gifs.
The first appears OnMouseOver, second OnMouseOut.
Ie handles this as many times as you pass your mouse over and out.
1) Netscape handles the over event same but only ONCE the mouse out.
Usually u use the mouseout event to return to your...
In a popup the user can close the window on a link.
The problem appears on netscape on open and close window, it blocks animated gifs on parent window.
The idea was to reload the parent so that animated gifs restart, on closing the child window.
But, it reloads all parent window wich is a quite...
On a page several links are mixed with an open window.
As the new windows opens, i would like to display in it the proper page for Msie and Netscape.
The document displayed in the new window contains layers.
There are two types of document: 1 for Ie and 1 for Ns4
On a previous thread MatthewP...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.