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
Creating a pop up contact form
Old 12-05-2011, 10:37 AM Creating a pop up contact form
Novice Talker

Posts: 6
Trades: 0
Could anyone point me in the right direction as to how I create a pop up form in dreamweaver.

Would like pop up form (not a extra window) to open for contact with pre-defined subject and info

I want to show what the message will display which is sent but all they need to do is enter their email address and hit send.

Thanks
SBHUK is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-05-2011, 12:30 PM Re: Creating a pop up contact form
vultren's Avatar
Webmaster Talker

Posts: 583
Name: Tony
Location: Seattle Washington
Trades: 1
There is no where in Dreamweaver you could be directed, you need to code it.
__________________

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

I am here to give advice as well as learn.

Please login or register to view this content. Registration is FREE
.
vultren is online now
Reply With Quote
View Public Profile
 
Old 12-05-2011, 01:12 PM Re: Creating a pop up contact form
Novice Talker

Posts: 6
Trades: 0
OK,
So not something that dreamweaver can do.
Where is the best information to find how to do it, or find the code.

Sorry for such basic questions
SBHUK is offline
Reply With Quote
View Public Profile
 
Old 12-05-2011, 01:33 PM Re: Creating a pop up contact form
vultren's Avatar
Webmaster Talker

Posts: 583
Name: Tony
Location: Seattle Washington
Trades: 1
Quote:
Originally Posted by SBHUK View Post
OK,
So not something that dreamweaver can do.
Where is the best information to find how to do it, or find the code.

Sorry for such basic questions
Oh don't worry about a basic question. We all have them.

Just look for a good Jquery pop up page on Google, follow instructions, and go from there.
__________________

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

I am here to give advice as well as learn.

Please login or register to view this content. Registration is FREE
.
vultren is online now
Reply With Quote
View Public Profile
 
Old 12-05-2011, 04:43 PM Re: Creating a pop up contact form
ukrainarts's Avatar
Novice Talker

Posts: 11
Name: Kemal
Location: Odessa
Trades: 0
Hello,

If you are looking for an automatic popup when the page is opened:

Put the following codes between <head> ... </head> tags!
Code:
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="jquery.reveal.js"></script>
<link rel="stylesheet" type="text/css" href="reveal.css" />
<script type="text/javascript">
	jQuery.noConflict();
	jQuery(document).ready(function($) {
  		$('#myModal').reveal({
     		animation: 'fadeAndPop',                  //fade, fadeAndPop, none
     		animationspeed: 300,                       	//how fast animtions are
     		closeonbackgroundclick: true,              	//if you click background will modal close?
     		dismissmodalclass: 'close-reveal-modal'   //the class of a button or element that will close an open modal
		});
	});
</script>

And put the following codes somewhere in your footer!

Code:
<?php
$adres = "http://".$_SERVER['HTTP_HOST']."".$_SERVER['REQUEST_URI']."";
$sayi = strlen($adres);
if($sayi < 23)
{
?>
<div id="myModal" class="reveal-modal"><iframe src="/popup-page.html" width="480" height="240" scrolling="no" frameborder="0"></iframe><p align="right"><a class="close-reveal-modal">×</a></p>
</div>
<?php
}
?>
popup-page.html is the page which will open as a popup by using Ajax technology!

Check attachment to find *.js and *.css files!
Attached Files
File Type: zip Popup.zip (34.3 KB, 5 views)
__________________

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

We generate ideas for your success!
ukrainarts is offline
Reply With Quote
View Public Profile Visit ukrainarts's homepage!
 
Old 12-05-2011, 05:00 PM Re: Creating a pop up contact form
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.candsdesign.co.uk/article...-a-disclaimer/

all the code is in the source.
__________________
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 offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-06-2011, 04:45 PM Re: Creating a pop up contact form
Novice Talker

Posts: 6
Trades: 0
Thats the kind of popup I want. Which will be a contact page.
How do I get it to pop up when a button is clicked on the site ?

Appreciate the help !
SBHUK is offline
Reply With Quote
View Public Profile
 
Old 12-07-2011, 07:16 PM Re: Creating a pop up contact form
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
The function is called in the body onload event,
HTML Code:
<body onload="check()">
Put that function call in the onclick event of a button instead.
__________________
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 offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-11-2011, 06:16 PM Re: Creating a pop up contact form
Ultra Talker

Posts: 423
Name: Janice McClean
Trades: 0
A combination of HTML, jQuery, and Javascript will be to get the pop up contact form.
For the function of sending the email (the whole point of a contact form) you will need PHP coding.

The PHP part is fairly simple to get done but the HTML/Javascript/jQuery is harder to get to fit into your design.
__________________
My Site : MacFTW [link coming soon!]

Hosted by:
Please login or register to view this content. Registration is FREE
cantletugo is offline
Reply With Quote
View Public Profile
 
Old 12-14-2011, 10:35 AM Re: Creating a pop up contact form
Physicsguy's Avatar
404 - Title not found

Posts: 919
Name: Scott Kaye
Location: Ontario
Trades: 0
If you haven't found a solution yet, TopUp looks very interesting. However, it's in beta, so it might not be 100% stable. Try out the demos, and see if that's what you need.

One thing about the demo: You'll notice that two alert() boxes appear when you open and close the default demonstration popup. Obviously, they won't be there if you use the script yourself, it's just proving that the script has support for events like when the popup opens and when it closes. To remove those popups, scroll down, and change both textareas to 'function(){}'. They can't be blank, for some reason.

As for the thread location, you can't possibly make a popup form in only HTML. Some kind of client-side code, like Javascript, will be needed.
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!

Last edited by Physicsguy; 12-14-2011 at 10:37 AM..
Physicsguy is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Creating a pop up contact form
 

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 2.05766 seconds with 13 queries