Change the text on the tab of the Panel by tabs when it is open.

I use a panel tabs to hide and reveal a page of text on this page: www.imagesandwords.org.uk/Don/pages/essay.php

The reason why I use the tabs Panel to reveal the page is to try to keep each page look the same throughout the site.

When the Panel is open, the text in the tab still says: "More" and I wonder if there is a way to say, 'Hide' or something when it is open.  Although it is not transferred again my last task was to put small arrows in the top tab and down to open help with an arrow pointing down on closed and an arrow up on.

As well as the question of the changin the text tab, is there something wrong with the assistance of the Panel tabs like that?  I guess that's maybe awkward if the user has disabled but I javascript "m thinking to set up a PDF for download once the content is dealth with.

Kind regards

Martin

Hi Martin,

The error is very authentic and must be corrected.

You know what the problem is...

We call funtion even lasting that is inside a div that calls the same function again. So the innerHTML is not getting updated properly.

So what we need to do is to duplicate our JS funtion and call call like say... cchange)

/ * for the tab/DIV based click * /.

function includeMergeSourceInfo {}
var temp is document.getElementById ('moreContent') .innerHTML;.
{if(temp=='More...')}
document.getElementById('moreContent').innerHTML = "hide...". » ;
}
{if(temp=='Hide...')}
document.getElementById('moreContent').innerHTML = "More"... » ;
}

}

/ * for the span/text based click * /.

function cchange() {}
var temp is document.getElementById ('moreContent') .innerHTML;.
{if(temp=='More...')}
document.getElementById('moreContent').innerHTML = "hide...". » ;
}
{if(temp=='Hide...')}
document.getElementById('moreContent').innerHTML = "More"... » ;
}

}

and in our HTML code, it becomes

Suite...

This should finally be required icing on the cake

Kind regards

Vinay

Tags: Dreamweaver

