Hi, I am using I-frames on my site. Is there a way that I can call java-script functions that live in the parent frame of an i-frame - or just target it to go to a different url.
Also, is there a script that I can put in my i-frame that checks that its in my i-frame...
Cheers if you can...
Hi, is it pos to do a browser independant redirect base on just the domain - not the whole url.
EG:
if the domain is
http://www.microsoft.com
or
http://microsoft.com
or
http://microsoft.co.uk
go to 'x'
M@)
When I detect my browser it says:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Browser language: en-gb
Whay does it say Mozilla/4.0 when its IE?
M@)
Hi There, I have a place where I keep all my js functions.
One of may functions launches (user requested) popups.
I am trying to write a function that I can call from any one of the popups that tells the parent window to go to a url and the closes the pop_up.
Eg I would just include a working...
Hi - Rob Penner wrote this function to get the intercept ot two lines from pasing it four points.
its very neat:
Math.intersect4Pts = function (p1, p2, p3, p4) {
var x1 = p1.x; var y1 = p1.y;
var x2 = p2.x; var y2 = p2.y;
var x3 = p3.x; var y3 = p3.y;
var x4 = p4.x; var y4 = p4.y;
var...
Can ANYONE please please help me understand how to get this page to behave in IE and netscape?
M@
------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>...
Hi, can I use JS to control the contents of a span.
EG: Can I have a dropdown with option 1 and option 2.
When option 1 is selected there is another dropdown underneith.
When option 2 is selected there is a normal form field.
I think I've seen this before - but am not having much luck so...
Hi, I have set up a news scroll for my site. The content is loaded in as xml.
I have put a liitle load window on the front. It works great, using:
this.TheNews.getBytesLoaded();
But, I don't think people are interested in the bytes - so I just want to display the percentage.
This also works...
Hi, I am using the following script ot popup a window:
<script>
// JavaScript Document
function PopDetails(WinName,theWidth,theHeight,theURL){
xpos = Math.round((screen.width/2)-(theWidth/2)-13);
ypos = Math.round((screen.height/2)-(theHeight/2));
WinName =...
Hi, I have a dynamic shape made from filling the space inbetween some lines. I really need it to be possible to be able to then substract that shpa efrom a square that I have on the stage. (which can be there already or drawn dynamically too...
Can this be done?
M@?
Hi, I have a form. When the user gets to the final page - they must not use the back button to try and get back to the main pages (they must use the navigation, and link on the thank you page).
Anyways, is it possible to set the length of the history array to be 0 - so the back button behaves...
Hi, I have a fixed size scroll pane. I would like to use control the size of the clip within that pane and have the scrollbars adjust accordingly.
Is the a function I need to call to get them to apear - and dynamically resize when necessary?
Foe example. To make it simple - I would like to...
Hi, can anyone tell me why this workes cool in IE but not in mozzila and NS7:
<script LANGUAGE="JavaScript">
function show_help( name )
{
alert('im not netscape');
var HelpLayer = document.getElementById(name)...
Hi,
I usually use something like:
var selected = document.CalendarFilter.OnDemand;
and check what value 'selected' is to see if something from a dropdown is selected.
How do I check whether a radio button is true or false?
M@?
This code seams fine - but if its viewed in a browser the edge of the last cell disapears...
<TABLE border="0" cellpadding="0" cellspacing="1">
<tr valign="top">
<td bgcolor="#cccccc">
<TABLE width="100%"...
Hi, can anyone tell me why my function always opens the window at the top left of the screen?
function PopDetails(theWidth,theHeight,theURL){
windowprops =...
Hi, I have a cell (with a onClick href) and a link in that cell. At the moment if you click the cell two calls are made to the page. Is there a way to make the link do nothing at all. (so the cell onClick) does the link, but the text link still behaves as such...
M@
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.