Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2012, 03:51 PM
Semmi Semmi is offline
 
Join Date: Mar 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [Request] Smooth Javascript Spoiler - Searching for javascript coder

Hey guys,

I would like to build a nice new Spoiler with someone of you, who is able to code javascript.

What can I do?
I am not able to code javascript, but I'm a webdesigner, so I can take this part.

Whats the idea?
I've created some pictures for you:

At the beginning, the spoiler should be closed and about 550px wide and 30px high; no matter how big the text within the spoiler is.
ATM there's plus in the corner of the closed spoiler.


http://www.abload.de/img/part1ixk82.png

Now, when clicking on the spoilercontainer, the spoiler opens (as wide, as the text is OR as wide as the whole post width) and the plus turns into a minus.
Also the border on bottom of the closed spoiler changes like below:


http://www.abload.de/img/part25ajuh.png


So, why do I need Javascript?
It's not the style/design of the spoiler which is necessary for the spoiler, I know.
It's the opening and closing of the spoiler which needs Javascript. It should be very smooth and comfortable. So the movement should include a logistic tempo.
At the beginning the closed spoiler should get a bit less higher than the closed situation looks like and then getting higher and faster until near of the right height:
Now the tempo of the opening should get lesser.

The same procedure happens while closing it, but this time the spoiler will get a bit higher than it's opened situation and then tinyer and faster until near the end.

Also the same procedure will happen to the right side, while it get's wider.

Specials:
The header of the spoiler will be "renameable" by the user. So where you now read the text "spoiler" the user can add whatever he wants. Like
[spoiler=MyHeadertext]Spoiler content[/spoiler]

Why is my english so bad?
I'm not an illiterate, I'm from germany. So try to speak german better before laughing at me.


So if anyone has time to do that with me, I would appreciate that. Just send me a message oder answer this post.

Bye, Semmi

PS: If there is any coder, who can get all this into a self-installing package, you're very welcome too!
Reply With Quote
  #2  
Old 04-20-2012, 06:08 PM
Semmi Semmi is offline
 
Join Date: Mar 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nobody who can code javascript? I wonder how all those plugins got created ?!
Reply With Quote
  #3  
Old 07-30-2012, 07:38 PM
Semmi Semmi is offline
 
Join Date: Mar 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there somebody now?
Just for push
Reply With Quote
Reply


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. The time now is 01:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03472 seconds
  • Memory Usage 2,176KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete