Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-24-2012, 03:33 AM   PM User | #1
rexhvn
New Coder

 
Join Date: Oct 2011
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
rexhvn is an unknown quantity at this point
onclick to form

Hi everyone,

Hoping to get some assistance. I want to do a simple onclick on a login form (username password) i'm just not sure which is the best way to go about it...

Any assistance would be greatly appreciated.

Thanks,
rexhvn is offline   Reply With Quote
Old 09-24-2012, 05:37 AM   PM User | #2
stevenmw
Regular Coder

 
stevenmw's Avatar
 
Join Date: Jun 2007
Location: OK
Posts: 446
Thanks: 26
Thanked 30 Times in 30 Posts
stevenmw is an unknown quantity at this point
Could you please explain in more detail what you are trying to accomplish? What do you mean by "onclick"?

I'm getting the feeling this may not be simply html or CSS related?
stevenmw is offline   Reply With Quote
Old 09-25-2012, 12:17 AM   PM User | #3
rexhvn
New Coder

 
Join Date: Oct 2011
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
rexhvn is an unknown quantity at this point
Quote:
Originally Posted by stevenmw View Post
Could you please explain in more detail what you are trying to accomplish? What do you mean by "onclick"?

I'm getting the feeling this may not be simply html or CSS related?
Hi,Sorry I will include more details.

For example

The text 'register' - when you click on register it will make a form appear (text form for both name and email with submit)

Hope this is enough information. I do apologise as this may be JS related.

Last edited by rexhvn; 09-25-2012 at 12:57 AM..
rexhvn is offline   Reply With Quote
Old 09-25-2012, 01:06 AM   PM User | #4
stevenmw
Regular Coder

 
stevenmw's Avatar
 
Join Date: Jun 2007
Location: OK
Posts: 446
Thanks: 26
Thanked 30 Times in 30 Posts
stevenmw is an unknown quantity at this point
That is javascript related. Look into jquery and AJAX.

Try reading through some old threads on the javascript side of the forums, if you need further help then ask your question there.

Just Google making forms appear by clicking using ajax or jquery.I'm at school so I can't pull up some example tutorials right now.
stevenmw is offline   Reply With Quote
Old 09-25-2012, 04:58 AM   PM User | #5
rexhvn
New Coder

 
Join Date: Oct 2011
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
rexhvn is an unknown quantity at this point
Quote:
Originally Posted by stevenmw View Post
That is javascript related. Look into jquery and AJAX.

Try reading through some old threads on the javascript side of the forums, if you need further help then ask your question there.

Just Google making forms appear by clicking using ajax or jquery.I'm at school so I can't pull up some example tutorials right now.
Hi Steven,

I have figured out and got this working using javascript, however now relating back to CSS, when it appears it's appearing behind another div. I haven't had a chance to spend too much time but I did change the z-index to a higher value with no success. Any ideas?
rexhvn is offline   Reply With Quote
Old 09-25-2012, 05:10 AM   PM User | #6
stevenmw
Regular Coder

 
stevenmw's Avatar
 
Join Date: Jun 2007
Location: OK
Posts: 446
Thanks: 26
Thanked 30 Times in 30 Posts
stevenmw is an unknown quantity at this point
It's hard to tell without your code. Is your login form popping up in a box, or sliding onto the page?

Last edited by stevenmw; 09-25-2012 at 10:01 AM..
stevenmw is offline   Reply With Quote
Old 09-25-2012, 08:38 AM   PM User | #7
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,587
Thanks: 5
Thanked 864 Times in 841 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Don’t start a new thread, ask for this to be moved.
But I’m gonna wait until we see some code because it could very well be an HTML/CSS problem.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:51 PM.


Advertisement
Log in to turn off these ads.