...

View Full Version : possible code???



-sephiroth-
08-05-2002, 03:28 PM
Mainly what I'm looking for is a way to make a button where clicking it would add or remove characters on another page!

example. A button that would make another word appear on another page!

ACJavascript
08-05-2002, 03:49 PM
you could use divs for IE and layers for NS. Do you want any browser specifications?

-sephiroth-
08-05-2002, 03:52 PM
no browser specifacations...but...Im pretty young trying to learn alot of coding but I have no idea what divs or the other things you said are!!!

ACJavascript
08-05-2002, 03:55 PM
divs, in IE can be hidden and returned visible, Layers can to but laters are used for Netscape, its basic coding really,
Do you want the code for an iframe of a frame?
I can write one reall quick for ya to look at and see what im talkin about. Just need to know if your using frames or iframes

-sephiroth-
08-05-2002, 03:59 PM
Frames or Iframes funny...I don't know the differece but I think I use Frames!!!

ACJavascript
08-05-2002, 04:01 PM
the frame html tag is <frame><frameset> ect. iframe html tag is <iframe name="Bla" src="">

wich one seems like the one you use?

-sephiroth-
08-05-2002, 04:02 PM
Seems like I use Frames

ACJavascript
08-05-2002, 04:10 PM
Okay heres a little example of what i'm talking about:D

This is for IE browsers.

---------------
Page1
----------------
<html>
<head>
<title>Go</title>

<script language="javascript">

function hide(){

parent.FrameName.document.all.Word1.style.visibility="hidden"

}

function show(){

parent.FrameName.document.all.Word1.style.visibility="visible"

}

window.onload=hide

</script>

</head>
<body>

<input type="button" value=" - Add A Word - " onclick="show()">
<BR>
<input type="button" value=" - Take Away the Word - " onclick="hide()">

</body>
</html>

------------------------
Page2
------------------------
<html>
<head>
<title></title>
</head>

<body>

<div id="Word1">Welcome</div>

</body>

</html>

------------------
The Frame Page
------------------

<html>
<head>
<title>The Font Helper</title>
</head>
<frameset rows="70%,*">
<frame name="controls" src="Page1.html">
<frame name="FrameName" src="Page2.html">
</frameset>
</html>

--------------

I've named the frame -- FrameName, just so you can see where it all goes. :D:D

-sephiroth-
08-05-2002, 04:12 PM
.................................................................................................... ............................WOW...uhhhhhhhhhhhhhhhhhhhhhhh hoping I'll learn to understand that...uhhhhhhhhhhhhhhhhhh...thnx!!!

ACJavascript
08-05-2002, 04:13 PM
If you have any questions please ask, thats why were here:D:D

You can email me if you want to learn alot more at ACJavascript@aol.com :D:D:D

-sephiroth-
08-05-2002, 04:15 PM
do u got any other emails cus mine doesnt work sending emails to AOL

ACJavascript
08-05-2002, 04:17 PM
ACJava@hotmail.com

-sephiroth-
08-05-2002, 04:17 PM
ok...just in case mine is VegeTrunx@msn.com



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum