Superfish Menu Not Using Current State on Current Page
I've been able to develop a vertical menu system with Superfish Menus and have been able to style it. Unfortunately, when I click a link to a different page, it does not highlight the 'current' state on that page's menu item. Rather it just stays on the 'Home' link. Plus, after reviewing the code, after every menu I create there's a bunch of javascript code at the end. I've never seen this before in the past and am wondering why is it loading (and bloating). Rather odd behavior. Code: .sf-menu {
Slideshow style image transition on click??
This is the HTML I am currently using: <!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> #container{width:960px;margin:0 auto;overflow:hidden} #sidebar{width:300px;float:left;margin:0 20px 0 0} #sidebar ul{list-style:none} #sidebar li a{color:#363636;text-decoration:none}
jQuery UI Autocomplete extraParams Problem
I have a jQuery autocomplete application where the user types a query into a text box and autocomplete suggestions are returned. (It's working fine.) I would like to restrict the suggestions that are returned by passing the value of the selected option from a drop-down list (#deptField3) to the PHP script that does the autocomplete look-up. Here is my code: <script type="text/javascript"> <!-- $(function() { $("#directorySearchField-desktop").autocomplete({ source: "/directory/includes/scripts/autocomplete.php",
checklist Dropdown list inside tabs plugin
Hi, I am using jquery checkbox dropdown list control http://dropdown-check-list.googlecode.com/svn/trunk/doc/dropdownchecklist.html inside a tab plugin, and it is not working for me. Dropdown does not appear on click although code does process the items. If i put the dropdown list outside the tab on the same page it works fine. I am using following for my controls. jquery-ui-1.8.11.custom.css ui.dropdownchecklist.themeroller.css jquery-1.5.1.min.js jquery-ui-1.8.4.custom.min.js jquery-ui-1.8.11.custom.min.js
(using validation plugin) Prevent spam w additional-methods.js such as HTML code in textarea w/ validation plugin ?
Are their any options within the additional-methods.js such as stripHtml and addMethod Just seems this would be a good way to prevent spam queries, without having to go to the extreme of captcha, which discourages some inquires. Thought maybe someone else may have solved similar issues with misuse of textareas and folks embedding links etc. thanks in advance for any clues.
Meerkat Plugin
Hello! I have a question about using the Meerkat Plugin with Business Catalyst. I got it working just fine but now I need to be able to hide the function when there is not an alert or notification that we need the plug-in for. Currently, it still pops up with 'No items found.' Is there a way to hide this when there is not an alert? This script was listed on the Meerkat website but I don't think it is what I want, and when I included the code in the script, it didn't seem to do anything: onMeerkatShow:
jquery form plugin and IE issues
Hi, does anyone know why this code works in Chrome and Firefox but not in IE9, IE8 and IE7: jQuery(document).ready(function($){ // bind to the change event of the state select in the checkout form $('#add_submit').one("click", (function(){ // display a message indicating that we're updating the tax cost $('#cart_total').html( 'Dodajem...' ); $('#items_in_cart').html( 'Dodajem...' ); $('#entry_id').val( $("#add_entry_id").val() ); $('#quantity').val(
Regardin PDF and Excel in Table tools
Can any one help in getting pdf and excel in table tools. Iam facing issues with this.
Using prettyPhoto_3.1 but the slide show do not display center of the screen
I'm using PrettyPhoto plugin version 3.1 but when it display image, i do not change anything in prettyPhoto.css , the div holder do not display at center of screen. please help me fix it. thanks in advance. Here is My CSS and MY HTML code: html { *overflow: auto; *overflow-x: hidden; } a {text-decoration: none;} body { float: left; font-family: Arial,Helvetica,sans-serif; font-size: 10pt; left: 50%; *left: 0; position: relative; width: 1200px; overflow-x: hidden;
validation depends
is it possible to add a depends onto an equalTo rule? ie: rule{ myFormFierld: if textbox name has been filled out add this equalTo rule.. Thanks, N
Having problem with magicpreview
Hi Guys, I'm still pretty new to using Jquery and I'm trying to use Rik Lomas's Magic Preview plugin found here: http://rikrikrik.com/jquery/magicpreview/ to help me create a form but for some reason I just can't seem to get it to work. I'm really only interested in changing a picture based on what is chosen in a <select> tab, but I just can't seem to get it right. If anyone could help me out I would really appreciate it. My current code is as follows: <script type="text/javascript" src="jquery.js"></script>
Transparency Issue in IE8 Animation Fade In / Out
I have a problem with my Jquery CSS Sprite animation. This works fine in all other browsers. The buttons leave a black outline around them on the transition. For the life of me I have not been able to find a solution. Here's the link to the site in question http://manoucher.com/about-me/
jQuery Validate problem
Having some problems with implenting the jQuery validate plugin. This is the code I'm working with: http://pastie.org/1811644 Demo site: http://persturesson.com/test.html It doesn't validate the form, it just sends me to check.php directly
jquery cycle and z-index issue
I'm having trouble with the z-order in a slideshow made with cycle. Basically, my slides are an unordered list. Each list item is a slide with a background image, some text and a link. The relevant snippets of code are shown below. You should easily be able to take this code and make a test page if it would help. I have two absolutely positioned elements. One that is a div that goes around the entire <ul> that kind of frames the slide show. A second one is the link inside each <li>. The problem is
cluetip, load Asp into tooltip
Hi, i posted this in an allready answered threat, so maybe better doing it here. i have an asp file that pulls content from a database on mouseover script now. but i would like to change it to start using Cluetip. the link itself to the page with arguments looks like this: "showObject.asp?Id=<%=arrContainers(1, i)%>&d=<%= strTid%>&typ=1&ct=<%= intContainerTypID%>" now, i have learnt that i apparently have to edit the ajaxprocess abit in order for this to work? basicly what i am lookign for is a mouseover
Updating options for jQuery cycle plugin dynamically
I wrote a WordPress plugin that uses the Mike Alsup's Cycle plugin for jQuery to build an image slideshow. I've got the basic options down pat, but I wanted to get more advanced and I'm stuck. My problem is that I need to pass options dynamically to Cycle depending on the plugin configuration - which can change multiple times per page. An obvious example is adding a play button: I would like to initialize a particular instance of Cycle with a timeout of 0, but if someone hits the play button, I'd
cluetip - What am I missing?
I'm missing something about cluetip (or plugins in general -- jquery newbee here). Why doesn't the following code pop up the cluetip? <%@ Language=VBScript %> <% option explicit response.buffer=true response.expires=0%> <script type="text/javascript" src="/scripts/jQuery.min.js"></script> <script type="text/javascript" src="/scripts/jQuery.cluetip.js"></script> <script type="text/javascript"> $(document).ready(function(){ //Setup cluetips for the keyword descriptions $('a.tips').cluetip();
How to get parameter in post
Hallo all. Is there a way to intercept the post parameter in a similar way this plugin do with the GET params? http://www.mathias-bank.de/2007/04/21/jquery-plugin-geturlparam-version-2/ Kind regards Massimo
looking for slideshow plugin for complicated crossfade with intermediate image
I'm looking for a way to get this to work: When clicking through images on my site, I'd like to have an intermediate image appear (in this case, a graphical shape). This graphical shape should appear fully on-click on top of the 2nd image and then fade out, with the 2nd image fading in. Here's a simple visualization: http://ou812.bplaced.net/jquery/crossfade_cut_into_shape_then_fade_out_shape.gif Basically I want a clear cut to another image with that shape on top of that image. Then the shape
hoverscroll scrolling 2 unsorted lists at the same time
hi, im trying to make a website with a scrolling horizontal menu, for that im using http://code.google.com/p/hoverscroll/downloads/list i got it to work and the menu scroll`s but i want the upper menu to scroll in sync with the bottom on. so they need to be linked is that possible? i tried the following but that didn`t work <script type="text/javascript"> $(document).ready(function() { $('#my-list','#my-list2').hoverscroll(); }); </script> thanks guy`s!!
FireFox 4 jQuery.get() opens in window
Hi all, Environment: FireFox 4, Windows 7 Url: http://www.bru.gov.mt/calendar/ What I do: Click on the previous month. What's supposed to happen: An AJAX request gets sent, returning the HTML of the table for the previous month. What actually happens: Immediately after the get request is sent (~ln 250), the browser just goes to a URL that I'm not even sure where it comes from. This code is actually part of an Event Calendar plugin for WordPress. This works in FF < 4, IE 8. I've also posted it at
Jquery autocomplete list results disappers in IE
Hi, i have a problem with the jquery autocomplete on IE. When i use the page scrollbar the results list disappers. maybe it's a problem on focus.
validate: Form not validating properly
Hello, I have created the following form with rules etc. but the numberDE does'nt seems to be working. It submits the form when a valid number or float number is not specified. I am not sure what I am doing wrong. <script type="text/javascript"> $().ready(function() { $("#frmAddProd").validate({ rules: { prod_code: { minlength: 3, maxlength: 6 }, prod_name: { required: true, minlength: 3, maxlength: 30 }, prod_description: { maxlength: 245 },
Lazyload doesn't load the above-fold images in IE7.
Hey, I installed lazy load and everything works perfectly everywhere except IE7. In IE7 all the images load properly except the ones above the fold which never load at all. So the first four never load. My code is petty standard...any thoughts? JS: <script type="text/javascript">$(function() {$("img").lazyload({placeholder : "/img/transparent.gif"});});</script> HTML Excerpt: <img class="gallery-image" original="/uploads/large/110120-125954_DSCF4560JPG.jpg" />
Cannot use JQuery Form Validation Plugin in custom way. ( Beginner )
I am using this jQuery Form Validation Plugin : http://bassistance.de/jquery-plugins/jquery-plugin-validation/ But unable to get proper tutorial to use it in custom way. E.g : I have written a custom form below.. My Query is how can I control validation on a form element. Say in the following textbox named txtPaymentFirstName only Alphabet and space allowed, no special character or numbers allowed , how to do that? Also I want only in the following textbox txtURL, valid URLs will be written, how
Conflict with using 2 of the same Jquery LSliderNews plugin on the same page.
This is the page: http://woundedwarriorsinitiative.com/sponsors.php The bottom one works fin, but when you select the thumbnails on the upper one, it changes the images of the bottom one, instead of its own. How do I fix? I am new to jQuery. This is my run script: <script language="javascript" type="text/javascript" src="lofslidernews/js/jquery.js"></script> <script language="javascript" type="text/javascript" src="lofslidernews/js/jquery.easing.js"></script> <script language="javascript" type="text/javascript"
jqtransform Drop down loses CSS properties if I add multiple="true" to the Select Inputy Element
A site I'm working on uses JQTransform. I need to change the option of a drop down list to allow the user to select multiple options from the list. When I add multiple="true" As in: <select name="example[]" id="example[]" multiple="true" > I lose all the css properties of the drop down box. Is there a work around for this? I googled for a solution but came up empty.....
validate: Message coming at wrong position
Hello, I am new to validate plugin and its working. I prefer the metadata format but in checkboxes the error message is coming at the wrong position. How to fix it ? My code is following: [code]<html> <head> <title>Welcome</title> <script type="text/javascript" src="../js/jquery.js"></script> <script type="text/javascript" src="../js/jquery.validate.min.js"></script> <script type="text/javascript" src="../js/jquery.metadata.js"></script> <script type="text/javascript"> $(document).ready(function()
tablesorter question
Using the http://tablesorter.com/ When my page loads, I'm using a simple tr:last selector to .addClass("lastrow") - which adds a border to the bottom of the last tr in the table. However, when I sort by a column using tablesorter, the border "sticks" with the row - and not the table. Is there a way to have tablesorter to refire the: $("#tableid tr:last").addClass("lastrow"); so that the border gets redrawn on the true last row after sorting?
jQuery Expander & Unordered Lists
Hey everyone, I'm trying out the jQuery expander plugin found here. It works great when dealing with regular text, but behaves a little weird when the slice point is in the middle of an <LI> tag. Any tips/suggestions on how to get this to behave a little more gracefully? Here's what i'd be looking for in order of preference: 1.) Read More on same line as the split list item, and expanding shows the rest of the list items 2.) Change it so we don't split in the middle of a list item, and show the
Validator Plugin callback on Custon Methods
hi, i've this code $j("#form").validate({ debug: false, ignore: ":hidden", rules:{ edtEXP_DT:{ required: true, dateMinor: true, Date30day: { required: { depends: function(element){ if("<?=$DML;?>" == "MM_Insert" && $j("#edt<?=$newarea?>AREA").val()
I need help, Quicksand multiple filter - Help me please.
Hello i need add one filter in this example... For download here a js quicksan ok download here Im add a filter "delta" but, not work.. :( <script type="text/javascript"> // DOMContentLoaded $(function() { // bind dropdowns in the form var $filterAlpha = $('#filter select[name="alpha"]'); var $filterBeta = $('#filter select[name="beta"]'); var $filterGamma = $('#filter select[name="gamma"]'); var $filterDelta = $('#filter select[name="delta"]'); // get the first collection var $applications = $('#applications');
Some problems with the Timeglider Plugin
Hi, I want to use the Timeglider Plugin to visualize a vegatable growing timesheet. Now I need to change the time from year dates to months and I want the headline not on the foot position but on the head. If I change the Divs in the timeglider.timeline.widget.js on line 77 it will destroy the hole timeglider. Is there anybody who can help me? Best regards
jQuery Validate - live submit firing before validation in IE
Hi, Using: jQuery Validate (jQuery Validation Plugin 1.8.0) Browser: IE 8 Code: $('#myForm').validate({ rules: { txtAddName: "required" }, messages: { txtAddName: "Please enter a Name" }, errorLabelContainer: $("#myForm div.validationError") }); $('#myForm').live('submit', function () { alert('firing..'); return false; }); Problem: The live('submit)..
IE issues with Superfish menu
I have created a horizontal superfish menu with horizontal sub-menus. It works fine with the exception of two IE-specific problems, which I hope to get assistance with here. In IE 8, there is a kind of “flickering” when the sub menu pops out. All the sub menu items are moved one or two pixels to the right. This does not occur in any other browser I've tested, and it can be seen very clearly. In IE 7, there is a sub menu issue as well. When the sub menu pops out, all sub menu items displays in bold
jQuery.getJSON calback function problem
hi, I'm using jquery for making a jsonp call for obtaining cross-domain data. The response is coming and I have verified the same from the net panel of the firebug add-on of Mozilla browser. The problem that I am facing is I'm not able to access the response obtained in the callback function. Also, I'mnot being shown any error message for this. The following is the code snippet I have added in the head tag of the html page and I am invoking this makeCall() function on the onload event of the body
Why is an iframe required to post a file upload from jquery forms?
http://stackoverflow.com/questions/155371/xmlhttprequest-post-multipart-form-data/4240940#4240940 certainly gives the impression that at least some browsers allow multipart form data with XHR without an iframe. Is this person just wrong?
Superfish and Oscommerce
Hi Guys I am trying to incorporate superfish into a oscommerce 2.2rc2 website am i am getting there BUT I am having problems with IE I have got it to work Chrome Firefox OK but IE is just a mess, any ideas? see http://188.121.46.152/catalogsgtest2/index.php Phil
problem with php pagination and jquery/javascript
I'm having a slight problem with php pagination and jquery/js. On the following page http://dev2.bluemuledesign.com/athletes.php you'll see an "athlete profile" area. Whenever an athlete photo is selected, javascript/php are used to switch out the athlete info. This works perfectly fine. The problem occurs if I use the left or right arrows to view more athletes (the left and right arrows are set with php pagination to switch to the next four records in the database). Whenever I do this, the athlete
Cycle question (in terms of interacting with Wordpress and jQuery)
Hello, Cycle is awesome! I'm having a technical problem with Cycle/jQuery. I think it is because there are existing jQuery related files within WordPress which are destructively interacting with the standard Cycle/jQuery files I am trying to us. The problem is this: If I try to do a Cycle slideshow on my Wordpress site, there is a blank time space between each slide transition. So it will be like this: show picture #1 five seconds of blank time where nothing is on the screen show picture #2 five
Next Page