JQuery :: Collapse/explode MS Outlined Document?

Dec 21, 2010

I have a large MS Word document organized in outline format.

I exported this document via "Export to compact HTML" command.

I was wondering if anyone knows of a a javascript/jquery script that would allow a user to open (i.e. expand) and close various levels of the html the same way that MS Word allows one to do that in View/Outline.

(Is this the right forum to ask if a script exists?)

View 1 Replies


ADVERTISEMENT

JQuery :: Explode Items Into Their Own Variable Values?

Dec 20, 2010

I was wondering if I had something like this:

Code HTML4Strict:
<div class="test" rel="item|other|another"></div>

Code JavaScript:
var items = $(".test").attr('rel');

Is there a way to explode these items into their own variable values? so like...

Code JavaScript:
item[0] = item
item[1] = other
item[2] = another

View 2 Replies View Related

Explode Content If Users Elects

Jan 13, 2005

I am looking for a script or maybe some hints as to how to show say a snippet of content and if the user elects to read it, they can click and it pushes existing content down and displays full text.

View 4 Replies View Related

JQuery :: Expand And Collapse A Div?

Jun 29, 2010

I have a php function that returns a list of people with their attributes ie address, telephone, email, etc. my idea is to display the full name of person, and then when I click on a link "more data" open a window down to display the other data, email, phone, etc.., for this use a jQuery script that collapses / expands a div, taken from: [URL], the script works fine, but only runs on the first element (person) that appears in the list in the other script is not running, if I have several pages of results, always work the first item on the list. this is the javascript code of the page, obviously this liibreria declared jquery:)


