JQuery :: Superfish Spacing Between Modules/Row Height?
Jun 25, 2009
I'm definitely not a coder, don't know very much about css, know nothing about Java Script.So that said, I'm trying to make the table row height smaller on a Joomla! site with Superfish menu module, and have managed to do that a bit, but not as much as I wanted to, (don't even know how I did it now!) but ended up with space between the H3 module header/title, and menu content items, and also at the end of each menu to the header of the next. Purpose in changing row height is to save 'real estate' so I have to close up these gaps. Plus it looks weird.[URL]...
View 3 Replies
ADVERTISEMENT
Sep 30, 2009
I am new to jQuery & Superfish, but it seemd like the most logical way to do a quick prototype for a menusystem. I am trying to create a verertical menu system (using superfish-vertical). However, I'd like to tweak the behaviour of the submenu, and have been unsuccessful so far. Here's what the current solution does (straight out of the box) assume menu item 3 is hovered over:
[Code]...
View 2 Replies
View Related
Jul 16, 2010
I'm trying to use the JQuery Cycle modules opts.addSlide() for a lobby screen. I don't seem to be able to get it running. Does the slide show already have to have content for addSlide to work. Perhaps my noobish syntax is way off. No errors are thrown.
var LobbySign = LobbySign || {};
View 1 Replies
View Related
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
Nov 22, 2010
I have successfully implemented the Datepicker plugin but am having very difficult problems with the image alignment of the calender icon.
The icon seems to have no padding/margin/spacing between the input box and the image, and is also not aligned correctly.
I have viewed the documentation but can see no reference on how formatting is achieved.. I looked at jquery-ui css (redmond) and can see no reference to how this is aligned.
View 2 Replies
View Related
Oct 9, 2007
I have a grouping of private/public functions defined under a namespace like so:
var Effects = function() {
// private variables
var shades = new Array("#ff9", "#ffa", "#ffb", "#ffc", "#ffd", "#ffe", "#fff");
var blindInterval = 20;
var skipFactor = 19;
var highlightInterval = 200;
// private methods
var fade = function( id, idx ) {
//
};
var resize = function( id, queue ) {
//
}
};
var getHiddenHeight = function( id ) {
//
}
};
// public methods
return {
highlight : function( id, interval ) {
//
},
blind : function( el, skip, interval ) {
//
},
toggle : function( id ) {
//
},
zebra : function( id ) {
//
},
};
}();
From mozilla, I'm able to do what's expected by calling the functions like: 'table-1' )" but in IE6 and IE7 I get a "Effects is not defined" error. That's puzzling to me, since they're both defined through a var Effects = function(), and the function itself is self-invoking.
View 7 Replies
View Related
Dec 26, 2006
I aqm trying to do some spacing on a form between two text input fields
within a <td>. It works on IE but not FF or Opera :-
var spacer = document.createElement("span");
spacer.style.width = "3pt";
td.appendChild(spacer);
I have tried :
spacer.setAttribute( "style", "width:3pt");
as well but that does not work either.
Whats the best way of doing spacing in DOM without using tables.
View 1 Replies
View Related
Jun 21, 2011
This looks as it should except that it needs more spacing between the columns. How would I do that?
<script type="text/javascript">
/* <![CDATA[ */
var numRows = "10";
[code]....
View 1 Replies
View Related
Sep 18, 2011
I was basically trying to follow several tutorials to get a superfish menu working on my website, but I don't seem to be able to get it to work.I included both the superfish.css and the superfish.js in my website's header; both paths are corrent and point to the designated file.I then included the superfish function in my header like this:
<script> $(document).ready(function(){ $('ul.sf-menu').superfish({
delay: 1000, // one second delay on mouseout
animation: {opacity:'show',height:'show'}, // fade-in and slide-down animation
[code]....
The corresponding <ul> element has the required sf-menu class, but still there are no animations, no fading, no delays, just the plain css functionality provided by the superfish.css.
View 2 Replies
View Related
Jun 12, 2009
I am working on a UI that, when you click on a menu option, a div opens and show three divs inside. These divs all have different
heights. The heights are based on the divs content.The problem I'm having is... how do I measure what the divs height should be? IE, how do I grab the height for a div BEFORE it has had any style applied to it.
View 1 Replies
View Related
Jun 30, 2010
Trying to get the height of an element whose height is specified in the CSS.
So I am trying to animate the height of an item, where I have:
<img id="myButton" src="myimage.jpg" />
<div id="myDiv" style="height:50px;overflow:hidden">
asdklf
[Code]....
However, it only registers as 50, even if the element is 500
View 2 Replies
View Related
Mar 28, 2009
I have developed a new site in PHP.Its done using modules and call each page in index page :[URL]... But my client want a color change on the current page select. So how can I do it using JS ?
View 2 Replies
View Related
Jan 29, 2010
I am trying to adjust the height of a div using $("#mydiv").height(1000); In every browser works ok but not in IE
View 3 Replies
View Related
Feb 9, 2009
I am in need of a JS script that matches the "li" height with the un-defined height of a absolute positioned block? Sort of like a matching columns script - is this possible? It's for IE6! Oh ya, and it's dynamic un-defined height. I only want it to match the height on hover. Here is a little test page I put together.[code]
View 12 Replies
View Related
Apr 28, 2011
how to adjust the iframe height by itself if my html height increases. My html code includes a facebook comment at the bottom of my page and the comment will show making it expand the height once users post comments. On the other hand, I'm using a CMS that have its own iframe. I've tried many solutions that can be found on the web but none works. It only can work if I don't put in CMS. Is it possible to adjust the iframe height using CMS or there is no way?
View 7 Replies
View Related
Dec 11, 2010
How can I use JavaScript to dynamically re-size a DIV on a page so that the div extends vertically to the size of the page or document.
Example: As the page gets longer due to contents, the DIV will also extend to the bottom of the page.
I have been experimenting all evening with different methods, some don't even work.
View 6 Replies
View Related
Sep 14, 2011
This is my first time using JQuery, and verrry slowely i'm starting to get the hang of it :)
I've made some slideToggle div's at the right (http://nekodesuka.org/offbeat/), and inside that div there are two divs. One div has an image, the other some text. I want to set the height of the image div according to the height of the div in which the text is... It shouldn't be so much of a problem, but as jquery newbie, i'm wondering how this could be neatly done :)
View 1 Replies
View Related
Jun 10, 2009
this is the script to adjust the height.summaryTable.style.display="block"; if(graphDiv!=null && summaryTable!=null){ graphDiv.style.height = document.body.clientHeight - summaryTable.clientHeight - 70;}
HTML code
<table height="100%">
<tr>
<td>
<table>
<tr>
<td>some contents</td>
[Code]...
Its working well in IE and FireFox3.0. but in firefox2.0 table size is increasing on every show hide of summaryTable. pls give me some better sollution for this. The height is adjusted iautomatically if i show a popupDiv.
View 1 Replies
View Related
Sep 11, 2010
I am having a problem with superfish working in IE8. It displays vertically instead of normal, i.e. horizontal.
This may be a known issue but i cant find anything on it.. it may also be a CSS issue but i cant tell for sure...
View 1 Replies
View Related
Jan 21, 2010
I'm trying to create my first theme and I'm new to both PHP and jQuery. I have been trying to get Superfish working on Wordpress for too long now.I have placed a directory called "js" in my theme's folder. jQuery 1.4 is in there with the Superfish, HoverIntent, and CSS files. This is the code...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">[code]....
The only thing that shows up is a list of the Pages without any CSS or fancy menu happening.
View 2 Replies
View Related
Aug 24, 2009
Trying to use superfish / jquery navigation on a site. Works great on my Mac (Safari & Firefox), but in IE (not sure of the version) the drop-downs go behind the SWFs that sit just below the nav. Here's a link to the site: [URL]
View 1 Replies
View Related
May 9, 2011
I need to change the background color of all my <li> buttons and child buttons, the color that appears on hover and the color of the text. This is superfish.css below. Does anyone know where to change for these items?
[Code]...
View 1 Replies
View Related
Mar 23, 2010
I ma just trying to figure out how I might center a superfish menu - and possibly make the top level LIs 'auto size'. It sees the menu will only float left or right. Of course I am not a css guru either - it could be staring me in the face.
View 2 Replies
View Related
Oct 25, 2010
Cycle and Superfish. I have just tested my site [URL] on IE9beta. and discovered that the superfish dropdown menus are hidden by the cycle slideshow. I clicked the Compatability button - still the same - then clicked it again. Problem has now gone away.
View 2 Replies
View Related
May 17, 2009
I want to make a dynamic menu where the items being shown depends on the access of the user. I tried having a code in codebehind of my aspx page that will set a certain li to style display none, but when viewed in IE6 I get a white space within the menu.
View 1 Replies
View Related
Jun 4, 2009
i've made a horizontal Superfish menu which fills the containing div entirely, based on the description given here:[URL]Basically that is:
#menu { width: 100%; float: left; display: table;}
#menu > ul { display: table-row; }
#menu > ul > li { display: table-cell; min-width: 20%; }
However, this causes the effect of the Supersubs plugin to stop working. Is there a way of providing a dynamic submenu width when having a "full width" Superfish menu as described above?
View 1 Replies
View Related