Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-05-2002, 03:28 PM   PM User | #1
-sephiroth-
New Coder

 
Join Date: Aug 2002
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
-sephiroth- is an unknown quantity at this point
Question possible code???

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!
-sephiroth- is offline   Reply With Quote
Old 08-05-2002, 03:49 PM   PM User | #2
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
you could use divs for IE and layers for NS. Do you want any browser specifications?
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Old 08-05-2002, 03:52 PM   PM User | #3
-sephiroth-
New Coder

 
Join Date: Aug 2002
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
-sephiroth- is an unknown quantity at this point
...

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!!!
-sephiroth- is offline   Reply With Quote
Old 08-05-2002, 03:55 PM   PM User | #4
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
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
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Old 08-05-2002, 03:59 PM   PM User | #5
-sephiroth-
New Coder

 
Join Date: Aug 2002
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
-sephiroth- is an unknown quantity at this point
...

Frames or Iframes funny...I don't know the differece but I think I use Frames!!!
-sephiroth- is offline   Reply With Quote
Old 08-05-2002, 04:01 PM   PM User | #6
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
the frame html tag is <frame><frameset> ect. iframe html tag is <iframe name="Bla" src="">

wich one seems like the one you use?
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Old 08-05-2002, 04:02 PM   PM User | #7
-sephiroth-
New Coder

 
Join Date: Aug 2002
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
-sephiroth- is an unknown quantity at this point
Frames

Seems like I use Frames
-sephiroth- is offline   Reply With Quote
Old 08-05-2002, 04:10 PM   PM User | #8
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
Okay heres a little example of what i'm talking about

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.
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Old 08-05-2002, 04:12 PM   PM User | #9
-sephiroth-
New Coder

 
Join Date: Aug 2002
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
-sephiroth- is an unknown quantity at this point
helps I guess

.................................................................................................... ............................WOW...uhhhhhhhhhhhhhhhhhhhhhhh hoping I'll learn to understand that...uhhhhhhhhhhhhhhhhhh...thnx!!!
-sephiroth- is offline   Reply With Quote
Old 08-05-2002, 04:13 PM   PM User | #10
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
If you have any questions please ask, thats why were here

You can email me if you want to learn alot more at ACJavascript@aol.com
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Old 08-05-2002, 04:15 PM   PM User | #11
-sephiroth-
New Coder

 
Join Date: Aug 2002
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
-sephiroth- is an unknown quantity at this point
...

do u got any other emails cus mine doesnt work sending emails to AOL
-sephiroth- is offline   Reply With Quote
Old 08-05-2002, 04:17 PM   PM User | #12
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
ACJava@hotmail.com
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Old 08-05-2002, 04:17 PM   PM User | #13
-sephiroth-
New Coder

 
Join Date: Aug 2002
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
-sephiroth- is an unknown quantity at this point
...

ok...just in case mine is VegeTrunx@msn.com
-sephiroth- is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:05 PM.


Advertisement
Log in to turn off these ads.