$ (Function () (
$ ("# Mmm.") Click (function (event) (
event.preventDefault ();
$ ("# Panel_menu"). SlideToggle ();

[Code].....

View 5 Replies View Related

JQuery :: Collapse <ul> On Click To Other One?

May 16, 2011

I have a drop down menu who shows a list of page. Some links have subcategories. When I click to it that show the subcategory list. But what I want is when I click on another that close the previous one. Just one should be open. You can have a look at the screenshot:

[Code]...

View 4 Replies View Related

JQuery :: Collapse All Level In Accordion?

Jun 14, 2011

i want to collapse all level at load in this site : [URL]

View 1 Replies View Related

JQuery :: Collapse Table Rows In Other?

Jun 12, 2009

I've got a series of nested tables with data that look someting like this. [code]...

View 3 Replies View Related

JQuery :: Cannot Do Sliding Panel With Collapse?

Feb 15, 2010

I look for something in jquery ( a sliding panel div that can also be collapsed and shows the correct image, hard to explain please see below link, its used on this [code]Anything such exist for jquery with the same features?

View 1 Replies View Related

JQuery :: Don't Collapse A List On Page Load?

Feb 18, 2010

I've made a animated collapsable list using this script. But now I want to keep one submenu expanded, I have the ID of the ul that must be kept expanded. So after everything is collapsed my script checks the ID of every submenu and compares it to the given ID. If the ID of the submenu is equal to the given ID, the submenu should expand. Should, because that doesn't. Here's the code:

[Code]...

I've never used jQuery before, I tried this, but it doesn't work. Also, I don't want to toggle the children, but just show them; without an animation.

View 2 Replies View Related

JQuery :: Expander - OnExpand Collapse All Other Elements?

Aug 31, 2010

I would like to collapse all other elements before expand an element. There is a trigger (beforeExpand?) but I don't get it to work.

[Code]...

View 1 Replies View Related

JQuery :: Add Simple Expand/collapse All Functionality

Jan 28, 2011

I found a decent way to include a toggle feature for displaying detail rows underneath "parent" rows in a regular old HTML table displaying heaps of data: [url]

See "Expandable "Detail" Table Rows" rows section.

Would anyone know what it would take to add an "expand all/collapse all" link that would toggle all child rows open/hidden?

If so, how difficult would it be to have multiple tables with this functionality on the same html page?

View 10 Replies View Related

Jquery :: Expand / Collapse DIV Spacing - DOM Affected?

Jan 18, 2010

I've created the following page: [URL]. When you click on the "More" or "Close" links to expand and collapse the grey content boxes they start to impact the layout - try clicking them a couple of times to see. I've tried heaps of combinations but can't figure this out. Something must be adversely affecting the DOM.

View 2 Replies View Related

Jquery :: Expand And Collapse Effect On Website

Jun 18, 2010

I was just getting started to learn about how to have expand and collapse effects, I work on css and html, but I saw collapse and expand effect on few website, so I wanted to learn it. I am just a starter in JavaScript and jQuery.

View 7 Replies View Related

JQuery :: Accordion - Collapse Active With Button Click?

Jul 26, 2011

I am using a basic jQuery accordion and what I am trying to do is add a button inside each section where if the user clicks the button, it will collapse the section, leaving all the sections closed. I just don't know how to get the button to close that section.

See below for example of what I am doing.

<div class="accordion">
<h3><a href="#">Header One</a>
<div>
<asp:button runat="server" class="cancelButton" text="cancel" />

[Code].....

View 5 Replies View Related

JQuery :: Expand/collapse And Swap Image In The Same Function?

Aug 21, 2011

I have a button that I want to be able to click on and for it to change to another image and also slide out a text panel and then when clicked the text panel slides back in and the button returns to its original state.

The code that i have found and adapted is below. So far I have it working to click on the button to expand but then I can only make it click on the panel to close not the actual button.

<!DOCTYPE html>
<html>
<head>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>

[Code].....

View 7 Replies View Related

JQuery :: Looking For Expand / Collapse Tree Directory Navigation?

Jul 25, 2009

I'm looking for an expanding/collapsing tree directory type of navigation and was wondering if someone knows of a good one that's out there and available.

What I'm specifically looking for is one that is triggered on the click of a *graphic* that toggles the show/hide. Each text nav item should be hyperlinkable to it's own link/page. So for example (the + and - are the collapse/expand graphics, the dot leader is for some formatting) [code]...

View 3 Replies View Related

JQuery :: Make A Node In The Treeview Expand/collapse?

Mar 10, 2009

Is there a way to make a node in the treeview expand/collapse ONLY if the +/- is clicked but not the folder icon or folder name but still make the node selectable?

View 4 Replies View Related

JQuery :: Treeview - Prevent Expand/collapse On Node Click

Mar 3, 2010

I want to prevent expand/collapse behavior when clicking on a node (folder) in the tree. I only want to expand/collapse when clicking on the plus/minus sign (+/-).

I have tried to use stopPropagation on the click event but I don't getit to work.

View 2 Replies View Related

JQuery :: SlideToggle - SlideUp And SlideDown - Jumps Open Then Collapse And Then Slides Down - In FireFox

Nov 11, 2010

When i click the link to make the content (TABLE) visible, it jumps open then collapse and then slides down.
Closing the content is not an issue, it slides up normally.

JS1
Code:
$(".toggleContent1").hide();
$(".toggleTrigger").toggle(function(){
$(this).html("hide...");
$("."+$(this).attr("rel")).slideDown(1000);
[Code]...

View 2 Replies View Related

Toggle/Collapse Bug

Apr 5, 2006

im using this toggle for a project, i have use it once, and it works well with IE, but then again, for mozilla, its not being displayed correctly after the first toggle, Code:

View 8 Replies View Related

Collapse Thread

Jul 24, 2002

I am wondering how I would make the [-] Button that collapses/expands a thread here on the forums. (I hope you know what I mean, its tough to explain)

I am going to have a page with multiple entries using XML and would like to be able to have the title of an entry showing and then you can press on the expand button to view further details.

Can this be done with JavaScript or DHTML?

View 24 Replies View Related

DIV Left To Right Collapse

Feb 23, 2011

I have a bit of code that works perfectly for me that expands/collapses a div without any animation from top to bottom. I'm looking for the same exact code that lets me expand/collapse from left to right. I've done my due diligence and have search many forums with limited luck (I've only found one that is animated that I can't turn off the animation). Can someone point me in the right direction to code that does exactly the same as what I've posted below except from left to right?[code]

View 2 Replies View Related

Script To Collapse A List

Jul 23, 2005

I have a list built on HTML and CSS:

<ul>
<li>Foo</li>
<li>Bar
<ul>
<li>Gee</li>
</ul>
</li>
</ul>

I need a script to expand and collapse items so only one sublist is visible
at a time. I've found several scripts for trees but they either need the
list to be in their own format or they add tons of weird code to insert
icons and style the list (which breaks my design). Could you recommend me a
simple script to do so?

View 4 Replies View Related

Collapse All Mozilla Selections?

Jun 18, 2004

I'm running into a problem with having a bunch of different selected areas in my editable document in mozilla. I can't seem to get them all unselected. I can get one or two to unselect but not all of them.

This happens after I have been using comparePoint in a loop that loops through the whole document. I have used collapse on the selection I made but it leaves other text still selected. :confused: Is there a quick way to unselect all the selections in mozilla?

View 2 Replies View Related

Expand / Collapse Function

May 24, 2006

My intent is to be able to expand/collapse multiple tables individually, and all at once. My current implementation allows for the "individual", but not the "all at once" functionality, because the current code I'm using just toggles. code:

View 2 Replies View Related

Div Collapse Left To Right Side ?

Feb 14, 2010

Where i can find a script for div collapse...i am looking for a script where div is collapsing from left to right side.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved