hi good people,
been a while I have had my hands full with a cold but I came back to a problem we never found an answer to, it the homepage of a site I am workin and I said that my tabs would just scatter on a resolution less than mine or around it but not quite. I am on a 1280x800 screen and it displays no problem but as soon as I drop...
I have already read this webpage http://docs.jquery.com/Traversing/end but i am still clueless on what .end() actually does. How is it for and how do you use it. I am also reading a jquery book but it lightly glazes over .end() and does not give any examples of what its for. Can someone clearify?
...
Hi-
I'm just getting into jQuery plugins and I wanted to do a sort of 'hello world' exercise with a barebones object-oriented plugin template. But I can't get the console.log statement in the setup() function below to display in a firebug console window.
I call the plugin like so:
<script type="text/javascript" src="myPlugin.js" >
<s...
I'm using the Galleria plugin with jQuery to create my image gallery. I'm trying to get load images dynamically from the user's selection into the DOM and have the gallery auto-update to display those new images but it's not working.
Firebug shows the images are successfully loading into the DOM but Galleria displays no thumbnails. I ne...
I have orders to extend the height of the iframe Dole capture and adjust web within the iframe no scroll, but if the Web is highly scalable and so the tab ui acordion can not know or understand the actual high was. Do you have any suggestions me
function frameHeight(obj){
var inFrameHeight = obj.contentWindow.document.body.offsetHei...
I'm trying to figure out how to truncate the first paragraph, and I've tried:
$div.children( ('p:eq(0)').substring(0,100));
$div.children( ('p:eq(0)'.substring(0,100)));
But neither have worked...
Here's the complete code (which someone here helped me with!)
$j('#hp-featured-item > div[id^="post-"]').each(function() {
va...
Hi.
I'd like to fade in several boxes aligned horizontally one after the next.
Say each box belongs to class fadeable and has an id.
Addtionally, I'd like to fade the boxes from the outside in. For example:
_ _ _ _ _ _ _ _ _
+_ _ _ _ _ _ _ _
+_ _ _ _ _ _ _ +
+ + _ _ _ _ _ _ +
+ + _ _ _ _ _ + +
+ + + _ _ _ _ + +
and so forth.
What is ...
I am looking for a jquery library that will let me create a pop out div under an element of my choice. What I am looking for is very similar to the jquery ui date picker, but it will not have the date picker by default. I want to be able to put my content into it.
popout #popout under #textbox
...
I want to change the class of the div if the length LI is greater than 3. and if less than 3 then class name should be the default like "content" and if more than 3 then class name should be "scroll-content"
<div class="classname">
<ul>
<li>Content</li>
<li>Content</li>
<li>Content</li>
<li>Content</li>
</ul>
</di...
<input name="textbox" type="text" value="Click here to type" onfocus="if(this.value=='Click here to type')this.value='';" onblur="if(this.value=='')this.value='Click here to type';">
..onfocus/onblur work on textfields but not textarea elements. Is there any workaround, using jQuery maybe?
...
<input type="text" id="target" />
How to do it with jQuery?
...
I have a text which I want to animate when am having a mouse over it
for eg:
$(".tabb tr").hover(
function(){
$(this).find("td #headie").animate({marginLeft:'9px'},'slow')
},
function() {
$(this).find("td #headie").animate({marginLeft:'0px'},'slow')
});
with this.. when am having mouse over the row.. the table column a...
As the question implies, can I add a JQuery script inside an css file as an expression? Or something like:
.parent{
background-color: pink;
position:relative;
width: 100%;
}
.child{
position: absolute;
background: transparent url('./background.gif') no-repeat top right;
/*height: 100%;*/
height: expression($(this).parent.height...
I found a nice menu which have a background image fade out, as shown here
http://www.queness.com/post/411/create-an-attractive-jquery-menu-with-fadein-and-fadeout-effect
But however when I rapidly mouse over the button for few times, it will keep animate non stop. I was informed that I need to add in a "callback". I'm not a javascript ...
I have a very simple script that slides a message down from the top of the page, then slides it back up after a few seconds. Works fine in FireFox, Chrome, etc, but in IE (6 through 8), after the slideUp completes the div appears at full size for just a moment before disappearing, creating a nasty flash. Any ideas on how to get rid of th...
I'm having trouble understanding why a click event binded to the document would be triggered through an 'enter' form submission. Here's the test page I'm looking at:
<html>
<head>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js'></script>
<script type='text/javascript'>
...
Hi,
I'm creating an advent calendar and I need a piece of jQuery/Javascript that will change the class on a div based on the date.
I need all previous days to have one class, the present day one class and future dates one class.
This is my source code:
<div id="container">
<div class="box nov28">...</div>
<div class="box dec1">....
Hello,
I'm pretty sure i'am almost there....but i cannot figure out how to iterate through json objects and fill a dropdown list. Here is the js code:
My JSON data returned:{"name":"County1","name":"County1","name":"County1"}
$(document).ready(function() {
$("#ddlCountries").change(function() {
...
Hi I have the following code in my change.php page:
$con = mysql_connect("localhost","root","root");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("FACT", $con);
if($_POST['isChecked']==1) // SEE THIS LINE PLEASE
{
mysql_query("UPDATE Orc SET CON = 'CHECKED'
WHERE UID = '1'");
}
...
I'm a jQuery newbie, so be gentle! I have a loop that outputs extra fields in a form (based on value). All good so far. However, in my extra fields is a date of birth set, which I normally create days/years options using a loop. My question is, how do I create this inner loop inside my outer loop? Here's the basic outline so far:
...