|
Hey,
I need to know how to submit a form to an e-mail address. What I got right now just opens up Outlook Express. I don't want Outlook to open, I just want the info on the form to be sent to the E-mail address. This is the code I'm currently using. As for my books and anything I can find online, it's all basically the same as this.
<FORM METHOD=POST ACTION="mailto:someguy@overthere.com" ENCTYPE="text/plain">
<and the="" of="" course="" input="" code="" down="" here="">
I'd love to be using a script or .NET for this, but the server that the site is uploading onto only supports HTML and JavaScript. It's not meant for much besides posting family photos.
Cheers
Ironsmith
|
|
|
|
|
you can simply do it with tag a :
contant us
it opens outlookexpress .
hope to solve your problem .
Have good day and time
|
|
|
|
|
///
//
Have good day and time
|
|
|
|
|
you must set its href to this string :>>
href="mailto:info@iranips.com"
Have good day and time
|
|
|
|
|
|
Hey,
Thanks for the info. It seems that this is not gonna happen without the use of scripts (asp, cgi, php). I'm restricted to only HTML and JavaScript, so I just set the contact buttons to open up Outlook. It would be nice to submit the form, but this server only supports HTML and JavaScript. Maybe one day if my client ever updates their service then I can submit forms.
Thank you again. This site never lets me down.
Ironsmith
|
|
|
|
|
you want to send mail,not open up outlook
but without the use of script(asp,cgi,php),no idea....
|
|
|
|
|
How do I check if user click back button on toolbar browser. I want check if user click back it will lead to logout page. Thank you.
|
|
|
|
|
The only way to do this is to track for yourself where all your buttons/links have navigated to, and check if the current URL is not what you expect it to be.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
The backbutton check is one of the most infamous problems faced by developers worldwide.
Perhaps you can workaround this problem with PageExpiry etc or having a history.forward() as the first line of the pages to push the page always to the forwward.
Deepak Kumar Vasudevan
Personal Web: http://vdeepakkumar.netfirms.com/
I Blog At: http://deepak.blogdrive.com/
|
|
|
|
|
|
hello , i wana play film and sound in vbscript and i dont know how , help with a little sample , thanks!
Have good day and time
|
|
|
|
|
Hi there,
Can you be more specific about what you want to do? You want to host a player in the web page to play the media file and use vbscript to control it? Where do you place the media files (server or client machine) ?
|
|
|
|
|
thank you for reply me , i used them on SERVER , and its no difference to do this with vbscript or javascript , i found some sample here on web , but they dont work !!!
Have good day and time
|
|
|
|
|
You need to host a player such as windows media player on the web page with the object tag, then specify the url of the media file in the filename (or URL depending on the version of the player) property of the player. You can use the client side script (either javascript or vbscript) to control the player.
|
|
|
|
|
Hi,
We have developed a windows application.
I want to run the windows application in web not by using href or shell command. ie i don’t want to run as separate window i want to embedded the EXE(windows application ) in web page Is it possible ,please give me some suggestion.
My email id asprabahar@gmail.com
Regards
Prabakar
|
|
|
|
|
Hi there,
AFAIK, you cannot embed a windows-based application in a web page. Instead, you can host a window form control with the object tag. So you need to port your code into a window control.
|
|
|
|
|
Hi,
Ya i had hosted the windows control in web by using <object tag="">.Actualy i am using EXE2HTML.EXE tool that will convert the exe to binary code and we can embedded it in Html or that tool itself create a HTA page.
But when i use this tool it is not working fine.
Samiyappan prabakar
|
|
|
|
|
this is my current Site.
http://www.ntcofbvi.org/faith_truth.html
I created this dropdown list box where users can select which Video file to play
Select a message
Dedication Service
Video 2
Video 3
I have the Windows media Play plugin embedded in the HTML Page but I what the player to play only the video that the viewer selected.
this is a sample script that I found online that I tried but it is not working can you please help me.
|
|
|
|
|
Hi there,
In the event handler PlayVideo of the onchange event, you basically need to do two things:
+ Get the url of the media file.
+ Assign the media file to the filename property or URL depending on the version you are using:
function PlayVideo () {
'Get the url of the media file.
var choose =eval(document.movielist.movie_selection.selectedIndex);
if( (choose > 0) && (choose < 7) ) {
var section=new doArray( '', 'video/dedi_highlights.wmv',
'The_Word_of_God.wmv',
'Thank_God.wmv');
location=section[document.movielist.movie_selection.selectedIndex];
'Set the filename property.
'objWMP' is the id of the media player.
var player = window.document.getElementById("objWMP");
player.FileName = filename;
}
|
|
|
|
|
Hi,
Thanks I will try this and let you know the result.
Do you know where I can see similar script like this one so I can better understand this code.
Thanks
|
|
|
|
|
|
This is my complete script.
I want to select which video to play using the dropdownlist.
at the moment I can only play one video which I have to add to the script. but I want the views to select which video they want to watch.
Please HELP!!!!!!!!!!!!!!!!
Player.uiMode = "none";
//btnPause.enable = true;
//btnStop.disabled = true;
Player.URL = "video/jul162005.wmv";
var g_bPaused = false; // To track pause button state;
// Check for JScript errors.
onerror = ShowError;
// Display JScript errors.
function ShowError (msg,url,linenumber)
{
alert(msg + " at line " + linenumber);
}
// Initialized states.
function Init()
{
Player.uiMode = "none";
//btnPause.enable = true;
//btnStop.disabled = true;
}
// Play a known video file from Media Library.
function PlayVideo ()
{
Player.URL = "video/jul162005.wmv";
}
// Pause the Player.
function PauseMe ()
{
if( g_bPaused == true )
{
Player.controls.play();
g_bPaused = false;
//btnPause.value = " Pause ";
}
else
{
Player.controls.pause();
g_bPaused = true;
//btnPause.value = "Resume";
}
}
// Stop the Player.
function StopMe ()
{
Player.controls.stop();
}
|
|
|
|
|
You basically need a dropdownlist to store the list of the video files:
<select name="movie_selection" id="select1" onchange="PlayVideo();">
<option value="video/1.wmv" selected>Video 1</option>
<option value="video/2.wmv">Video 2</option>
<option value="video/3.wmv">Video 3</option>
</select> In the event handler of the onchange event, you code looks something like:
function PlayVideo()
{
var selectedIndex = document.Form1.movie_selection.selectedIndex;
var filename = document.Form1.movie_selection.options[selectedIndex].value;
var player = window.document.getElementById("objWMP");
player.FileName = filename;
}
|
|
|
|
|
Hi,
I have a asp:checkbox in DataGrid. I attached an event OnCheckedChanged on the checkbox say..
<asp:CheckBox ID="chkSelect" OnCheckedChanged="dgProjects_CheckedChanged" Runat=server></asp:CheckBox>
And the event is scripted as :
<script language=C# runat=server>
public void dgProjects_CheckedChanged(Object sender ,System.EventArgs e)
{
CheckBox chkTemp = (CheckBox)sender;
DataGridItem dgi;
dgi = (DataGridItem)chkTemp.Parent.Parent;
if (chkTemp.Checked==true)
{
dgi.BackColor = dgProjects.SelectedItemStyle.BackColor;
dgi.ForeColor = dgProjects.SelectedItemStyle.ForeColor;
}
else
{
dgi.BackColor = dgProjects.ItemStyle.BackColor;
dgi.ForeColor = dgProjects.ItemStyle.ForeColor ;
}
}
But the event doesnt fire...
what do I need to do? Is there anything to add up???
Thanks
|
|
|
|