Forum Moderators: open

Message Too Old, No Replies

Ajax/Javascript slidedown box effect

Realting to Scriptliaculous Effects Integration

         

maddenuk

7:51 pm on Jan 7, 2007 (gmt 0)

10+ Year Member



I've been integrating scriptaculous ajax slidedown box into a holding page im doing. I want the user to click the link and the box slidedown for the user to enter email and telephone details then be able to submit the details using an ajax call.

I'm new to ajax and not great at javascript however the first problem i have is the slidedown box appears when the page is loaded and i dont want this to occur. Is there a way for it not to appear when the page is loaded?

Thanks in advance

[edited by: encyclo at 10:02 pm (utc) on Jan. 7, 2007]
[edit reason] no URLs please, see TOS [webmasterworld.com] [/edit]

scriptmasterdel

9:37 pm on Jan 7, 2007 (gmt 0)

10+ Year Member



Is it not possible to add display: none in the stylesheet for the container?

Del

maddenuk

10:47 am on Jan 11, 2007 (gmt 0)

10+ Year Member



i've done that, but that makes nothing appear when the link is clicked. any other ideas?

[edited by: DrDoc at 3:21 am (utc) on Jan. 27, 2007]
[edit reason] No URLs, thanks. See TOS. [/edit]

DrDoc

3:22 am on Jan 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you setting the display back to block/inline whatever when the link is clicked?