taskSavane - Tasks: task #2919, option box hide/show

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

task #2919: option box hide/show

Submitted by:  Mathieu Roy <yeupou>
Submitted on:  Mon 13 Feb 2006 11:46:37 AM UTC  
 
Should Start On: Sun 12 Feb 2006 11:00:00 PM UTCShould be Finished on: Sun 12 Nov 2006 11:00:00 PM UTC
Category: Web FrontendStatus: Done
Priority: 2 - LowPlanned Release: 1.5
Assigned to: Mathieu Roy <yeupou>Open/Closed: Closed
Privacy: PublicFor/By: None

Tue 14 Feb 2006 08:52:35 AM UTC, comment #5:

It works perfectly, thanks.

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Mon 13 Feb 2006 08:29:41 PM UTC, comment #4:

You are welcome. Don't forget that inlined scripts should be formatted like this to avoid potential problems with JavaScript unaware browsers:

<script type="text/javascript">
<!--
here goes the script
...
//-->
</script>

Paul Pogonyshev <doublep>
Project Member
Mon 13 Feb 2006 08:23:24 PM UTC, comment #3:

Great, I'll try that. Thanks for your input :)

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Mon 13 Feb 2006 08:20:09 PM UTC, comment #2:

Add `onload="thing_you_want_to_hide.style.visibility='hidden';"' to the <body> element or, alternatively, <script>...</script> right after whatever you are hiding. You will probably need `document.getElementById ('thing_id')' instead of `things_you_want_to_hide'.

This way, if JavaScript is not enabled/implemented, the element will never get hidden to begin with. There might annoying flickering if the page is loaded slowly, though, not sure.

Paul Pogonyshev <doublep>
Project Member
Mon 13 Feb 2006 02:01:55 PM UTC, comment #1:

I implemented this but there's an issue that remains: with javascript deactivated, there is no way to get the content, because by default the content is not shown (otherwise the whole thing would serve little purpose).

Any proposal?

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Mon 13 Feb 2006 11:46:37 AM UTC, original submission:

Clicking on the boxoption title should hide/show its content, using javascript.

I have a few ideas, I'd like to experiment this by myself.

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one

Digest:
   task dependencies.

 

Carbon-Copy List
  • -unavailable- added by doublep (Posted a comment)
  • -unavailable- added by yeupou
  • -unavailable- added by yeupou (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 14 Feb 2006 08:52:35 AM UTCyeupouStatusReady For Test=>Done
      Planned Release1.5 ?=>1.5
      Open/Closed-Automatic update due to transitions settings-=>Closed
    Mon 13 Feb 2006 02:01:55 PM UTCyeupouStatusPostponed=>Ready For Test
      Carbon-Copy-=>Added doublep
    Mon 13 Feb 2006 11:47:13 AM UTCyeupouDependencies-=>task #2862 is dependent
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup