JQuery :: Unable To Display Collapsed Folder Correctly Once Expanded - CSS ?
Oct 27, 2010
When the left column first loads the vertical scrollbar displays correctly.
The vertical scrollbar is aligned up against the right border of the first column of the table which you can see by looking at the first image, and comparing it to the second.
Once I click on a folder in order to expand its contents, the vertical scrollbar introduces a gap of about 20 pixels as shown in the circle.
I looked at the css tag for the "classes" folder using firebug, and it showed {class ="directory collapsed", class= "directory expanded"} prior to and after expanding the contents of the folder.
I did a global regex search, within the project hierarchy, for (collapsed|expanded) and could not find any css that showed any margin-right for expanded, nor could I find any css at all related to "directory (collapsed|expanded)".
The only thing I found was that jqueryFileTree.js contained a function bindTree(t) with some code that toggled (collapsed|expanded):
Does anybody have a clue what is causing the gap once I click on a folder, and how to fix the problem?
Even if close the folder once the gap is there, I can't get rid of it unless I reload the page.
View 7 Replies
ADVERTISEMENT
Oct 16, 2010
I have pairs of terms and short definitions in a table. I want to display a longer definition in a box below the terms table when the term is clicked on. The box needs to disappear if clicked on. [code]...
View 6 Replies
View Related
May 27, 2010
I am new to jQuery but I have managed to get the awesome anythingSlider to work on other sites but I can't work out why this isn't working here: [URL]. On FF, Chrome and Safari on Mac some of the images appear with incorrect text: The slider is set up like so:
<div class="anythingSlider">
<div class="wrapper">
<ul><li>
image a
text a
</li>
<li>
image b
text b
</li> etc...
</ul>
</div>
</div>
However, inFF, Chrome and Safari on Mac the image a appears with text b, image b appears with text c, etc. I have gone through the code and I can't see what's wrong.
View 7 Replies
View Related
Mar 18, 2010
I am using the jQuery dialog window. Inside the modal window it is displayed a table. When I display the table in a standard HTML page everything works well but, when I display the table inside the dialog, special characters does not appear correctly (I mean the characters ‡·¡¨ " and so on).
View 1 Replies
View Related
May 25, 2011
I have a question here. I have 2 videos and if I click the image which uses #usemap, it will switch to the specific videos I clicked. FF and chrome has no problem but only IE.
The scenario is like this: Actual scenario is when the page load, it will display tab 1, video 1 and tab 2 is greyed out. If I clicked on tab 2, tab 1 is greyed out and video 2 is display. Both tabs I use #usemap.
But now the problem in IE is that it keeps on displaying tab 1 and video 2 instead of video 1 and when I clicked tab 2, tab 2 is selected but no video is loaded. Below is a simple code which hope it can helps better understanding of what I'm trying to do:
<div>
<img src="tab.jpg" id="tab1" #usemap="videotab">
<img src="tab.jpg" id="tab2" #usemap="videotab">
</div>
<div id="video1" style="display:block"><"1st video source codes here"></div>
<div id="video2" style="display:none"><"2nd video source codes here"></div>
[Code]...
IE just keep displaying video 2 when page load and video doesn't loads when tab 2 is clicked. Even if I program the 2 divs to be show, it only shows video 2 and video 1 is nowhere to be seen. And I tried taking out the video 2 codes, video 1 then can be seen.
View 3 Replies
View Related
May 20, 2011
The right most images are supposed to be visable and flip into view as the user scrolls. In IE, it's truncated and shoved over to the left. As you can see from the screenshot I attached, everything works fine in Moz.I think this is the suspect bit of js:
//move out the images on the right, then delete the right most one
var end = old + 4;
if(end > this.getListLength()) end = this.getListLength();
[code]....
View 1 Replies
View Related
Sep 15, 2009
using ajax/javascrtipt, how to browse for a folder and get *.xml files in the given folder path.??
View 2 Replies
View Related
Dec 20, 2011
Say I have a tree view
Item1
SubItem1
Element1
Element2
[Code]....
When I do a search in the browser (Ctl+F)(with Item2 collapsed) on Element1 the search stops on Item1|Subitem1|Element1 then Item1|Subitem2|Element1. If continue searching it does not find Item2|Subitem2|Element1.
Is there a way for the search to even find collapsed items?
View 1 Replies
View Related
Jul 13, 2010
Originally I had the following code. What it does is for a user to type the folder name of their choice and then after clicking submit a window will pop open and they will be taken to "C:folder" (assuming the user typed "folder" and such a folder existed). Here is the code in case I wasn't clear.
<html>
<head>
<script type="text/javascript">
[code]....
View 2 Replies
View Related
Jun 22, 2011
as you can see the items hide/show on click using a simple jQuery toggle. My question is, is it possible to link to my website with one section already expanded from an external source. I hope this question makes sense. Iv tried and failed by linking to the div id using #link but cant get that to work.
View 2 Replies
View Related
Jun 24, 2010
I'm almost done customizing the Superfish jQuery menu to fit my web site theme. I have all of the menu hover and submenu hover styles in place, but I'm having a problem with the color of the top-level menu item's font when the submenu is expanded. The active top menu item's background matches the hover color, but when I hover overa submenu item, the font color reverts back to the original (non-hovered) color. How do I get the top level menu item's color to match its hover color when the submenu is expanded?
The relevant portions of my CSS are as follows:
.sf-menu a, .sf-menu a:visited { /* visited pseudo selector so IE6 applies text colour*/
color:#8C1C39;
}.sf-menu a.sfHover {
color:#FFFFFF;
}.sf-menu li {
background:transparent;
}.sf-menu li li {
background:#FFFFFF;
}.sf-menu li li li {
background:#9AAEDB;
}.sf-menu li:hover, .sf-menu li a:hover {
color: #FFFFFF;
background:#00207B;outline:0;
}.sf-menu a:focus, .sf-menu a:active,
.sf-menu li li a:hover, .sf-menu li.sfHover {
background:#8C1C39;
color: #FFFFFF;
outline:0;
}
Attachments
TopHover.jpg
Size : 10.86 KB
Download : 505
SubHover.jpg
Size : 9.33 KB
Download : 510
View 1 Replies
View Related
Aug 4, 2010
I have this code that I found online and I'm trying to figure out how to make this collapsable menu open collapsed when the page opens up.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[code]....
View 4 Replies
View Related
Dec 28, 2006
I am trying to develop a div with a drop down menu in it. As the enduser selects the third or final option, the div expands to show more choices/text/etc related to the option selected from the drop down menu..
View 5 Replies
View Related
Aug 5, 2010
I have the code below that gives the ability to open and collapse sections.I don't know too much javascript and found this code online. I tweaked it to serve my purposes but it doesn't do one thing. I would like all of the areas to be collapsed when the page is opened.How would I tweak the code below to do that?
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[code]....
View 3 Replies
View Related
Mar 12, 2011
Im creating a javascript content expander and would like to know how to create it so it changed the image from an down arrows to open the box, and a down arrow to close the box.Here is my current code.
Code:
<script type="text/javascript">
//var persistmenu="yes"
var persisttype="sitewide"
[code].....
I want the <div class="rightnews"> thing to change from an up arrow to a down arrow.Here are the icons im using.for the box to contract:
for the box to expand.
View 1 Replies
View Related
Jul 23, 2005
I want to display the question and answer in the following way. When
the user moves his mouse to one question, the question will be expanded
to show detailed answer of that question.
For example,
1. What is UML?
2 How to implement it?
3 What is the advantage of UML?
When i move the mouse to the Question 1, the question will be expaned
and have a detailed answer of it; if i don't move to there, the
outline won't expand.
I search for a long time, but have no clue.
What functions should be use???
View 2 Replies
View Related
Sep 13, 2011
If slideToggle()'s parameters were expanded to include a separate callback for sliding up and sliding down. Or for backwards compatibility, perhaps include an optional boolean parameter in the callback to more easily discern between a slideUp and slideDown operation.
View 1 Replies
View Related
Jun 7, 2010
look at the following website:
[URL]
I'm using the toggle effect to create the expandable content here. However, when I click Refresh, you see a flash of the expanded content before it quickly collapses again. Is there any way to get rid of this?
View 3 Replies
View Related
Jun 29, 2010
I am doing an internship at a company and am working on an existing site. The Company wants the expanding menu to stay expanded when you click a link to go to another page while navigating. I am very new to Javascript, CSS, and html and could really use some insight or code example.
// JavaScript Document
/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
[code]....
View 1 Replies
View Related
Oct 27, 2011
I'm developing a virtual file cabinet application using JSP. I'm able to display files and folders under specific root folder. My requirement is to display a button next to each server file which when clicked, a browse for folder dialog should popup with the server directory tree structure like below: something like this: Instead of desktop which is client machine folder, i want a jquery control that i can use to display server folders where i've control passing the root directory path to the control depending upon what a user can access.
View 4 Replies
View Related
Oct 20, 2011
I wanna get the list of *.jpg files in a folder beside of my html with JQuey.
View 1 Replies
View Related
Dec 27, 2011
I will try to explain as simple as possible.
my directory structure is:
-root
-js
-jquery.js(v1.7.1)
[Code]....
View 3 Replies
View Related
Sep 21, 2010
I need a list the files in a folder that is in my website. Can I do this using jQuery? also, the user will able to click in the link to open the file.
View 2 Replies
View Related
Sep 16, 2011
I'd like to call windows folder browse from jQuery... Or is there a plugin that could work similar with .dialog()'s API?
View 1 Replies
View Related
Nov 22, 2010
I'm not to sure if this is a bug or not, but for some reason the jquery setup I am using does not load images when you have the images placed in a sub folder. The setup is a simple content switcher, and it is a combination of fadeOut, .load and fadeIn.[URL]... If you click on Refresh01, it will load and fadeIn the page, which says "TEST01 TEST01.........." great! But an image should have been displayed too.
[Code]...
View 4 Replies
View Related
Jun 30, 2010
I want to use jquery or js code to do the following work:
get the list of files of a folder (files are pictures) that the folder is in remote. and get the names of those pictures and store them in an array.. to create dynamically img element in page.
can javascript do that? without using of a backend language( web server)
View 3 Replies
View Related