Ok, sorry for being unclear.
What it does, or is upposed to do is:
When the website first opens, the intro flash movie plays, once the site has stopped loading, the movie is replaced by the home page.
this is what is actually happening:
when you go to the site, the intro movie plays, and once...
Hi,
what I'm trying to do is have a short flash intro play while my site loads, and once its done, replace the intro with the content of the index page. I'm using iframes to show the content of the home page and the flash movie. This is what I have:
(index.php)
<html...
Hi
I've made this function that, when you click on a cell it enters your word into that cell (the word you ebtered into the text box. I want to use just one function to be able to populate all cells. Like, you enter word, click cell C#, it enters it there, then you enter new word and click cell...
Here is the code I have. Does this make sense?
<body>
<script language="javascript">
uInput = elem.value;
sentence = "This is a Test sentence whose length will change "
document.write(sentence); document.write("</p>");
document.write("Test Sentence Length: " + sentence.length )...
Sorry for being so unclear. what I want to know is, how to retrieve data that is input by a user in a form. So, say the length of a sentence is 49 characters, and user inputs '7' into the length field. The sentence now becomes only seven characters long.
Hi,
I'm trying to make a function where a user input in a form changes the length of a string. I would do it this way in PHP:
<?
$width = $_POST['length'];
.
.
.
.?>
<form>
<input name ="width" type="text" value="<? echo $length; ?>">
</form>
I want to do it in JS so that my forms are...
Sorry to post again in a new thread, the other one was marked as resolved so I figured nobody would look at it.
I wanted to make another function that moves the text from the master(parent) page into the iframe.
Here is the code again.(moveText) is the function that I cant figure out.
<body>...
The actual function doesnt seems to work. I just did the same thing, I added the form tags and tried in FF and IE6. In both browsers I get a page that has "this is word one" at the top, a button in the middle, but clicking the button doesnt change the word.
Thanks. I've changed it all to be on one page now, which is a little less messy, but it doesnt work still.
<body>
<style type="text/css">
#div1 { color:red }
#div2 { color:blue }
</style>
<div id="div1">
This is word one
</div>
<iframe name=myiframe src=ipage3.php width=300 height=300...
this is what I have now:
in a page 1:
<style type="text/css">
#div1 { color:red }
</style>
<div id="div1">
This is word one
</div>
in page 2:
<style type="text/css">
#div2 { color:blue }
</style>
<div id="div2">
This is word two
</div>
and now in the last page with the iframe:
<iframe...
I've redone this a few times now, and the way somebody told me to do it was like this: enclose the initial text in a div tag, as well as the text in the iframe(which also needs to have an id. then I have to use this:
document.getElementById([matertext div...
Hi,
I've made a simple Iframe which replaces one text with another. This all works the way I want it to with a link. I want it to do the same except with a button. This is what I have. (the link below the </html> works, but I want it to be a button.) The buton I have doesnt work right.
</head>...
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.