Results 1 to 8 of 8

Thread: DHTML collapsing content scripting

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ian Shere
    Guest

    Default DHTML collapsing content scripting

    I want to set out my FAQ page using the style of script forund here -
    http://www.dynamicdrive.com/dynamici...tchcontent.htm - but I'm
    having real problems getting it running. I cut and paste as indicated but
    all the content, which doesn't collapse (though that may be a bad JS setting
    in my browser - need to check that), appears before the content in my
    MasterBoarder (ie. all the questions are at the very top of the page with my
    banner, etc below them).

    So a few questions that I think MAY solve my dilemma.

    Do I cut and paste into the relevant section of the MasterBorder or the
    Layout? Is it critical where, for instance, in the Head they go? Some
    instructions call for "just after the <Head> tag, or just before - does it
    matter?

    All these scripts have*.js files associated with them; some require editing
    some not. Which directory do I save them in under my site (I have my sites
    saved thus... Program Files|Net Objects Fusion 10.0|User
    Sites|TDL290508....)? I notice that there are 2-3 places where *.js files
    reside.

    Maybe my first question should have been, does NOF have something built in
    to accomplish this?

    TIA.

    Ian


  2. #2
    =?iso-8859-1?Q?Chuck_=ABBeyondFusion=BB?=
    Guest

    Default Re: DHTML collapsing content scripting

    Ian,

    Look at the method we use:

    http://www.beyondfusion.com/html/tutorial-showhide.php

    The instructions would be similar for the Dynamic Drive script.

    Note: a master border is combined with the layout to form an html page when
    you publish.

    So you can place script code into the head of either one. The difference
    being if you put it in the master border, if will end up in the head of
    every page that uses the master border. If you put it in the head of the
    layout, it'll only be on that page.

    --
    Chuck Joslin
    BeyondFusion.com - Your Fusion Community
    www.beyondfusion.com

    Register domain names at www.awavedomains.com

    "Ian Shere" <ian@tarzandesign.co.nz> wrote in message
    news:g2pqhb$gum1@flsun90netnews01.netobjects.com.. .
    >I want to set out my FAQ page using the style of script forund here -
    >http://www.dynamicdrive.com/dynamici...tchcontent.htm - but I'm
    >having real problems getting it running. I cut and paste as indicated but
    >all the content, which doesn't collapse (though that may be a bad JS
    >setting in my browser - need to check that), appears before the content in
    >my MasterBoarder (ie. all the questions are at the very top of the page
    >with my banner, etc below them).
    >
    > So a few questions that I think MAY solve my dilemma.
    >
    > Do I cut and paste into the relevant section of the MasterBorder or the
    > Layout? Is it critical where, for instance, in the Head they go? Some
    > instructions call for "just after the <Head> tag, or just before - does it
    > matter?
    >
    > All these scripts have*.js files associated with them; some require
    > editing some not. Which directory do I save them in under my site (I have
    > my sites saved thus... Program Files|Net Objects Fusion 10.0|User
    > Sites|TDL290508....)? I notice that there are 2-3 places where *.js files
    > reside.
    >
    > Maybe my first question should have been, does NOF have something built in
    > to accomplish this?
    >
    > TIA.
    >
    > Ian



  3. #3
    Ian Shere
    Guest

    Default Re: DHTML collapsing content scripting

    Thanks Chuck. Will give that a go and see what happens. Does this need. or
    would it benefit, from having something to open all the questions if a
    browser had scripting unenabled? And I'd like mine to close if another one
    is open so that users can only have one question open at once.

    Cheers

    "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in message
    news:g2pr93$gum2@flsun90netnews01.netobjects.com.. .
    > Ian,
    >
    > Look at the method we use:
    >
    > http://www.beyondfusion.com/html/tutorial-showhide.php
    >
    > The instructions would be similar for the Dynamic Drive script.
    >
    > Note: a master border is combined with the layout to form an html page
    > when you publish.
    >
    > So you can place script code into the head of either one. The difference
    > being if you put it in the master border, if will end up in the head of
    > every page that uses the master border. If you put it in the head of the
    > layout, it'll only be on that page.
    >
    > --
    > Chuck Joslin
    > BeyondFusion.com - Your Fusion Community
    > www.beyondfusion.com
    >
    > Register domain names at www.awavedomains.com
    >
    > "Ian Shere" <ian@tarzandesign.co.nz> wrote in message
    > news:g2pqhb$gum1@flsun90netnews01.netobjects.com.. .
    >>I want to set out my FAQ page using the style of script forund here -
    >>http://www.dynamicdrive.com/dynamici...tchcontent.htm - but I'm
    >>having real problems getting it running. I cut and paste as indicated but
    >>all the content, which doesn't collapse (though that may be a bad JS
    >>setting in my browser - need to check that), appears before the content in
    >>my MasterBoarder (ie. all the questions are at the very top of the page
    >>with my banner, etc below them).
    >>
    >> So a few questions that I think MAY solve my dilemma.
    >>
    >> Do I cut and paste into the relevant section of the MasterBorder or the
    >> Layout? Is it critical where, for instance, in the Head they go? Some
    >> instructions call for "just after the <Head> tag, or just before - does
    >> it matter?
    >>
    >> All these scripts have*.js files associated with them; some require
    >> editing some not. Which directory do I save them in under my site (I
    >> have my sites saved thus... Program Files|Net Objects Fusion 10.0|User
    >> Sites|TDL290508....)? I notice that there are 2-3 places where *.js
    >> files reside.
    >>
    >> Maybe my first question should have been, does NOF have something built
    >> in to accomplish this?
    >>
    >> TIA.
    >>
    >> Ian

    >



  4. #4
    =?iso-8859-1?Q?Chuck_=ABBeyondFusion=BB?=
    Guest

    Default Re: DHTML collapsing content scripting

    Ian,

    Personally, I don't worry about visitors having JavaScript disabled. Other
    designers may feel differently.

    These days, I think it's safe to say that most commercial sites use it in
    one way or another.

    People paranoid enough to disable it are missing much of what the web has to
    offer.

    The script we use could be modified to autoclose one section if another is
    opened. I just haven't had a need for that.

    And now, the new Multi-Layout Region tool in Fusion 11 can do what you
    describe pretty easily.

    --
    Chuck Joslin
    BeyondFusion.com - Your Fusion Community
    Fusion 11! Available from the Beyond Fusion store.
    www.beyondfusion.com

    Register domain names at www.awavedomains.com

    "Ian Shere" <ian@tarzandesign.co.nz> wrote in message
    news:g2pu4m$gum3@flsun90netnews01.netobjects.com.. .
    > Thanks Chuck. Will give that a go and see what happens. Does this need.
    > or would it benefit, from having something to open all the questions if a
    > browser had scripting unenabled? And I'd like mine to close if another
    > one is open so that users can only have one question open at once.
    >
    > Cheers
    >
    > "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in message
    > news:g2pr93$gum2@flsun90netnews01.netobjects.com.. .
    >> Ian,
    >>
    >> Look at the method we use:
    >>
    >> http://www.beyondfusion.com/html/tutorial-showhide.php
    >>
    >> The instructions would be similar for the Dynamic Drive script.
    >>
    >> Note: a master border is combined with the layout to form an html page
    >> when you publish.
    >>
    >> So you can place script code into the head of either one. The difference
    >> being if you put it in the master border, if will end up in the head of
    >> every page that uses the master border. If you put it in the head of the
    >> layout, it'll only be on that page.
    >>
    >> --
    >> Chuck Joslin
    >> BeyondFusion.com - Your Fusion Community
    >> www.beyondfusion.com
    >>
    >> Register domain names at www.awavedomains.com
    >>
    >> "Ian Shere" <ian@tarzandesign.co.nz> wrote in message
    >> news:g2pqhb$gum1@flsun90netnews01.netobjects.com.. .
    >>>I want to set out my FAQ page using the style of script forund here -
    >>>http://www.dynamicdrive.com/dynamici...tchcontent.htm - but I'm
    >>>having real problems getting it running. I cut and paste as indicated
    >>>but all the content, which doesn't collapse (though that may be a bad JS
    >>>setting in my browser - need to check that), appears before the content
    >>>in my MasterBoarder (ie. all the questions are at the very top of the
    >>>page with my banner, etc below them).
    >>>
    >>> So a few questions that I think MAY solve my dilemma.
    >>>
    >>> Do I cut and paste into the relevant section of the MasterBorder or the
    >>> Layout? Is it critical where, for instance, in the Head they go? Some
    >>> instructions call for "just after the <Head> tag, or just before - does
    >>> it matter?
    >>>
    >>> All these scripts have*.js files associated with them; some require
    >>> editing some not. Which directory do I save them in under my site (I
    >>> have my sites saved thus... Program Files|Net Objects Fusion 10.0|User
    >>> Sites|TDL290508....)? I notice that there are 2-3 places where *.js
    >>> files reside.
    >>>
    >>> Maybe my first question should have been, does NOF have something built
    >>> in to accomplish this?
    >>>
    >>> TIA.
    >>>
    >>> Ian

    >>

    >



  5. #5
    Ian Shere
    Guest

    Default Re: DHTML collapsing content scripting

    Do you have a code snippet I could cut and paste to accomplish the auto
    collapse?

    Cheers

    Ian

    "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in message
    news:g2purd$gum4@flsun90netnews01.netobjects.com.. .
    > Ian,
    >
    > Personally, I don't worry about visitors having JavaScript disabled. Other
    > designers may feel differently.
    >
    > These days, I think it's safe to say that most commercial sites use it in
    > one way or another.
    >
    > People paranoid enough to disable it are missing much of what the web has
    > to offer.
    >
    > The script we use could be modified to autoclose one section if another is
    > opened. I just haven't had a need for that.
    >
    > And now, the new Multi-Layout Region tool in Fusion 11 can do what you
    > describe pretty easily.
    >
    > --
    > Chuck Joslin
    > BeyondFusion.com - Your Fusion Community
    > Fusion 11! Available from the Beyond Fusion store.
    > www.beyondfusion.com
    >
    > Register domain names at www.awavedomains.com
    >
    > "Ian Shere" <ian@tarzandesign.co.nz> wrote in message
    > news:g2pu4m$gum3@flsun90netnews01.netobjects.com.. .
    >> Thanks Chuck. Will give that a go and see what happens. Does this need.
    >> or would it benefit, from having something to open all the questions if a
    >> browser had scripting unenabled? And I'd like mine to close if another
    >> one is open so that users can only have one question open at once.
    >>
    >> Cheers
    >>
    >> "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in message
    >> news:g2pr93$gum2@flsun90netnews01.netobjects.com.. .
    >>> Ian,
    >>>
    >>> Look at the method we use:
    >>>
    >>> http://www.beyondfusion.com/html/tutorial-showhide.php
    >>>
    >>> The instructions would be similar for the Dynamic Drive script.
    >>>
    >>> Note: a master border is combined with the layout to form an html page
    >>> when you publish.
    >>>
    >>> So you can place script code into the head of either one. The difference
    >>> being if you put it in the master border, if will end up in the head of
    >>> every page that uses the master border. If you put it in the head of the
    >>> layout, it'll only be on that page.
    >>>
    >>> --
    >>> Chuck Joslin
    >>> BeyondFusion.com - Your Fusion Community
    >>> www.beyondfusion.com
    >>>
    >>> Register domain names at www.awavedomains.com
    >>>
    >>> "Ian Shere" <ian@tarzandesign.co.nz> wrote in message
    >>> news:g2pqhb$gum1@flsun90netnews01.netobjects.com.. .
    >>>>I want to set out my FAQ page using the style of script forund here -
    >>>>http://www.dynamicdrive.com/dynamici...tchcontent.htm - but I'm
    >>>>having real problems getting it running. I cut and paste as indicated
    >>>>but all the content, which doesn't collapse (though that may be a bad JS
    >>>>setting in my browser - need to check that), appears before the content
    >>>>in my MasterBoarder (ie. all the questions are at the very top of the
    >>>>page with my banner, etc below them).
    >>>>
    >>>> So a few questions that I think MAY solve my dilemma.
    >>>>
    >>>> Do I cut and paste into the relevant section of the MasterBorder or the
    >>>> Layout? Is it critical where, for instance, in the Head they go? Some
    >>>> instructions call for "just after the <Head> tag, or just before - does
    >>>> it matter?
    >>>>
    >>>> All these scripts have*.js files associated with them; some require
    >>>> editing some not. Which directory do I save them in under my site (I
    >>>> have my sites saved thus... Program Files|Net Objects Fusion 10.0|User
    >>>> Sites|TDL290508....)? I notice that there are 2-3 places where *.js
    >>>> files reside.
    >>>>
    >>>> Maybe my first question should have been, does NOF have something built
    >>>> in to accomplish this?
    >>>>
    >>>> TIA.
    >>>>
    >>>> Ian
    >>>

    >>

    >



  6. #6
    =?iso-8859-1?Q?Chuck_=ABBeyondFusion=BB?=
    Guest

    Default Re: DHTML collapsing content scripting

    Ian,

    Not off the top of my head. (-;

    I'll see about adding the option to the tutorial when I can a moment. Those
    are few and far between, so it won't be immediately.

    --
    Chuck Joslin
    BeyondFusion.com - Your Fusion Community
    www.beyondfusion.com

    Register domain names at www.awavedomains.com

    "Ian Shere" <ian@tarzandesign.co.nz> wrote in message
    news:g2sepl$pos6@flsun90netnews01.netobjects.com.. .
    > Do you have a code snippet I could cut and paste to accomplish the auto
    > collapse?
    >
    > Cheers
    >
    > Ian
    >
    > "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in message
    > news:g2purd$gum4@flsun90netnews01.netobjects.com.. .
    >> Ian,
    >>
    >> Personally, I don't worry about visitors having JavaScript disabled.
    >> Other designers may feel differently.
    >>
    >> These days, I think it's safe to say that most commercial sites use it in
    >> one way or another.
    >>
    >> People paranoid enough to disable it are missing much of what the web has
    >> to offer.
    >>
    >> The script we use could be modified to autoclose one section if another
    >> is opened. I just haven't had a need for that.
    >>
    >> And now, the new Multi-Layout Region tool in Fusion 11 can do what you
    >> describe pretty easily.
    >>
    >> --
    >> Chuck Joslin
    >> BeyondFusion.com - Your Fusion Community
    >> Fusion 11! Available from the Beyond Fusion store.
    >> www.beyondfusion.com
    >>
    >> Register domain names at www.awavedomains.com
    >>
    >> "Ian Shere" <ian@tarzandesign.co.nz> wrote in message
    >> news:g2pu4m$gum3@flsun90netnews01.netobjects.com.. .
    >>> Thanks Chuck. Will give that a go and see what happens. Does this
    >>> need. or would it benefit, from having something to open all the
    >>> questions if a browser had scripting unenabled? And I'd like mine to
    >>> close if another one is open so that users can only have one question
    >>> open at once.
    >>>
    >>> Cheers
    >>>
    >>> "Chuck «BeyondFusion»" <supportno@spambeyondfusion.com> wrote in message
    >>> news:g2pr93$gum2@flsun90netnews01.netobjects.com.. .
    >>>> Ian,
    >>>>
    >>>> Look at the method we use:
    >>>>
    >>>> http://www.beyondfusion.com/html/tutorial-showhide.php
    >>>>
    >>>> The instructions would be similar for the Dynamic Drive script.
    >>>>
    >>>> Note: a master border is combined with the layout to form an html page
    >>>> when you publish.
    >>>>
    >>>> So you can place script code into the head of either one. The
    >>>> difference being if you put it in the master border, if will end up in
    >>>> the head of every page that uses the master border. If you put it in
    >>>> the head of the layout, it'll only be on that page.
    >>>>
    >>>> --
    >>>> Chuck Joslin
    >>>> BeyondFusion.com - Your Fusion Community
    >>>> www.beyondfusion.com
    >>>>
    >>>> Register domain names at www.awavedomains.com
    >>>>
    >>>> "Ian Shere" <ian@tarzandesign.co.nz> wrote in message
    >>>> news:g2pqhb$gum1@flsun90netnews01.netobjects.com.. .
    >>>>>I want to set out my FAQ page using the style of script forund here -
    >>>>>http://www.dynamicdrive.com/dynamici...tchcontent.htm - but I'm
    >>>>>having real problems getting it running. I cut and paste as indicated
    >>>>>but all the content, which doesn't collapse (though that may be a bad
    >>>>>JS setting in my browser - need to check that), appears before the
    >>>>>content in my MasterBoarder (ie. all the questions are at the very top
    >>>>>of the page with my banner, etc below them).
    >>>>>
    >>>>> So a few questions that I think MAY solve my dilemma.
    >>>>>
    >>>>> Do I cut and paste into the relevant section of the MasterBorder or
    >>>>> the Layout? Is it critical where, for instance, in the Head they go?
    >>>>> Some instructions call for "just after the <Head> tag, or just
    >>>>> before - does it matter?
    >>>>>
    >>>>> All these scripts have*.js files associated with them; some require
    >>>>> editing some not. Which directory do I save them in under my site (I
    >>>>> have my sites saved thus... Program Files|Net Objects Fusion 10.0|User
    >>>>> Sites|TDL290508....)? I notice that there are 2-3 places where *.js
    >>>>> files reside.
    >>>>>
    >>>>> Maybe my first question should have been, does NOF have something
    >>>>> built in to accomplish this?
    >>>>>
    >>>>> TIA.
    >>>>>
    >>>>> Ian
    >>>>
    >>>

    >>

    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •