JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old February 27th, 2004, 05:09 PM
skyblue skyblue is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 3 skyblue User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
urgent plz!create folder and save page as asp

Hi there,
I have an html editor (done using an iframe)in my page. I have to allow the users to save the page they create as asp. On clicking on a save button, a folder has to be created for the user (session(u))and the page is saved there. can anyone help me with the code for the savepage.asp please? i can't figure out how to do this. thx!


this is part of the code for the editor page where i have the iframe:
<html>
<head>
<title>HTML editor </title>
<script language="javascript" src="JFunctions/Editor.js"></script>
<link rel="stylesheet" type="text/css" href="include/styles.css">
</head>
<body onload="Editor.focus()">

<form name="FrmEditor" method="post" action="SavePage.asp">
<table border="1" bordercolor="steelblue" style="border-collapse:collapse">
<tr>
<td>
<img src="EditorImages/imageLocal.gif" alt="Insert Image" onclick="InsertImageLocal()">

</td>
</tr>
<tr>
<td colspan="2">
<img src="EditorImages/preview.gif" alt="Page Preview" onclick="DoPreview()">
<img src="EditorImages/Cut.gif" alt="Cut" onclick="ExecuteCommand('cut')">
<img src="EditorImages/Copy.gif" alt="Copy" onclick="ExecuteCommand('copy')">
<img src="EditorImages/Paste.gif" alt="Paste" onclick="ExecuteCommand('paste')">
<img src="EditorImages/Undo.gif" alt="Undo" onclick="ExecuteCommand('Undo')">
<img src="EditorImages/Redo.gif" alt="Redo" onclick="ExecuteCommand('Redo')">
<img src="EditorImages/Bold.gif" alt="Bold" onclick="ExecuteCommand('bold')">
<img src="EditorImages/numlist.gif” alt="Ordered List" onclick="ExecuteCommand('insertorderedlist')">
<img src="EditorImages/HR.gif" alt="Insert Horizontal Rule" onclick="ExecuteCommand('InsertHorizontalRule')">
<img src="EditorImages/table.gif" alt="Insert Table" onclick="TableDialog()">
</td>
</tr>
<tr>
<tr>
<td height="33>
<img src="EditorImages/adaptive.gif" onclick="ExpertAdaptive()">
</td>
</tr>
<tr>
<td>
<iframe id="Editor" width="702" height="350"></iframe>
<br clear="right">
<center>
<input type="checkbox" name="ChkSource" onclick="SetMode(this.checked)"><span class="NormalText">Edit HTML</span>
<input type="hidden" name="WebContent" value="">
<input type="button" value="save " onclick="SubmitContent()"></center>
</td>
</tr>
</table>
</form>
</body>
</html>




__________________
Jenny

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > urgent plz!create folder and save page as asp


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway