jquery

Problem with google maps on IE + pop up layer

Hi, I'm using a jQuery plug-in "Boxy" (http://onehackoranother.com/projects/jquery/boxy/) to open a pop-up layer and show a map on it. It works perfectly on all browsers except IE (7 & 8). Some elements like shadow of the marker & infoWindow are transparent, so that you can see background of the page. Here's the test page: http://ko...

jQuery conflict

Hi, I have a wordpress plugin lightbox2 and a news scroller on my page. My head section looks like this <script type="text/javascript" src="wp-content/themes/soundsright/menu.js"></script> <script type='text/javascript' src='wp-includes/js/prototype.js?ver=1.6'></script> <script type='text/javascript' src='wp-includes/js/scriptaculous...

jquery change == to contains?

I'm trying to alter the code below so that if "this" contains the class "search_init", it will only replace that class, as the markup itself has multiple classes applied to it. I tried ~= and ^=, but that gives me errors about missing (). $("tfoot input").focus( function () { if ( this.className == "search_init" ) { ...

Adding an active css class to navigation with jQuery

Hi All I'm looking for a simple unobtrusive way to add a class="active" to an unordered list menu based on the directory it's in. Unfortunately I can't add a custom class to the body tag so I'm unable to use a pure css solution. Can anyone point me to a good tutorial - I've looked but can't find one that fit's my needs. Code looks like...

Manipulating some selector classes based on select box values

I am trying to refine my custom jquery plugin. I have asked this before here. The previous problem was resolved. Now I want to make my plugin more flexible. So instead of relying on hardcoded old classes, I am trying to make it rely on the array of values of the select box which dynamically change the classes based on their values. The r...

UI Modification to jQuery scrollTo: Fade Prev/Next controls when nothing left to scroll.

http://cambridgeuplighting.com/portfolio I am trying to create a function that will fade the Next and Prev controls for a scrollTo function when the slideshow has reached either end. I have a good start but it doesn't work how I want it to. I need the controls to fade out the click BEFORE it reaches the end. Right now it reaches the en...

Call function of included JavaScript code from another included JavaScript

Hi, I'm trying to work with different loaded JavaScript in my page, but I'm not able to let them talk. <html> <script type="text/javascript" src="jquery144.js"></script> <script type="text/javascript" src="shared_functions.js"></script> <script type="text/javascript" src="page_function_callers.js"></script> </html> // shared_functions...

How to make this jQuery Vertical News Scroller NOT repeat/loop

I found this scroller that I would like to use, however, I want it to stop after showing the last item. http://www.cre.lt/tadas/vticker.php Is it possible? Tracy ...

ASP.net-MVC2 RC2: jQuery 1.4.1 and dateTime evaluation

Im trying to incorporate jQuery plugin FullCalendar into my application. All was going well until i decided to implement the dropping of a calendar event in the calendar. for this i hooked up the following code to the eventDrop eventhandler (jquery / clientside) eventDrop: function( event, dayDelta, minuteDelta, allDay, re...

What are usability, accessibility, screen-reader or any other development, functionality, cross browser issue with iframe?

What are the usability, accessibility, screen-reader, or any other development, functionality, or cross browser issues with <iframe>? Is there any alternative for <iframe>? And are there any JavaScript/jQuery or server-side techniques which can decrease the usability, accessibility, or screen-reader issues with <iframe>? Why has the ...

Create a Wordpress post with xmlrpc and jQuery

Hi, I have a dynamic page where the user can fill some fields. Those users will all have an account on a WordPress blog. I would like to allow them to directly post the content generated by the webpage to the blog. I don't want to store their password in the server so I want to do this client-side with JQuery. I have looked both at the...

Jquery Rollovers, issue with click state

Excuse my noobiness when it comes to Jquery, but I have some jquery code that does rollovers for me: $("img.rollover").hover(function () { this.src = this.src.replace("_off","_on"); }, function () { this.src = this.src.replace("_on","_off"); }); Essentially just switching the images from image_on.jpg to image_off.jpg on h...

Do i need to modify all links in order to ajaxify this website ?

I built this website using ajax (via jquery) instead of full page refresh. Right now, it does not support the browser's back/next buttons, nor deeplink bookmarking. I'd like to implement these functionalities, using for instance the jquery bbq plugin but i'm not sure i understand completely the concept. The main point i'm missing is thi...

Problem using the JPlayer audio player.

I'm trying to use the JPlayer (http://www.happyworm.com/jquery/jplayer/) jQuery plugin and having some trouble using it when it falls back to the Flash SWF. In that case I hit an error m.fl_play_mp3 is undefined which I've traced back to possibly a problem with the path to the SWF file. However, I've put the full path to the SWF direct...

jquery insert div right inside a form

If i have the code below and i want to insert a div with jquery as the first element inside the form tag what is the best way to do that? <form> //i want to insert a div here with jquery <label>...</label> <input>...</input> <img>...</img> <label>...</label> <input>...</input> <img>...</img> <label>...<...

Weekly view built on HTML/AJAX/JQuery

Any recommendations on a good eye candy HTML/JQuery/AJAX weekly view that can be taken for use? ...

Change the get parameters in the address bar in jquery

when you search on yelp, by adding additional search parameters the page does not reload. I think the results are changed based on ajax, however when you click on one of the restaruants and go back to the previous page. All of the parameters are still there. I noticed the address bars change as the parameters change. I found http://www....

How to get the value of radio buttons via Jquery

If I have the following radios: <input name="color" id="color_blue" value="blue">Blue <input name="color" id="color_red" value="red">Red <input name="color" id="color_green" value="blue">Green What's the easiest way to find out which radio the user selected? Preferably something like to: $("color").val(); Or something close to that...

jQuery .click handler not working in Safari

I have jQuery .click(function() event handlers attached to elements that I've selected by ID example: $('#deletethis').click(function() { $(this).hide() } within my $(document).ready but this does not work at all with Safari, just nothing happens but it works fine with Chrome, Firefox, and IE. Console reports no javascript erro...

jQuery replaceWith throwing back error

Hey all, I'm looking for a fresh set of eyes to check out this code and see if you can tell me why it isn't working properly... I've actually used this same code before with 1.3.2 and it is fine, but for some reason with 1.4.1 I'm having troubles... am I missing something? $(".item").click(function() { var yt_vid = $(this).ch...