473,785 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with Form Attributes and CSS Style=display:n one

2 New Member
Hi there,

I have recently joined this forum in the hope that someone could help me as I am going crazy!

I have a form element within a hidden container, that uses the script.acluo.us SlideDown effect to slide down its container to reveal the form.

The problem is that the form tags and attributes do not exist . . . . now I know this has something to do with style-display:none and that it removes it from the DOM . . . . . .but what cant find on google is a solution to fix this problem.

Can anyone help me pllleeeaaasssee e!

Cheers Jon

Please find my code HTML code for this container and form below:

[HTML]<div id="createuser-hidden" style="display: none; overflow:hidden ; height:349px;">

<div class="hidden-inner-greybg-large">

<div class="hidden-inner-textframe-left">

CREATE A NEW USER

<form action="createu ser.php" method="post" name="CreateUse r" >

<fieldset>

<label2 for="CreateFN"> First Name:</label2></td>
<input class="text2" type="text" size="25" name="CreateFN" id="CreateFN" /><br />

<label2 for="CreateLN"> Last Name:</label2></td>
<input class="text2" type="text" size="25" name="CreateLN" id="CreateLN" /><br />

<label2 for="CreateEmai l">Email:</label2></td>
<input class="text2" type="text" size="25" name="CreateEma il" id="CreateEmail " /><br />

<label2 for="CreateDOB" >DOB:</label2></td>
<input class="text2" type="text" size="25" name="CreateDOB " id="CreateDOB" /><br />

<label2 for="CreatePW"> Create Password:</label2></td>
<input class="text2" type="text" size="25" name="CreatePW" id="CreatePW" /><br />

<label2 for="CreatePW2" >Confirm Password:</label2></td>
<input class="text2" type="text" size="25" name="CreatePW2 " id="CreatePW2" />


<label2>
<input class="submit" type="Submit" value="Sign Up"/>
</label2>

</fieldset>

</form>


</div>

<div class="hidden-closebtn">

<a href="javascrip t:;" onmousedown="Ef fect.SlideUp('c reateuser-hidden');">CLOS E</a>

</div>

</div>

</div>[/HTML]
Nov 20 '07 #1
4 1822
drhowarddrfine
7,435 Recognized Expert Expert
There is no such thing as <label2>.
Also, this doesn't make sense: <a href="javascrip t:;"
Nov 20 '07 #2
JonFSBrighton
2 New Member
Hi there,

OK I have changed the <label2> to <label> and have taken a quick look at the <a href="javascrip t"> . . . this is taken straight from script.acluo.us so I may have it wrong. . . . but it produces the desired slide down effect.

Do you have any thoughts as to why the form attributes are not showing up . . . . basically I can see the labels and input tags . . . but the encompassing form itself is just not there when I slide the element down?
Nov 20 '07 #3
drhowarddrfine
7,435 Recognized Expert Expert
this is taken straight from script.acluo.us
That doesn't mean anything to me because I've never heard of it. This is a javascript question so I'm transferring it there.
Nov 20 '07 #4
andho
34 New Member
if ur using script.aculo.us then it might be complicated.

you could use firefox with firebug to debug this, it would make it easier.

You can check if the form has the attributes before the scriptaculous script is run and check it afterwards, using firebug
Nov 20 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

13
40767
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div style="display:none"> can be displayed by setting the style attribute to "display:", or hidden with "display:none". This gives the illusion that the person filling out the form is switching from page to page...without the overhead of extra hits on the server,...
2
13883
by: endus | last post by:
I'm having some trouble getting something to work. I'm not even sure whether or not this is possible, but it *seems* like it should be. I've done a fair amount of experimenting and googling...but maybe I'm still missing something obvious... I'm trying to have a <div> appear and disappear based on what a switchbox is set to. Having <div style="display: none;"> and then setting the display property to inline onChange works fine, but I...
2
1945
by: Stewart | last post by:
Hi Experts. Please put the code sample below into an html document and take a look at in NN6+. One span should be shown while the other is hidden. Clicking the button should reverse this. However it doesn't. Removing the table structure from around the text fixes it, but I need the table structure (this is very simplified example). Hope someone can provide an alternative?
3
2264
by: Erwin Moller | last post by:
Hi all, Situation: A (rather long) page that contains a lot of divs. Some are visible (display:inline) at a certain time, other not. The javascript is responsible for divs to be visible or not. Question:
2
8002
by: Erwin Moller | last post by:
Hi group, I have this obscure problem that really needs to be fixed, but I am out of ideas. Because the original script is very big, I'll try to summarize its functionality. Setup: - many form-elements that will 'activate' a part of the form based on the selection made.
2
9068
by: Jake Barnes | last post by:
Imagine I've this block of HTML: <p>Alex Schein Mailing List <input type="checkbox" name="newslettersToUse" value="133156"> (<a href="mcControlPanel.php" onClick="hideOrShowDivById('emailList133156'); return false;">See emails?</a>)</p> <form method="post" action="mcControlPanel.php" id="emailList133156" style="display:none;"><textarea name="formInputs">nazjeehaj@son.org,
4
70094
by: gimme_this_gimme_that | last post by:
Hi, I have an onchange method for a select box that goes something like this (the select is in a form named aForm): function page_on_change() { pageElement = aForm.my_page_id; aForm.nav_page_name.value = pages.value]; var si = pageElement.selectedIndex;
15
3166
by: cssExp | last post by:
hello, Rather than going on a wild explanation on what's the the problem, it'll be much quicker and easier if i let you look at it yourself, so I'll post my page source (actual contents taken out, of course). <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Language" content="en-us" />
2
1552
hsriat
by: hsriat | last post by:
Maximum how many elements can be made hidden by giving STYLE={DISPLAY:NONE} in a single HTML file. Any restriction?... If it is there.. any way out as I want to make 110 rows with DISPLAY:NONE at a time..
0
9646
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10157
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9956
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8982
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6742
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5386
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.