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.

JavaScript Forum


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



Reply
Make it to work please
Old 06-21-2011, 12:58 PM Make it to work please
Average Talker

Posts: 26
Trades: 0
hi there.
I just want to add a popup script in my site but cant make it to work.

the script is:
PHP Code:
<html> <meta charset="utf-8"> <title>tejli1</title> <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/themes/base/jquery-ui.css"> <style type="text/css"> .ui-widget-header backgroundwhiteborder0pxcolor:black; } #ui-dialog-title-dialog { background-color: black; } .ui-widget-overlay { background: none repeat-x scroll 0 0 black; opacity: 0.7; } </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js"></script> <script type="text/javascript"> $(document).ready(function() { var $dialog = $('<div></div>') .html('<p>tejli2</p><p>tejli3.</p><ul><li>tejli4</li><li>tejli5</li><li>tejli6.</li></ul><form><table style="margin-right:auto; margin-left:auto;"><tr><td style="text-align:right">Your first name:</td> <td><input type="text" name="firstname" /></td></tr><tr><td style="text-align:right">Email:</td> <td><input type="text" name="firstname" /></td></tr><tr><td></td><td><input type="submit"/></td></table></form>') .dialog({ autoOpen: true, resizable: false, draggable: false, width: 600, modal: true, title: 'Create Your Own PopUp Window' }); }); </script> </head> <body> <p> </p> </body> 

the problem is that the script dont send e-mails.it missing some code there to put my e-mail or something.

thanks for helping.

Last edited by xhtmlhelp; 06-21-2011 at 12:59 PM..
xhtmlhelp is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-21-2011, 01:32 PM Re: Make it to work please
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
javascript cannot send emails.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-21-2011, 01:46 PM Re: Make it to work please
Average Talker

Posts: 26
Trades: 0
Quote:
Originally Posted by chrishirst View Post
javascript cannot send emails.
yes sir it can send mails just need to put some more code here:

HTML Code:
<form>
<table style="margin-right:auto; margin-left:auto;">
<tr><td style="text-align:right">Your first name:</td> <td><input type="text" name="firstname" /></td></tr>
<tr><td style="text-align:right">Email:</td> <td><input type="text" name="firstname" /></td></tr>
<tr><td></td><td><input type="submit"/></td></table>
</form>
this is a popup newsletter script and i have used before.just i cant find the php file it was like sendmail.php



you can test it here on my site: here sorry for advertising

Last edited by chrishirst; 06-21-2011 at 01:48 PM..
xhtmlhelp is offline
Reply With Quote
View Public Profile
 
Old 06-21-2011, 01:50 PM Re: Make it to work please
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
javascript is a CLIENT SIDE process that CANNOT send emails directly.

AND

Your form has no name, method or action attributes.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-21-2011, 01:53 PM Re: Make it to work please
Average Talker

Posts: 26
Trades: 0
Quote:
Originally Posted by chrishirst View Post
javascript is a CLIENT SIDE process that CANNOT send emails directly.

AND

Your form has no name, method or action attributes.
thanks for replay sir.

i dont understand to much from those things
can you help me to fix it somehow or tell me some link where can i download another popup script like this one.

thanks
xhtmlhelp is offline
Reply With Quote
View Public Profile
 
Old 06-21-2011, 02:03 PM Re: Make it to work please
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.tizag.com/htmlT/forms.php
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-21-2011, 02:03 PM Re: Make it to work please
Average Talker

Posts: 26
Trades: 0
Quote:
Originally Posted by xhtmlhelp View Post
hi there.
I just want to add a popup script in my site but cant make it to work.

the script is:
PHP Code:
<html> <meta charset="utf-8"> <title>tejli1</title> <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/themes/base/jquery-ui.css"> <style type="text/css"> .ui-widget-header backgroundwhiteborder0pxcolor:black; } #ui-dialog-title-dialog { background-color: black; } .ui-widget-overlay { background: none repeat-x scroll 0 0 black; opacity: 0.7; } </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js"></script> <script type="text/javascript"> $(document).ready(function() { var $dialog = $('<div></div>') .html('<p>tejli2</p><p>tejli3.</p><ul><li>tejli4</li><li>tejli5</li><li>tejli6.</li></ul><form><table style="margin-right:auto; margin-left:auto;"><tr><td style="text-align:right">Your first name:</td> <td><input type="text" name="firstname" /></td></tr><tr><td style="text-align:right">Email:</td> <td><input type="text" name="firstname" /></td></tr><tr><td></td><td><input type="submit"/></td></table></form>') .dialog({ autoOpen: true, resizable: false, draggable: false, width: 600, modal: true, title: 'Create Your Own PopUp Window' }); }); </script> </head> <body> <p> </p> </body> 

the problem is that the script dont send e-mails.it missing some code there to put my e-mail or something.

thanks for helping.

someone got any idea?
xhtmlhelp is offline
Reply With Quote
View Public Profile
 
Old 06-22-2011, 01:27 PM Re: Make it to work please
Super Spam Talker

Posts: 879
Name: Paul W
Trades: 0
Quote:
Originally Posted by chrishirst View Post

Er, this ...
__________________

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


*** New:
Please login or register to view this content. Registration is FREE
PaulW is online now
Reply With Quote
View Public Profile
 
Old 06-28-2011, 04:21 PM Re: Make it to work please
Skilled Talker

Posts: 59
Name: Lisa Forgan
Location: Colorado
Trades: 0
Here is an example of a contact form:
http://css-tricks.com/examples/NiceSimpleContactForm/

I would also check out the link Chrishirst and PaulW mentioned. They too are very helpful.

Last edited by Puddlemut; 06-28-2011 at 04:27 PM..
Puddlemut is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Make it to work please
 

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.29129 seconds with 12 queries