Jquery JMAPS plugin and color of Markers
Hi Guys, Has anyone used the JMaps plugin by digitalspaghetti? I've got a map that works on my site using teh plugin, however I would like to change the color of SOME of the markers (they are all red), anyone know how I can achieve this? Any advice would be much appreciated. Jalz
Chained select with data from one big inline JSON array
Hi everyone I'm looking to build some sort of chained select menu on a particular page in our intranet system. But rather than the options for the 2nd select being loaded dynamically through AJAX when the 1st select is changed, I would like to just have the entire dataset stored in a JSON array embedded within the page, in the <script> block for example. Does anyone know of a good way to implement this? I actually want to avoid loading the options through AJAX in this particular case, as I'll be
Periodic executor help
Hello everyone, Pretty new to jquery here, but I'm liking it a lot. I'm working on a project at my job where we are using twitter to track employee locations and I want to make a periodic executor that will grab my twitter account's rss feed and save it locally to my machine. Then, I want a periodic executor for each employee (only about 10 right now, it's for my department) that will check this saved file for that employee's last update and do a nice fadeout/fade in on the main monitoring webpage.
[jQuery] [Validate] Can't seem to figure out what is wrong.
The page below always gives me the message "[object HTMLInputElement] has no name assigned" (twice). What doesn't it like? <!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> <script src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript" src="http://dev.jquery.com/view/trunk/plugins/validate/ jquery.validate.js"></script> <link rel="SHORTCUT ICON"
[jQuery] Drop-down menu / PHP mark-up
Hello! I have a list of messages which I want to sort with the help of a jquery drop-down menu. It is a template file with an underlying PHP/MySQL application. All what I would like to do is to change a variable value and refresh (or not refresh?) the same page when someone uses the drop-down menu. I don't know how to mark this up. Could please anybody send me a hint or a link? Thank you!
[jQuery] Ajax - Reload only affected record
I add, edit, read and delete records via ajax. Is working correctly. Only it is not optimized, every time I do some action script reads all my records again. I wish only the record that action has to be recharged. Can you help?
[jQuery] jquery serialScroll
I am currently using serialScroll (http://flesler.blogspot.com/2008/02/ jqueryserialscroll.html) on my site at http://zhiwancheung.com/sculpture.html (sculpture page) Currently I am trying to link the images on the "sculpture" page from a previous page (http://zhiwancheung.com/works.html or works page) such that when I click on a link from the "works" page, it will show the correct image on the "sculpture page". I am passing an id from the target element on the "sculpture" page as a hash and reading
[jQuery UI]Sortable
Hi, I'm making use of the sortable method in jquery UI. I'm using it to sort images in a div. I have a problem with making use of this. If the document loads with images in the div, the images are sortable and the entire thing works like a dream. If the document loads with no images in the div and I dynamically add them to it (after load that is obviously) it's crippled. The images won't sort, or at least not how they normally would. Can anyone explain or does anyone recognize this behavior? I'm
[jQuery] where to load init function with google?
Hello, I was just adding a dropdown menu to my site using droppy. http://plugins.jquery.com/project/droppy And I also use google jdev with google.load('jquery',...). Droppy requires a bit of code to initialize the dropdown: $(document).ready(function() { $('#nav').droppy(); }); Now where should that code go when I'm using google.load() ... this is the solution I came up with: ... <script language="Javascript" type="text/javascript"> google.load("jquery", "1.3.1"); </script> <script src="/media/js/jquery.droppy.js"
[jQuery] namespaces XML parsing
I have had alook into jQuery mailinglist and I have googled and I have seen that there are problems witj jQuery parsing XML (an CSS I've seen) namespaces. I have tried and for example, in FF I need to look for "ns\\:tag" to find a tag, but for example if a look for an attribute I have to do this "ns:attribute". In Google Chrome (WebKit) it simply works with "tag" and "attribute". Has it been solved, as I have seen this problem arose around 2006? It is a bit complicated to code a case for each web
[jQuery] insertAfter loses script tags
Hello, If I clone some html that includes a script tag, the script gets clone. However, if I then do an insertAfter() with that clone, the script tag gets lost. Example (using jquery-1.3.2): <div id="clone_me"> <script> ({option_a: 17}); </script> <span>Hello</span> </div> <button onclick="jQuery('#clone_me').clone(true).insertAfter(jQuery (this));" value="click me"/> jQuery('#clone_me').clone(true).find('script').text() -> "({option_a: 17});" jQuery('#clone_me').clone(true).insertAfter(jQuery(this)).find
[jQuery] function - keeping content up on load of page
I am using a script to change content in a window. I need the html content in window to be up by default. With this script it's empty on page load, and it's only up when you click link. What do I need to add to this? <script type="text/javascript"> $(document).ready(function() { $('#links a').click(function() { var url=$(this).attr('href'); $('#headlines').load(url + ' #newsItems'); return false; }); }); </script>
[jQuery] jquery validation on one field or another
Hi, I have a form with multiple fields, including one for a telephone number and one for an email address, i need the contact to enter in at least one of the above in the form to make it valid, how do i do an either/or check within a jquery validation form?
[jQuery] embedded elements and document.ready
Hello I have a question: Is there a way to know if a custom plugin is ready to work with? I have a inhouse build of a video player , don't have the load event or any other type of event. i use in html: <embed id='VideoWin1' class='videoWin' type='application/mozilla-npwindow-plugin' width='150' height='150' /> and in a .js file i added $(document).ready( functions); this functions contain some logic but sometime when i load the file the video is embed element is not display or can not work with it
[jQuery] $('.edlBoxArea').corners is not a function
I'm trying to use the rounded corners plugin -- jquery.corners.js . When I create a small test case, below, it works fine. However, when I try to add corners to my production system I receive the following error in Firefox's error console: $('.edlBoxArea').corners is not a function I'm only adding two things to my production system: FIRST: A reference to the plugin script, in the <HEAD> section of my html: <script type="text/javascript" src="/jscripts/jquery/ jquery.corners.js"></script> SECOND:
[jQuery] [Treeview] Persistent location with pages with a query string
Hi, I have several php pages in my menu and the menu works fine. The persistent location function works well, but some of these pages can have a query string (eg. http://mydomain.com/page.php?sortby=name). My problem is that Treeview doesn't recognize that the above is the same page as http://mydomain.com/page.php which is in the menu. I assume I need to strip the querystring somehow, and that it should be done in this code (from jquery.treeview.js): case "location": var
[jQuery] Cycle Plugin Pager with Images
I'm having a problem with this code: function fade() {$('.pic').fadeIn(7000);} $('#shuffle') .before('<ul id="nav">') .cycle({ before: fade, fx: 'shuffle', timeout: 10000, shuffle: { left: 457}, pager: '#nav', pagerAnchorBuilder: function(idx, slide) { return '<li> # ' + slide.src + ' </li>'; } }) ; particularly the part where it calls back in the "slide.src" . I want to have it
[jQuery] Cycle Plugin Pager with Images
I'm having a problem with this code: function fade() {$('.pic').fadeIn(7000);} $('#shuffle') .before('<ul id="nav">') .cycle({ before: fade, fx: 'shuffle', timeout: 10000, shuffle: { left: 457}, pager: '#nav', pagerAnchorBuilder: function(idx, slide) { return '<li> # ' + slide.src + ' </li>'; } }) ; particularly the part where it calls back in the "slide.src" . I want to have it
[jQuery] AutoComplete
Hi Experts, I have this autocomplete script; <span style="font-family: courier new,monospace; color: rgb(0, 102, 0);"> $("#operator").autocomplete("bright/auto.php",</span><br style="font-family: courier new,monospace; color: rgb(0, 102, 0);"> <span style="font-family: courier new,monospace; color: rgb(0, 102, 0);"> {</span><br style="font-family: courier new,monospace; color: rgb(0, 102, 0);"><span style="font-family: courier new,monospace; color: rgb(0, 102, 0);"> delay:10,</span><br
[jQuery] NEED HELP!! JQuery & XML not parsing/consuming properly
hi, I've looked through at awfaul lot of posts/articles and haven't been able to get this thing working. The xml and the jquery code is below. The problem ive been getting is that despite the xml being successfully load from the ajax call and despite the jquery loop looping through the xml no actual values from the xml are actually extracted from it. In Firefox you get the alert with caption in it (and blank value) and then a series of the value alert boxes with no value. In IE7 you get jsut the
[jQuery] Big problem with IE
I have installed this great menu on a shopping cart development that I am doing but I have a problem with Internet explorer, the text moves to the right, I have uploaded two picture samples The site can be analyzed online here: http://www.vitwebdevelopments.com/onlineshoppingcyprus/products.php?cat=1 #1 with firefox ( it looks perfect) #2 with IE, the text moves to the right http://www.3dmagicaldesigns.com/3dmd_webdesign/customers/drop_down_menu_IE_and_firefox.jpg Please help!!! I feel stucked. How
[jQuery] Add option to combo
Hi people, how can i add a first option value to a combobox, containing for example "Select..." With append i can add the new value, but i don´t know how to put it first. Any ideas will be apprecited! Thanks!
[jQuery] Show div in div on mouseover
I have multiple divs on my page in which contains another div with links. These links should be hidden by default but then displayed when the mouse is over the div. HTML-code: <div class="box"> Lorem ipsum <div class="links"><a href="#">Foo</a> <a href="#">bar</a></div> </div> <div class="box"> Lorem ipsum 2 <div class="links"><a href="#">Foo</a> <a href="#">bar</a></div> </div> <div class="box"> Lorem ipsum 3 <div class="links"><a href="#">Foo</a> <a href="#">bar</a></div> </div>
[jQuery] Tabs dont work.
Hey. I just upgraded jquery and tabs to the new version, but now the tabs doesnt work. I`m a newbie to jquery and cannot seam to solve it. If someone could give me a pointer to the solvation to the problem that would be great. The page is: www.espensg.com/test.html
[jQuery] How to use jquery RESTful for CRUD with standard Rails backend ?
I'm looking for an explanation/example, how jquery events on client side, when you e.g. edit or create rows in a jqgrid, are put into valid XHR-messages which can be directly consumed by a standard Rails controller, modifying a backend database behind a model. The application should behave exactly as if written with standard RoR in terms of using CRUD and being RESTful, but having all the sexy Ajaxian features which are available in jquery and plugins like jqgrid. I found only some very indepth discussions
[jQuery] $.getJSON isn't working while getting the JSON data from hidden field
Hi, I amn't able to parse hidden form field data in $.getJSON method, seems like I am missing something. Hidde Field: <input id="videoListJson" type="hidden" value="{ 'array':[ { 'title' :'title of video', 'description' :'this is a movie clip', 'postedBy' :'null', 'thumbnailData' :'null', 'noOfViews' :'2345', 'noOfComments' : '123', 'rating'
[jQuery] [plugin] Tablesorter update
Hi, i have added some (for me) missing features to the tablesorter plugin: - optional ui theme support - locale support for additional date formats and decimal points - update the following parsers to support additional decimal points: digit, currency, percent - update date parser to support german dates - update date parser for short and medium dates You find the source and an example here: http://tablesorter.openwerk.de http://tablesorter.openwerk.de/script/jquery.tablesorter-update.js Best regards
[jQuery] looking for a calendar plugin
Hello guys, does anyone know a calendar plugin for jQuery like this one: http://www.moonkiki.com/moonkiki/moogenda/#JSON Thanks and have a nice day! Sig
[jQuery] group validation error highlighting
I have a form where I am validating IP address. I am using 4 different textboxes limiting the characters to 3 in each one of them. I am checking the range from 0-255 for each of them using Validate plugin. Now to display a single error message instead of displaying an error message for each of the boxes, I am using the errorPlacement function and display it after the last field. But suppose I correct any one of the fields , it validates that box and the error message disappears. I used the unhighlight
[jQuery] Using jQuery to parse XML
EDIT: Sorry for the repost, I was tabbing through the page and accidentally sent before I was done composing. Hi all, I've spent a long time trying to figure out why my code to pull elements out of an XML file isn't working, to no avail. Here's the code snippet I'm using, given an XMLHttpRequest named responseXML which seems to be in fine shape (inspected using Safari 4 beta's "Inspect Element" feature): function extractBifData(responseXML, vorticityClass, vorticityStrength) { var bifData = [];
[jQuery] Simple alert inside each(function.... not working
Hi All, Here is a simple function - works fine, but I cannot get alerts for debugging - no errors - no alerts: function tips(){ $j('li.jqtip:visible').each(function() { alert('something here'); //this alert is not working !!!!!! $j(this).qtip({ content: $j(this).attr('title'), show: { effect: 'grow', length: 400 }, hide: { effect: 'grow', length: 400 }, position: { corner: { target: 'topMiddle', tooltip: 'bottomLeft' } }, style: { tip: 'bottomLeft', name: 'dark', border: { width: 2,
[jQuery] Problem with processing Form + autocomplete
Hi, Im using autocomplete plugin + form plugin + validate plugin. The Code i use is $(function() { $("#movie").autocomplete("getmovie.php", { width: 380, selectFirst: false }); $("#movie").result(function(event, data, formatted) { if (data) $("#mid").val(data[1]); }); var v = $("#form").validate({ submitHandler: function(form) { $(form).ajaxSubmit({ dataType: 'json', success:
[jQuery] Can't get anchor tags to work with Cycle Plugin
I'm using the jQuery Cycle Plugin, and I am trying to add anchor tags around the images in the slideshow so that the user can click on it to go to another site. I saw the example Malsup made at http://www.malsup.com/jquery/cycle/test/egil.html http://www.malsup.com/jquery/cycle/test/egil.html in which the anchor tags work great. I actually copied the same anchor tags that he used in that example. Here is my HTML for the slides: <div id="rockslides"> /about-us/business-strategy/ images/rockslides/rockslide1.jpg
[jQuery] Best way to Table Sort using server side calls
I am looking to display a table of data and have my table headers we links to sort. I CANNOT use client side sorting, the table is up to 10,000 rows. I have the table built and headers are links to pass a query param. My question is what is the best method to pass the params and load the page w/o a refresh. I'd really like the header to know its a toggle, so that ordering toggles between asc/desc. My example is passing something like this list.cfm? show=All&column=name&sort=asc This is my first time
[jQuery] Photo Gallery, Thumbnail navigation
I am building a photo gallery for a friend using JQuery. I have div with thumbnails below a main picture that changes based on the thumbnail you click. I want to be able to add a next and previous button for the thumbnails, because there are a lot of them. I am relatively new to JQuery, but am learning quickly. I am wondering what the best solution for this is. Currently I have the the thumbs loaded and you can click on them to change the image, but I can't figure out how to only show the first three
[jQuery] jQuery BlockUI Plugin :: Demo not working in Internet Explorer
Hi, I have created a demo page according to the demos available on http://malsup.com/jquery/block/#demos. The demo i have created is working fine in Firefox but is it not running in Internet Explorer 6. Can you please suggest, what should I do to run the demo in Internet Explorer. My code is as follows: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="PleaseWait.aspx.cs" Inherits="PleaseWait" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[jQuery] how to prevent user input while the page is loading
I have page that rely heavily on jquery for doing calculation. I need to prevent user to enter before the page finished loading so the javascript can be run. is there simple solutions to do that ? like displaying [loading....] may be ? thanks
[jQuery] JavaScript Loading Question
I've noticed that when I put something in the $(document).ready function my page will load the HTML and then the JavaScript will kick in. For example, I make a series of tabs with the jQuery UI library and then I visit the page. The content in the tabs will display regularly for a split second and then it will "jump" into the tabbed configuration. When I go to other websites I don't see this behavior... Is there a way to preload the JavaScript so that the page appears as intended before the user
[jQuery] Filter xml
Hi, I have this: <Root> <Item RecurranceInterval="1" Type="Month" Name="Beginner"></Item> <Item RecurranceInterval="12" Type="Month" Name="Beginner"></Item> <Item RecurranceInterval="1" Type="Month" Name="Intermediate"></Item> <Item RecurranceInterval="12" Type="Month" Name="Intermediate"></ Item> <Item RecurranceInterval="1" Type="Month" Name="Advanced"></Item> <Item RecurranceInterval="12" Type="Month" Name="Advanced"></Item> <Item RecurranceInterval="1" Type="Month"
[jQuery] Showing Ajax response when not empty
I'm not sure where to begin asking for help on this one, so I'll just explain what I'm trying to do. What I want to do is show a notification on the page when another user logs in. Say I am User A, and User B logs in, I want to see a notification that User B has logged in. Right now I have a somewhat working version of this... $("#userlogin", "#container").everyTime(7500,function() { $(this).load("/ajax/userlogin"); if($(this).text() != '') { $(this).animate({ top:
Next Page