Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 10-02-2006, 03:12 PM HTML Tester
Novice Talker

Posts: 5
Name: Federico
Trades: 0
I've the following code for an HTML editor:
Code:
<script language="JavaScript">
function preview() {
temp = document.editor.area.value;
preWindow = open("",
"preWindow","status=no, toolbar=no, menubar=yes");
preWindow.document.open();
preWindow.document.write(temp);
preWindow.document.close();
};
</script>
<center>
<form name="editor">
<textarea bgcolor="#262626" text="#e7c34a" cols=150 
rows=14 wrap=physical cursor="#ffa500" 
name="area"></textarea>
<br>
<input type=reset value="Clear Text" text="#000080">
<input type=button value="Show Me" 
onClick="preview()" text="#000080">
</form>
The good thing of this javascrit if that i can put something to appear, i mean if i put Hello between the brackets in
Code:
preWindow = open("",
Hello will be shown to the visitors.
The thing i want to do is to make:
-Have the results in the same page in another block.
-Have a scroll up and down bar in the boxes.
-Make it a little nicer and shorter (If you test the javascript, you'll see the box is long)
I want it to look like the one at: http://www.w3schools.com/html/tryit....ryhtml_address
I hope you can help me with this please

Thanks,
fedlerner
fedlerner is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-03-2006, 08:02 PM Re: HTML Tester
kIDJOE's Avatar
Extreme Talker

Posts: 186
Location: Hollywood, CA
Trades: 0
have you tried using hidden fields and the a button to update your second box that would take its value from the hidden values that get their values at an onBlur in its field? Hope you understand
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 10-03-2006, 08:52 PM Re: HTML Tester
Novice Talker

Posts: 5
Name: Federico
Trades: 0
hmmmmmmmmmmmmmmmmmmmm............
I didn't understand anything of what you said :$ :P
fedlerner is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to HTML Tester
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11540 seconds with 12 queries