hey guys,
simple and annoying question for you, but i need the answer rather quick and i couldn't find a solution.
$('.gallery-item .gallery-icon a').each(function(){
$('.gallery-caption').prepend("<span class='imgtitle'>"+$(this).attr("title")+"</span>")
});
every gallery-item has a gallery-caption underneath it. i'm iter...
dear all.I want to use only one textfield for different results. what should I do if I want after pressing a few times a checkbox or another checkbox the results will appear sequentially in the textfield.for example:
<input type="checkbox" id="see" value="a">
<input type="checkbox" id="saw" value="b">
<input type="text" id="field">
<in...
Hello,
First StackOverflow question - woo!
Quick question about styling this piece of Javascript:
//Search
$('#search').keydown(function(e) {
setTimeout(function() {
if ($('#search').val() == '') {
$('#history h4').show();
$('#history li li').show();
return;
}
$('#hi...
I have two sliding panels. I need ONLY ONE panel open at a time. Right now they can both open. My project link is: link text
Here is my code:
$(document).ready(function(){
$(".btn-slide").click(function(){
$("#panel_quote").slideToggle("slow");
$(this).toggleClass("closeQ"); return false;
});
});
$(document).r...
How to create a gridview or gallery view with PHP and jQuery?
...
Hi all,
I'm having an issue with IE8 (nothing new there). The error I'm getting is not making much sense as it does not occur on FF or Chrome. Here's the code:
function remComp(id, trade) {
$.ajax({
url: "functions/removePriceSurveyComparison.php",
type: "POST",
async: true,
...
Hey guys, I am trying to make a magnifying glass background when the use hovers over an image that can be enlarged. This is using a blank span and setting its display to none until it is hovered, and having its background be a semi-transparent png with a magnifying glass in the center.
This is done using fadeIn / fadeOut and works perf...
I am looking to implement deep linking / back button functionality on a web site that uses jQuery and jQuery UI (tabs, dialogs...). I a new to this so I lack the knowledge to evaluate the different offerings in deep. So far, from what I read on the web, I have narrowed my choice down to jQuery BBQ and the Asual address plugin.
Is there ...
Hello,
The code below works fines when I "hardcode" values but when I add the runat="server" with a binding in the code behind (for the sourceList), I can't anymore add/remove element from a list to another via jQuery
Any idea ?
<div id="Global">
<select size="10" runat="server" style="width:150px;" class="testMe" id="sourceSelect...
Hello,
Am wondering if there is any jQuery plugin available to change the wmode to transparent at runtime. (Something similar to wibiya)
I tried googling, but could not find any exact plugin do to the job. The only resource I found was:
http://www.onlineaspect.com/2009/08/13/javascript_to_fix_wmode_parameters/
http://labs.kaliko.com/...
Hey..
I have a thumbnail and a full size image that i want to load dynamically on my page.
The thing is.. if I load the smaller image - ie., the thumbnail - then it shows properly on screen.
But if I load the actual full size image, then another div, with a class of ui-wrapper is created around my image.
And it would not show the im...
Given a URL how do I pull the largest image (in terms of image-dimensions) on the site? I am using it to act as the best possible representation of a sites thumbnail.
Similar to first thumbnail image when sharing a url on Facebook:
http://www.facebook.com/share.php?u=my_website_url
The image thumbnail on Facebook in the div:
<div cla...
Hi! My issue is that I'm making a zoom plug in jQuery. The situation is that when I click on smaller picture it gets popup where I can scroll the picture means that i can change its width height on scroll dynamically and can move it means i can change its left n top position dynamically... my problem is that when picture gets popup, movi...
Hi,
I have a Javascript function in my website. I don't know Javascript very well but, I want to modify it.
This section loads a third drop box, depending on the first two.
I want to modify it to disable the third one if the second drop box locatie's value is util.
jQuery( function () {
jQuery("#util, #loc").change( function() {
...
Hi everyone!
I'm having a few issues with the jQuery UI Resize loosing the border on the textarea I'm resizing (see images). Can you help?
Borders showing as intended:
Right border hidden:
Firebug screenshot: (http://i.imgur.com/TyR43.png)
...
hey i got a problem ...
I want to add the 3rd tab link to other website and when it is clicked it redirects me to the home page first tab. not 3rd tab.
here is a example of linking used in the website.
<li><a href="#tab1">HOME</a></li>
<li><a href="#tab2">About us</a></li>
<li><a href="#tab3">services</a></li>
and on other we...
I'm trying to create a simple ajax load test script that dynamically creates divs, runs an external php script and return the result to the created div.
I'm trying to figure out how to create a for-loop that creates, say 10 divs and runs the php script for all divs. Preferably so that I can specify which script to run.
This is the co...
I have 2 HTML files - file1.html in xyz directory and file2.html in abc directory ... both the directories are at different levels.
Now, I have a external JS file in which I have used jQuery UIAautocomplete widget and I have used datasource URL for ajax call as a PHP file say datasource.php ...
Here I mentioned data source URL as abso...
JQUERY:
<script type="text/javascript">
$(document).ready(function() {
$('li.directory > ul').css('display','none');
$('li.directory').click(function () {
$(this).toggleClass('expanded');
$('ul', this).slideToggle('slow');
});
});
</script>
HTML: markup fixed now for demo
<ul>
<li class="directory"><a href="#">Paren...
Hello all this is the page that i currently building:
When click Submit, I get the text value in the current row and submitted via jquery ajax. There is no problem for me, but when is I test in another pc in the network there are error message appear (via json). Something like the annual leave and sick leave is undefined.
Example of ...