jquery

google map subgurim + jquery: pan to center and change icon when click on a marker

Hi, It is a question regarding to http://en.googlemaps.subgurim.net/ google map wrapper in asp.net. I would like to know if I can do this from a client side: Click on a button then a using jquery to pan a marker to center and change its icon (image). Would it be possible? Thanks in advance. ...

bind jquery slider handle to overflow ??

if i have a basic jquery slider in place: $(document).ready(function() { $('#slider').slider({ value:15, min: 1, max: 30, step: 1, animate:true, orientation:"horizontal" }); }); and for my timeline CSS i have this: #container{ height:300px; border:1px solid #000; padding: 10px; overflow:auto; } .ul-class{ width:10000px; ...

Solved Jquery change image on hover when image and menu item 'title' equal eachother

This is now solved. I simplified the code. My problem now is that whenever I hover over all list items (shown below ul.menu) then hover over again, upon inspection style="display:none;" is not being removed after I come back to mouseover again. Current Html: <ul class="menu"> <li class="menu-mlid-187" id="ElDorado"><a title="El Dorad...

Is there a way to let a user view an image they are about to upload client side before uploading to the server?

When a user is uploading an image, is there a way I can load the image client side and show it to them first, before uploading it to the server? Preferably using javascript/jquery only, but using flash would be acceptable too. ...

how to make chained jquery animations flow between each other?

Hello, Check out this site: http://photoshop.tutorialcraft.com/ Notice the sun go to the top and then to the right. Here is my code: var windowWidth = $(window).width(); var width50 = (windowWidth*0.50)-220; //220 is half the width of the BG image being animated. var width100 = (windowWidth*1); $("#sunnmooncycle").css("backgroundP...

Can't get jQuery Cycle to work in Amazon Webstore

I'm running around in circles trying to figure out why I can't get jQuery Cycle to work in our Amazon store. jQuery seems to be working fine, as I can run commands from the console, but any time I try to call .cycle(), i get a "*.cycle() is not a function" error. I've used cycle on several other websites with no problems, but this has co...

How do I get this effect?

Hi I seen many jquery plugins that do this and I am wondering if anyone knows how to do it(It would save me alot of time). When you load up say the jquery ui dialog. It pops up all flashy and the the background darkens. http://jqueryui.com/demos/dialog/#modal http://jreject.turnwheel.com/# (run any of the demos) I think they use j...

jquery uploadify, if empty

Hi, is imposible with jquery uploadify check if empty, when i push upload button? And if empty show error. Thanks EDIT: When user push button "Upload Files" without marking anything file system must show errors (you must select, or etc.) If you don't understand my problem please look this: http://img696.imageshack.us/img696/8854/error...

AJAX: Send and retrieve a value with jquery post() and PHP, WordPress

Hi, I'm trying to make the following happen in a WordPress page: User clicks on a "sort posts by" button Value from the button is sent to sortFilter.php page Current page is refreshed and uses the value posted in sortFilter.php to create a new loop. On the initial page there is a tag that I want to load the data into: <p id="sortF...

Can you use jQuery in an ePub

I am looking at making an ePub magazine, but instead of making the user download a file each month, I would like to use XML and jQuery to load the correct data in the ePub document. If this is possible that would be great ...

jquery appendTo() issue

I'm trying to use jQuery's appendTo function to add data to some html that I load from another file. Why won't this work: $('#pop-up').load('html_elements/news.html #newsItem', function() { $(newsItems[$(event.target).attr('href')].title).appendTo($(this).find('.title')); gameUi.showPopUp(); gameUi.setUpPopUp(); } ); an...

How can I modify the returned value of jQuery's html() method?

I have a div that I want to write to a popup window (for printing). I'm grabbing the contents of the div's I want on the page using jQuery's html() function like so: function printOptions() { var printwindow = window.open('', 'Report', 'height=600,width=600'); printwindow.document.write('<html><head><title>Report</title...

JQuery Floating Boxes of Different Size

I have 9 floating boxes on a page with 3 columns, generated from this JQ script: <script type="text/javascript"> $(function() { $("ul.connectedSortable").sortable({handle:'.kpiValueContainer', connectWith:'trysomethingelse', placeholder:'ui-state-highlight', revert: true}); }); </script> The columns are in fact "ul"...

jquery highlight certain section of text

My team has come to conclusion that in order to highlight certain text we will use !!! as special symbol. Long story. I love !!!JavaScript and jQuery!!!. should get transformed into I love <span class='hl'>JavaScript and jQuery</span>. Do not worry about the edge cases. We are developing a system for school children and they don't ...

ie8 page hangs before load complete

I am experiencing and issue only in IE. In FF, Safari, and Chrome, behavior is as expected. After running the IE8 dev tools profile on the pages, all signs point to the jQuery .css() function, although the details in the call stack make it impossible to find the culprit. I get no filename or line number whatsoever. The site is http://...

Sliding panel lightbox/overlay in JavaScript?

I was wondering if anyone had any ideas if a plugin or other script existed out-of-the-box to do this kind of functionality: User opens up a lightbox/modal dialog User clicks some action The previous lightbox slides out and a new one slides in I'm trying to do this as a more graceful way of handling multi-level modal navigation than st...

Searching for a jQuery plugin: Does this exist?

I want to combine a content slider with a fancybox, lightbox type plugin. Does a plugin like this exist? ...

How can I use JQuery on my page?

On the screenshot, you see on the bottom there is a list of prices. I want it hidden by default and when I click on the button 'Prices', I want it to slide down from underneath. Then if I press it again I want the list to slide up again. How can I do this? Sorry if I didn't explain much, any questions please ask. ...

Double Click Selects Text in dynamically added H1, how do I stop this?

I want to make an element dbl clickable, and when they do it, it selects text which is a little ugly. Is there a way to deselect text with JavaScript (or jQuery) or just make it not select text in the first place? Its on an <h1> element by the way. Also, some have suggested: $.fn.extend({ disableSelection: function() { ...

How to Get A JavaScript Variable Value from Inside a Function?

I'm using the JQuery getJSON function to get some JSON-formatted data. The data will be used along with the YouTube JavaScript API: http://code.google.com/apis/youtube/js_api_reference.html The JSON data is not pulled from YouTube. It's a simple, hand-written list of YouTube Video ID's and Titles which are listed on a CSV. I'm using PH...