Similar Questions

  • Change the Listcell default color when it is flown over mouse

    How can I change the listcell default color when the mouse is flown over TI (light blue) than when it is selected (dark blue)?

    You must provide your own style for her.

    Add a style.css of your classpath and add it to your scene.

    scene.getStylesheets().add("/my_style.css");
    

    This style sheet, you need to override the default value.

    Here is the default:

    .list-cell:odd {
        -fx-background-color: derive(-fx-control-inner-background,-5%);
    }
    
    .list-view:focused .list-cell:focused {
        -fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, -fx-control-inner-background;
        -fx-background-insets: 0, 1, 2;
    }
    
    .list-view:focused .list-cell:focused:odd {
        -fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, derive(-fx-control-inner-background,-5%);
        -fx-background-insets: 0, 1, 2;
    }
    
    /* When the list-cell is selected and focused */
    .list-view:focused .list-cell:filled:focused:selected {
        -fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, -fx-selection-bar;
        -fx-background-insets: 0, 1, 2;
        -fx-background: -fx-accent;
        -fx-text-fill: -fx-selection-bar-text;
    }
    
    .list-view:focused .list-cell:filled:selected, .list-view:focused .list-cell:filled:selected:hover {
        -fx-background: -fx-accent;
        -fx-background-color: -fx-selection-bar;
        -fx-text-fill: -fx-selection-bar-text;
    }
    
    .list-view:focused .list-cell:filled:focused:selected:hover {
        -fx-background: -fx-accent;
        -fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, -fx-selection-bar;
        -fx-background-insets: 0, 1, 2;
        -fx-text-fill: -fx-selection-bar-text;
    }
    
    /* When the ListView is _not_ focused, we show alternate selection colors */
    .list-cell:filled:selected:focused, .list-cell:filled:selected, .list-view:horizontal .list-cell:filled:selected {
        -fx-background-color: lightgray;
        -fx-text-fill: -fx-selection-bar-text;
    }
    
    .list-cell:filled:selected:focused:disabled, .list-cell:filled:selected:disabled {
        -fx-opacity: -fx-disabled-opacity;
    }
    
    .list-cell:filled:hover {
        -fx-background-color: -fx-cell-hover-color;
        -fx-text-fill: -fx-text-inner-color;
    }
    
    .list-view:focused .list-cell:filled:focused:hover {
        -fx-background-color: -fx-focus-color, -fx-cell-focus-inner-border, -fx-cell-hover-color;
        -fx-background-insets: 0, 1, 2;
        -fx-text-fill: -fx-text-inner-color;
    }
    
    .list-view:horizontal .list-cell:filled:selected, .list-view:horizontal .list-cell:filled:selected:hover {
        -fx-background-color: linear-gradient(to right, derive(-fx-accent,-7%), derive(-fx-accent,-25%));
    }
    

    You probably want to only replace

    .list-cell:filled:hover {
        -fx-background-color: -fx-cell-hover-color;
        -fx-text-fill: -fx-text-inner-color;
    }
    

    and the background color value

    -fx-Backgrounder:-fx-focus;
    -fx-background-color:-fx-selection-bar;

    You must understand, the optimal style yourself.

  • How to change the programs that load when Windows starts

    In simple terms... How to change the programs that load when Windows starts?  Because my boot time is slow in arriving at my login screen!

    Download and run the "Autoruns" from Microsoft Sysinternals freeware:

    < http://technet.microsoft.com/en-us/sysinternals/bb963902="">

    It lists all programs that start at startup and allows you to disable it by simply removing a check mark.  This makes it easy to reverse in case something goes wrong.

    HTH,
    JW

  • I need to change the background image often when running

    any body help me,.

    I need to change the background image often when running

    concerning

    welcan

    Hello

    You can also use effects rather than a timer, much more enjoyable... following example moves between a series of embedded images.

    David.

    http://gumbo.flashhub.NET/menu/ source included

  • How to restore items where my images are returned in the top left corner when it is open, and they have a "mesh" around them? Something to reset elements so that the image appears in the center of the box... I can't have more than 1 in. image

    How to restore items where my images are returned in the top left corner when it is open, and they have a "mesh" around them? Something to reset elements so that the image appears in the center of the box... I can't have more than 1 image open at the same time to work on. I e I can't pass a layer on the image to the other.

    OK - I got out my trusty Photoshop Elements 10 - The Missing Manual and figured it out. What I was trying to describe, it was how to make images with 'tab' images 'floating '? This has somehow reset without my knowledge. What you need to do to get your images 'Floating' back is to click on "EDIT" in your editor - at the bottom of the drop-down list hover your cursor to "GÉNÉRAL" and click on - at the bottom of the drop-down list, click in the bottom left box 'ALLOW FLOATING DOCUMENTS IN FULL EDIT MODE' - and then click OK.

    That solved my problem!

  • My Cookie file was corrupted in data and my programs continually pop up with the 'corrupt file' error when a program opens, pointing to \Users\name\Appdata\Roaming\Microsoft\Windows\Cookies.

    My Cookie file was corrupted in data and my programs continually pop up with the 'corrupt file' error when a program opens, pointing to \Users\name\Appdata\Roaming\Microsoft\Windows\Cookies.

    The problem is, Chkdsk will not fix this, and I can't access the file. This opens up a world of problems when I need to fix this error, so I can upgrade to Windows 7. Help, please!

    I just ran the scan again. He said of the errors found, but could not be repaired.

    This problem actually has nothing to do with internet explorer. It's the cookies folder that is corrupt in the Windows folder in roaming. The error file is in conjunction with the programs, that I try to run (AIM, Skype, so forth). Trying to enter the folder it says it's corrupt. I don't know what is the root of the problems or how to solve this problem, but these measures have not helped so far. Regarding the repair, I will try that next.

    http://Tinypic.com/view.php?pic=14mw4ly&s=4

    Here is a picture. This is the error of the lower right

    It's what the tool SFC to see system files corrupted and try to repair the system files.
    SFC could not fix it.

    Looks like you will need to do this:

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    Read the info on the link above.

    Good luck with it.

    Let us know how you go with it.

    See you soon.

    Mick Murphy - Microsoft partner

  • I need my files to open in the monitor # 2 I usually have some important information about the number of monitor 1. I need the files to alternate when they are open. One in 2, then one 1.

    I need my files to open in the monitor # 2 I usually have some important information about the number of monitor 1. I need the files to alternate when they are open. One in 2, then one 1.

    Kind regards

    How it works is usually the application (explorer.exe is an application) in question is open about everything that monitor his last (final) session was closed the.  Not all applications have this built-in memory, but most do.

    I don't think that even something TO manage multiple monitors (this is what it was built for) will do what you are wanting.  ;-)  I see no way of programming of this type of automation.  ;-)

    https://www.DisplayFusion.com/

  • Is it possible to change the new ugly background when I wake my iMac to sleep in the Sierra?

    My iMac is password protected. When I wake from slumber in the Sierra again, he has a new ugly, indefinable experience. Is it possible that I can change this?

    Open System Preferences > desktop and screensaver and select the Desktop tab.

    You can change the background photo from there.

  • How can I change the edict and fields of association of open files

    Programs\Set default associations open edit

    Under default Programs\Set Associations, I can only indicate a program to open a document with the specified file type. I need to be able to distinguish between open and edit.

    How can I specify a different binairy to open and edit a file of the specified type.

    Thank you

    Change the actions for other verbs that 'open' needs editing the registry in Windows 7/Vista. Because the tab "File Types" excellent who was present in Windows XP, is gone in Windows 7/Vista.

    If you don't want to mingle with the registry manually, there is a nice program that allows you to add/edit the additional verbs for a file type.

    Default programs Editor - an editor useful for Windows 7 and Vista file associations

  • Is it possible to change the Red to black when you use drawing annotations?

    Drawing annotations are all red when I try circling a text. Is it possible to change the color to black?

    You can right click on a line and select Properties. You can usually get a Properties menu by using ctrl-E.

  • Change the order of pages when you create a photo book

    I create a photo book with Photos on my Mac.  Once a page is created, it is possible to move the entire page to a different section of the book.  In other words, to change the order of the pages after they are created.

    Yes.  In the pages of all see them click on the number under the thumbnail of the page

    and drag it to the desired location:

  • How can I change the video display Mode when the monitor mode not supported?

    While creating my new monitor, I changed the computer video display mode at 120 Hz by accident.  Now I see something on the monitor other than the words not taken in CHARGE the MODE.

    My system is a new HP Pavilion p7-1423W running Windows 8.1 with Intel i5-2320 3 ghz

    I tried the start mode by pressing ESC on power but do not help the startup options.  And the just F11 menu option makes the startup screen disapear and puts the monitor mode not supported.  Tapping F8 doen't work and tapping F12 just puts me in the bios menus that do not help.

    How can I upgrade the video card integrated with a video mode that is supported when I can't see the screen?

    I answer my own question because I found my solution, thanks to my grandson (freshman to Renselear Politech).

    I shoot to buy a monitor that displays a refresh rate of 120, so I could put my rear view.

    Here is the solution.

    My computer double exit DVI.  My grandson told me to connect my new monitor to the other output because the output does not get touched when I changed the original mode of production.  He has worked and is automatically selects the default monitors mode.  Then I've reconfigured the original output using the integrated display software. Solved!

  • In XP, trying to change the safe playback mode so I can open a link that is highlighted in a document that I'm reading

    try to change the mode of reading sure... so I can open a link that is highlighted in a document that I'm reading

    * original title - Manager of trust *.

    AFAICT, Manager of trust is not a part of Windows but is part of a player like Foxit Reader and Adobe Reader (protected mode) software.  Here are some links on how to disable the Mode without reading failure:

    Foxit: http://forums.foxitsoftware.com/showthread.php?27969-Foxit-PDF-in-quot-SafeMode-quot>
    Adobe <> http://kb2.adobe.com/cps/860/cpsid_86063.html >

    HTH,
    JW

  • Task Scheduler error 2147944309 when I change the task ' Run only when the user connects ' to 'use execute is connected or not' _

    I have a simple task (cmd batch file). Whenever I try to change the settings, I get a dialog box that reads as follows:

    "An error has occurred for task RemoteBk. Error message: the following error is reported: 2147944309 ".

    My computer is on a domain.

    Someone in another forum explained the error:

    0n2147944309 = 0 x 80070775

    Installation: 8007 = Win32 (it's a status code "Win32")

    Status: 0 x 775 = 0n1909

    Q:\>net helpmsg 1909
    The referenced account is currently locked and cannot be logged on to.

    Hope, it may be useful to others.

  • How can I change the settings so that when I delete a file, it asks me to confirm

    I just got a new computer with Windows 8.

    I have not changed the settings, if its because it has been implemented.

    When I have a file, such as an e-book, if I want to delete, I'm used to by clicking on the delete key, then a box saying to come to confirm that I want to delete.

    This box is NOT coming. I need him.  Deletion of just the delete key, without confirming.  I hit by mistake in the key deletion files!

    I checked in the APPEARANCE AND PERSONALIZATION, click RECORDS OPTIONS Control Panel section, and there is no option to make this change.

    Hello

    Right click on the shortcut to the Recycle Bin and select Properties.

    There is a checkbox for "Display Delete Confirmation Dialog".

    PERFECT!

    I worked!
    Thank you very much for being so quick!

Maybe you are looking for