How to get an ID of a Div during runtime?
The unique ID of a DIV is automatically generated during run time. Is there a way to get the ID of that DIV?
Scroll text around fixed images
Hello everyone, First post here, I was hoping to find out two things. Is jquery the right language to do this in? If it is, can someone point me to a relevant tutorial or example to get me started? I want the text of my site to flow around a fixed background image while scrolling. Doesn't sound too hard but I can't find anything that will do that. I'm starting to think it may need to be a flash solution. I'ts easy to float the text and some sandbag divs to make the text wrap around the image, but
[jQuery] Displaying reviews using js widgets such as in freeindex.co.uk
Hi jQuery gurus, I have a website where services, software,etc get reviewed. What i want to do is enable users to display reviews in their own websites as testimonials and as extra backlink for me. I am looking for a js widget that can do that. My web application is coded in Java I am looking for a similar solution similar to freeindex.co.uk and here is a website displaying reviews from freeindex: http://www.zest4lifeuk.com/ Thanks
Help with my sidebar, please.
Hi, Id like to know how can I do to click out of the menu and closing my sidebar. I know there are some kinds of click events, but i was trying and I couldn't do it. jQuery. $(document).ready(function (){ $('img.menu_class').click(function () { $('div.the_menu').slideToggle('medium'); }); }); HTML. ... <div id="button"> <div class="fade"> <img title="Más Viajes Argentina" src="side/side-button.jpg" class="menu_class" alt="Más Viajes Argentina" /> <div> <img title="Más Viajes Argentina" src="side/side-button-active.jpg"
[jQuery] Suckerfish/Superfish functionality in article content
Hello, I am working on a music portal site with Joomla 1.5.15. http:// www.mjamusic.com . On the page "MJ's Gear" I want to implement a suckerfish/superfish style menu - within the article content.... I know that this is not the intended use for this so I am wondering if there have been any successful implementations of this concept. The line of text is: Guitars Amplifiers Racks, Peddles & Boxes Speaker Cabinets Microphones Cableing other cool stuff Ideally a user would mouseover a category and a
[jQuery] Problem with jquery tabs on live site
I used jquery tabs on an html mock-up and everything worked perfectly, click on tabs changes them. I then tried to impliment tabs on the live site and there are some differences. First when you click on a tab the tab text is replaced with the words 'loading' and then the whole page is some how loaded into the tab. The content is displayed below the inserted page, but is completely ignored by jquery. What could be the cause of this?
Lay out breaks in IE 7 after a UI dialog is created
I use this code to create a dialog: <div id = 'login_error' title = 'Melding'> <p> <span class = 'ui-icon ui-icon-info' style = 'float:left; margin:0 7px 50px 0;'></span> Verkeerde gebruikersnaam/wachtwoord </p> </div> <script type = 'text/javascript'> $(function() { $('#login_error').dialog({ modal: true, bgiframe: true, buttons: { Ok: function() { $(this).dialog('close'); } }
While clicking tr checkbox should be clicked
I have some problem with this simple script:) I'm using jQuery 1.3.2 When I click on tr, alert says "false". But when I click on checkbox alerts says "true". I need alert to say equal value each time. How to do it? CODE: <table class="b-tech-properties"> <tr id="option-12"> <td><input type="checkbox"/></td> <th scope="row">Аккумулятор Bosch</th> <td class="option-price">350,00$</td> </tr> </table> $(function() { $('.b-options-table input[type="checkbox"]').bind('click', function(event) { event.stopPropagation();
Help getting stated, Jquery and PHP MVC app
Hey all, I am an absolute Javascript/JQuery noob. I have however, seen enough tutorials to get the basics on it and have been able to throw together a short script for submitting a form. Please excuse my code if it's messy, I really don't know javascript (I can read it pretty good though). Anyways, I have a basic script written to use a bit of ajax on my form. Note that I am using a PHP MVC app. I wanted to send the request to a method in my app, but it fails every time I try. I can however
[jQuery] Dialog buttons for closing
i am having problems with the buttons used to close the dialog. sample with dialog: http://www.roxstyle.com/projects/blssi/cms/de-tool-v3/proj-awards.html on this wireframe, if you click " Award" a form opens. In the form, if you click "Select Project" the jquery ui-dialog opens. there are two areas that have buttons for potential closing the dialog, plus the icon in the top right. I can not figure out what class, or function to add to these buttons to have them close the dialog. I can not use the
[jQuery] can anchor tag be used in jquery to define areas
What I mean is, in normal HTML if you have a link to go to the top of the page you write <a name="top" id="top"></a> ..... .. <a href="test.html#top">go top</a> When you type in your browser http://localhost/lab2/class2.html#top it takes you to the top of the page. This way you can also go to the specific area in other pages too. In jquery if you have such areas that are in a different page, how do you trigger your click function to work? or can the anchor tag be used ? Thanks
jQuery selectiors in AJAX response
Hi all, The result of an AJAX search is HTML code. How could I use a jQuery selector in the result, or create a jQuery object from it? doc = window.document jQuery.ajax({ type: "POST", dataType: "html", url: "foobar", cache: false, error: function (XMLHttpRequest, textStatus, errorThrown) { alert("Error occured textStatus=" + textStatus + " errorThrown=" + errorThrown); }, success: function(data) { jQuery('body', doc).append(jQuery('#something', data).html()); } });Thanks!
[jQuery] 2nd Trigger for images hover function
I recently implemented the Image Cross Fade Transition http:// jqueryfordesigners.com/image-cross-fade-transition/ It works great, and I'm hoping to add to the code to enhance the functionality. Currently, if I hover over the image, it runs the cross fade transition, which I would like to keep. I have another div on the page that I would like to trigger the first instance when hovered over as well. Is there a good way to add this? Here's what I'm using for the first instance: $ document .ready function
Help needed to create a sprite animator script (animated PNG)
Hi, I would like to create a sprite animator using Jquery in order to create animated PNGs. A sprite is a group of images "glued" together to make a large one. We create the illusion of movement while moving into that big image in a smaller div (with overflow set to "hidden") used as a mask. For exemple, I glued together 60 png images organized into 4 columns and 15 rows. That big image is 400 pixels large and 3000 pixels long (so each images into that sprite is 100px x 200px) First I have to create
[jQuery] How to be able to preload jquery contents into hidden tabs for ie browser
The problems im facing is when I use something like jcarousellite inside tabs. It works fine in browsers other than ie. In ie, the carousel loads fine in the active tab, but in the inactive ones it doesnt preload. Basically when you click on a previously inactive tab, it displays nothing until you click outside the tab. I have narrowed down the problem to this: My tabs use a css style where the inactive tabs set the display to none. This somehow in ie causes whatever jquery that is contained within
[jQuery] Superfish IE6 dies with opacity CSS attribute
I have experimented in a variety of ways, and when I use the opacity CSS attribute, it kills the next level of the menu in IE6, FF as always no prob. Thus, when I had the CSS opacity code to <ul>, <li> does not appear. If I add it to <ul><li>, then the second level <ul><li> <li> does not appear. The menu's next level does not slide down, or out... E.g. I am adding: .sf-menu li li { filter: alpha opacity=80 ; } to the Custom CSS field in the Joomla mod_superfishmenu module. I am using jQuery 1.2.6
[jQuery] Extracting content from a div?
Hi, I need to try and extract the following from a STRING not the current page ; <div class="error"> <ul> <li>Gast Email der Rezension kann nicht den Wert 'undefined' speichern.</li> </ul> </div> How would I do this? I had a look on google, but all they seem to be talking about is extracting from the current page, which I don't want : TIA! Andy
[jQuery] How to apply limits to an animation
I am very new to JQuery but so far very happy with ease of use. I have created a series of thumbnails that slide as the left, right buttons are clicked: http://www.lisaauer.com/jquery_imageslide/ I want the images to slide left or right only so far that there are always images filling the slide div and then stop. i.e. no white space. Or, Create a loop of images such that they keep repeating. Any assistance appreciated. Please remember you are talking with a novice! Thanks.
[jQuery] Ajax forms help
I need some help with a form. I submit the form fine, my problem is depending on the success or failure of the form being saved. I will try to explain as simple as possible form is in its own div <form here ..... > <div target> saved data will appear here</div> So what I need is i guess json success true or false response from the form being saved or not then in my success success: function response { // Response was a success if response { //update my target
Ajax forms help
I need some help with a form. I submit the form fine, my problem is depending on the success or failure of the form being saved. I will try to explain as simple as possible form is in its own div <form here ..... > <div target> saved data will appear here</div> So what I need is i guess json success true or false response from the form being saved or not then in my success success: function response { // Response was a success if response { //update my target
[jQuery] Reverse Xpath of a Node
Is there a simple way not multiple parent and counting prevSiblings to know which is the XPath of and element selected by a click like firebug ?
[jQuery] Carousel outbound links not working in IE 6 and 7
Hello. We're having problems here and would be most appreciative of any help at all please. On this site: http://64.202.116.174/~jonasmus/dev/index_copy.php we have a carousel. Some of the items have external links that appear on the status bar but in IE 6 and IE 7 the links do not function. There doesn't appear to be any JS errors. Thanks for any help! Dave
How to find what cause the Invaild argument in IE for JQuery gzoom plugin
hi, there. I found a very nice plug in for image zoom and pan effect. But when I use it I find out this script cause Invaild argument error in IE7 and IE6. So I am wondering, does any one know where the error is and how can I fix that ? There is the link of the JQuery gzoom link JQuery gzoom thanks a lot
[jQuery] (treeview) Need help with Treeview pre-1.4.1 and jquery.treeview.edit
Hello, at first I can say that Treeview is a great jQuery plugin! I use the plugin a lot and have some questions now. I found a newer Version "pre-1.4.1" here: http://view.jquery.com/trunk/plugins/treeview/jquery.treeview.js Demo: http://view.jquery.com/trunk/plugins/treeview/demo/ Is this version still in development? Very interesting in this version is the possibility to add and remove a node. These features was added in the file jquery.treeview.edit.js: http://view.jquery.com/trunk/plugins/treeview/jquery.treeview.edit.js
[jQuery] Superfish Move sub items
Hi, I'm using Superfish menu system on my website and I am attempting to move the sub items across, but when I put a margin-left on it, it moves both the sub items and the sub sub items. How can I have only the sub items move?
[jQuery] Optimized jQuery
Hey, I've got a website in which I've put in some elementary jquery code, and when tested on internet explorer 8, the animations slow down exponentially. I'm relatively new to coding, and I read here: http://old.nabble.com/jQuery-too-slow-on-IE!!!-td23504287s27240.html that it could be my code. While I generally dislike internet explorer, I feel it is necessary for my site to work smoothly with IE. My site is calxanime.com Sign in with this information so that you can view the theme that I'm having
[jQuery] Superfish - any way to change the color?
Hello. Ive just got the Superfish mod for my site but the blue color dosnt look good with the design on my page and makes it impossible to read the text in the menu, any way to change the color of the menu to red like the old menu at http://medielinjen.pgu.dk/joomla youll be able to see how the menu look at the menu point Arrangementslisten - http://medielinjen.pgu.dk/joomla/index.php?option=com_content&view=article&id=122&Itemid=63 Best regards Zeebaah
[jQuery] Easy way to do this in jQuery?
Hi everyone, I've just started using jQuery and so far I'm impressed with the power and simplicity of it. At the moment I'm looking for a better way to do the shape dropdown selector on http://www.drugs.com/imprints.php. It's currently done with a bit of ddrive and some custom code, but I'd rather use a jQuery plugin if I can find one. Can anyone point me in the direction of a good plugin that will do this? Thanks Nick
OOP and custom events
Hello There, I am new to JQuery but come from a Flex background, and I am struggling with events in jQuery. I have the impression that events in jQuery are all bound to the dom. So far all examples I have seen bind to a dom element as in: $("p").bind("click", function(e){});I would like to dispatch and recieve events between OOP style classes as in: function MyClass() { $(this).bind("onsend", $(this).recieved); } MyClass.prototype.send = function(){ $(this).trigger("onsend"); } MyClass.prototype.recieved
[jQuery] Generating a CSV of values from a bunch of Checkboxes with same id
Hi, I'm using this piece of code to find a set of selected check boxes that are selected abd build a comma separated list from their values 'txt' custom attribute . Is this a jQuery standard method? e.g <input type="checkbox" id="chkGenre" rel="genre" value="12" txt="Rock" /> <br /> <input type="checkbox" id="chkGenre rel="genre" value="13" txt="Jazz" /
[jQuery] jquery.stylish-select.js - problem in Internet Explorer
I'm using Jquery's "Stylish Select" plugin to replace a dropdown box in a form ie: "Facility Type" : http://www.coverall.com/cnaws/quoterequest.aspx Although it's working fine in both Firefox and Safari, .. I'm having a problem with it in IE 7/8. The first problem that I'm having is that I'm getting a strange Javascript error message when I click on and try to select one of the options in the dropdown box: Message: 'length' is null or not an object Line: 172 Char: 17 Code: 0 URI: http://www.coverall.com/cnaws/WebResource.axd?d=w7y_20eVwtqkECBvGtTXhctz7tfIr5GP58PmekFUdQI1&t=633700576732852734
[jQuery] SimpleModal (probably something really stupid)
I am using the jquery simplemodal code to display a div on a page. I am pretty much calling .modal ; on the div, which has a class on it, and I'm styling up that class - some issues though: 1. How do I add a close button. Have seen that I can add a closeimg style - but I can't get anything with this class to appear. I figure I need to set the closehtml property to something but haven't figured out what. As this is embedded in c# I might have stuffed up my string escaping. string termconditions =
[jQuery] Superfish
Alright, so I have a Superfish menu with a rotating flash banner rotator. When I highlight over my menu item that has sub items, it goes behind the flash instead over top of it. Is there a way to correct this issue?
[jQuery] Validation Plugin
People enter an address to lookup on a google map, this makes an asynchronous call and will either return a lat/longitude or not. if not, i want to display an error to the user that an address could not be found. How do I go about this? I've not managed to get it working using the remote attribute as I really need to call a client-side js function which will in turn make the async call. Any suggestions? Regards, Rik
[jQuery] Link override problem
I posted an explanation of my problem on devshed - I think it will be easier to understand there because of the formatting. If this is an issue let me know and I'll post here. http://forums.devshed.com/javascript-development-115/jquery-question-666562.html Thank you
disable specific radiobuttons in a .Net radiobuttonlist
Hi, I'm trying to disable and reenable certain items in a .net 2.0 radiobuttonlist using jquery. I have 3 tabs which control which radiobuttons are enabled or disabled. when tab 1 is clicked I disable radiobutton 2 like: $("#ctl00_cphMain_cblStatus_2").attr("disabled", false); when I want to re-enable radiobutton 2 neither of these 2 methods seem to be working: $("#ctl00_cphMain_cblStatus_2").attr("disabled", false); $("#ctl00_cphMain_cblStatus_2").removeAttr("disabled");
Autocomplete help
I've barrowed some code http://jquery-ui.googlecode.com/svn/branches/dev/tests/visual/autocomplete/remote-jsonp.html. I'm trying to access other portions of the JSON repsonse AFTER a user selects an item from the dropdown autocomplete like item.countryName. I ultimately want to set this data to a hidden form field so that I can submit the form and process the information. Any help is appreciated. Thanks!
Superfish License
Hi, I was hoping to use your code in a commercial Wordpress theme I intend to sell in an online marketplace. Is that OK? I can't find a license, so I assume its OK to use commercially, but I wanted to check with you. I'd be glad to put a link to your site in the code, and even place a small donation. Thanks for the great code! Shaun
[jQuery] Superfish showing problems in IE7
Hello there, I am using Superfish for some Joomla websites. I face problems on the following sites an hope that you can help me out with it: http://stophersentumoren.woosh.nl: 1. When hovering on a list item that has children, the item appears to become smaller the chaniging background color moves to left a little bit and does not cotain teh full arrow-image that should be in it . 2. The menu gives problems showing the left column of the website the header-text disappears as well as the text of the
[jQuery] Superfish Nav-bar Joomla issue
I'm using the superfish module for joomla 1.5 all options except Nav- bar seem to work fine i have a fix menu area width 705px the 1st and 3rd levels are fine however the second level does not fill the entire 705px and instead folds into a 3rd line any ideas on how to get it to fill out the width?
Next Page