Aha, thanks for trhe extra info!
Some other things are clear to me now!
Thanks again!
On Jan 6, 9:17 pm, Scott Sauyet scott.sau...@gmail.com wrote:
On Jan 6, 2:17 pm, knal knalp...@gmail.com wrote:
BTW It also works without the return this.each() { part!
Yes, but that allows you to
I have now generated a static copy of the web page containing the
autocomplete dropdown html code (the div in the bottom of the page).
When I load this into IE7 there are no problems. It only fails on the
active page.
On Jan 6, 3:39 pm, Rune a...@rdfined.dk wrote:
Hi
I use autocomplete newest
Your css probably conflicting with autocomplete plugin's some css/ css class
names..
Check carefully...
--
http://ranacseruet.blogspot.com/
Hi,
I have witten the following lines of code:
var s=document.createElement(script);
s.type=text/javascript;
s.src=http://api.intensifier.de/js/show_ads.js;;
$(script:contains('era_layout')).after(s);
After the ebay-script with the era_vars, the intensifier-script should
be includet.
syntax a: not working, but its what I have in mind.
$('.del').click(function(e){
e.preventDefault();
$.post('?= site_url('play/img/del') ?',
{ori:
syntax a: not working, the parent of current element not being removed
$('a.del').click(function(e){
e.preventDefault();
$.post('/img/del.php') ,
{'img': img },
Sweet! Thanks for the help!
Hi there,
I want to construct an imageslider myself but i can't find the right
method to iterate over my array of images.
The array is grabbed from div#images which only contains images.
Roughly the content of my function looks like this:
$(.next).livequery( 'click', function() {
$(
Hi
Thanks a lot - The problem was indeed in a css stylesheet but wasn't
related to any conflicting names. Instead we have a specific IE7-
instruction which looks like this:
body { height: 100%; overflow-y: auto; }
Autosuggest seems to be incompatible with the overflow-y: auto
property and
if you didn't change ANYTHING, it's possible one of the libraries you
are including added another JS library like scriptaculous that is
messing up your $ reference.
When you make an AJAX call, what this references changes
$('a.del').click(function() {
var $parent = this.parent(); //i assume you want the parent of
the a
$.post('/img/del.php') ,
{'img': img },
function(){
if (e.status == 'deleted') {
Hello,
My site is loading very slow with all js files imported, so I
putted all in one single file. I have a question. I have some file
that I think I don't need it. I'm loading this files:
jquery-1.3.2.js, jquery.bgframs.js, jquery.ui-1.7.2.custom.min.js,
ui.core.js, ui.draggable.js,
Joel,
Thanks for a great module. Everything seems to work well except I
can't get the submenus to hide with the Suckerfish effects. All
submenus are displayed with no mouseover. I must be doing something
terribly stupid because no one else seems to have this problem!
Forgive my dumb question,
Hello everybody!
I'm trying to use a custom method for validate one of my input's form,
but no way.
Neither the 'additional-methods.js' included in the plugin pack work
for me Seems to be ok, but no idea.
This is a resume of my code:
-JAVASCRIPT-
script type=text/javascript
Joel,
I forgot that on my site I installed SC jQuery, because that's the
only version I found for Joomla. Is that OK, or do I need a different
version?
jQuery 1.3.2
jQuery Autocomplete plugin 1.1
I would like to
- keep the suggestion list when user click outside the text field.
- hide the suggestion list when user select item from the suggestion
list
I found a possible way, remove these lines of codes
if (!config.mouseDownOnSelect) {
None of those are redundant, but three tips:
1) make sure you are using the minified versions in the production
enviroment
2) if you are really going to put the files together, which will be
minimal gain, make sure that each and every section ends with a semi-
colon, so the code doesn't get run
None of those are redundant, but three tips:
Actually all of the individual jquery UI files are redundant with
jquery.ui-1.7.2.custom.min.js if that download was configured
properly. Try with just these three: jquery-1.3.2.js,
jquery.bgiframe.js, jquery.ui-1.7.2.custom.min.js
Hi Erik,
I'm not really sure about speed, and I can't speak about Unix (I'm a Windows
developer), but one thing I can tell you about relative paths vs. absolute
paths is relative paths will allow the site to be moved easily.
For example, if you develop the site on one machine, test it on
I am a total newbie when it comes down to Jquery, still in the
learning process.
$(document).ready(function(){
$('#top-bar-login li.current').hover(
function() { $(#top-bar-login ul).css('display',
'block'); },
function() {
Erik R. Peterson wrote:
Hello everyone,
Someone wants me to use FULL DIRECTORY PATHS for every page and script for a website I just
completed. I argued that it would slow down the website for users... I prefer relative paths such
as /src/ and /img/.
Am I wrong to say this?
Is there really
Someone wants me to use FULL DIRECTORY PATHS for every page
Assuming you're generating your html on the back-end, just use a
variable for the base URL and no worries.
Stict with UNIX through the learning curve and I guarantee you'll
never go back, at least not voluntarily. :)
Nathan
Hi,
I have problem with jquery, when I do a append() call to in a post()
call internet explorer still not print the append()...if i write the
same result out of the .post() still work with no problemany
ideas? this problem is killing me xD...I hate internet explorer but
here at work some users
Euh... oke and in what way do i implement that? Can you give me a
example?
Thanks for the reply btw :-)
On Jan 7, 1:01 am, brian zijn.digi...@gmail.com wrote:
$target.css('...')
Or, better:
$target.addClass('SomeClassName');
Thank you very much, worked as intended :)
On 2 ene, 15:18, aquaone aqua...@gmail.com wrote:
You need to trigger the update event for the table for tablesorter to
rebuild the cache. At the bottom of your .delete_button click function, add
$(#shop_list).update(); and it should fix your
oh yeah, the custom has the functionality built in... i was thinking
core.. my bad
On Jan 7, 9:18 am, Mike Alsup mal...@gmail.com wrote:
None of those are redundant, but three tips:
Actually all of the individual jquery UI files are redundant with
jquery.ui-1.7.2.custom.min.js if that
Hi I have a weird problem using the form plugin on a login page on my
site, the form html is:
form id=form_login name=form_login method=post
enctype=multipart/form-data action=dologin.php
Form elements.
/form
I'm using dologin.php to check the login and password on my DB if the
login
Im trying to remove parent of a at the click event, and the function
remove needs to be within the if statement.
Hey, I'm using the JQuery cycle plugin (http://malsup.com/jquery/cycle/) and
I have images set to auto-scroll horizontally. The plugin automatically
eases the slides (I've tried turning easing off), and I'm wondering if
anyone knows of a way to get them to just continually move horizontally
Thanks for help, with your suggestion, I made it work.
That works in IE8, but in FF 3.5.3 I get undefined in the alertbox.
I've disabled adblock and flashblock, so its not those interfering. I
dont get anything in the error console either.
The code I had posted earlier doesn't work in FF 3.53 either. I'm
accessing it by running it on my desktop with
In my footer I have a sign where I want it to say one thing regularly,
and then when someone hovers, i want it to say sometyhing else. I
basically made 2 images, and I just want to switch images on the
hover.
here is my code I used and its not working.:
$(#footer #footer-contain #availability
$(this).attr({'img src' : './images/avail_hover.png'});
there is no img src attr, but there is src, so
$(this).attr('src', './images/avail_hover.png');
and there's a second event to hook on the .hover event is when you
mouse off, so use that event to revert back to whatever image was
there
On
Unfortunately that didn't work either. Is there another approach that
I should be taking on this?
On Jan 6, 3:20 pm, Johan Borestad johan.bores...@gmail.com wrote:
I think you just forgot the last brackets on your hover method:
$(div.tvbutton).hover(function () {
Hello everyone,
I'm trying to submit the form normally as well as by pressing
Ctrl+Enter. Yepp, the same task.
What I'm doing is the following:
var validator=$(#myform).validate( {
// tralala, here go the rules, error
I have it now set up like this:
$(#footer #footer-contain #availability img).hover(function () {
$(this).attr('src', './images/avail_hover.png'});
}
it still isnt working. I orig. had it set as src. but nothing seemed
to be working then so i messed around and changed
The click method has only one argument - the funcion that is going to
be executed on every mouseclick.
Also, you can use the show and hide methods as shortcuts for
manipulating the display property.
The toggles method toggles the display property between the states
hide and show.
Perhaps the path to the image itself isn't ./images ?
Other than that,maybe some more code to show or better yet a live, non-
working page..
Rest assured the hover event does work, and the way to set an
img's source is $(this).attr(src) ... there's something else not
does the attr function change the img source or does it add it in?
Perhaps I need a different function to do it? is that possible?
i am going to try to add a the remove attr function first, then run
the current one and see if that works...
On Jan 7, 12:25 pm, MorningZ morni...@gmail.com wrote:
Can we keep different color for different menu items . If yes Can you
please tell me how to do it.
it changes it
http://docs.jquery.com/Attributes/attr#keyvalue
attr( key, value )
Set a single property to a value, on all matched elements
going a different direction isn't the solution, something else is
wrong.
and your current one of img src as an attribute name is not going
to work,
var $target = $(this.hash);
$target.addClass('SomeClassName');
...
On Thu, Jan 7, 2010 at 10:02 AM, metalmini metalm...@gmail.com wrote:
Euh... oke and in what way do i implement that? Can you give me a
example?
Thanks for the reply btw :-)
On Jan 7, 1:01 am, brian zijn.digi...@gmail.com
I put up my site quickly here: http://www.glenhealy.com/
the image should be at the bottom in the footer, if you can view the code,
maybe you can see what the deal is?
i used the exact code used in the example so there has to be a file issue
On Thu, Jan 7, 2010 at 12:44 PM, MorningZ
Can somebody tell me how I can Unsubscribe to the mailing list Please!
_
Got more than one Hotmail account? Save time by linking them together
on the right of your screen go to edit my membership
On Jan 7, 1:01 pm, Darren Bernard darrenbernard...@hotmail.com
wrote:
Can somebody tell me how I can Unsubscribe to the mailing list Please!
_
Got more than one Hotmail
Hey, I'm using the JQuery cycle plugin (http://malsup.com/jquery/cycle/) and
I have images set to auto-scroll horizontally. The plugin automatically
eases the slides (I've tried turning easing off), and I'm wondering if
anyone knows of a way to get them to just continually move horizontally
ready to know what a major problem is??
your script.js is:
$(document).ready(function() {
// do stuff when DOM is ready
$(#footer #footer-contain #availability img).hover(
function() {
$(this).attr(src, ./images/avail_hover.png);
},
Hi,
I have a question about css. I want to dump out all css attributes and
values of a UI element, how to do that in jQuery?
Thanks in advance,
John
jQuery group,
I've been using jQuery for my website, and have come up against an
obstacle. My page dynamically loads comments from DISQUS, and as a
result the comments take a few seconds to load. I need to make some
jQuery code that runs a function once the comments (which are of class
The following javascript works just fine when called from Firefox, but
IE 6.0.2900 chokes when it sees it:
$(#data_entry).load(myurl);
html ---
div id=data_entry
/div
The exception I'm getting is:
Exception line 1642
Error: Exception thrown and not caught
I'm quite new to jQuery.
here's your exact code working
http://jsbin.com/aguji/edit
http://jsbin.com/aguji
On Jan 7, 1:34 pm, MorningZ morni...@gmail.com wrote:
ready to know what a major problem is??
your script.js is:
$(document).ready(function() {
// do stuff when DOM is ready
$(#footer #footer-contain
wow. thank you for your patience with me lol. This jquery is cool and
all just a little stressful at times.
thanks again for your help
On Jan 7, 1:34 pm, MorningZ morni...@gmail.com wrote:
ready to know what a major problem is??
your script.js is:
$(document).ready(function() {
//
Here is another question if you have the time,
now that the image changes on hover, can I add a fade animation so
that it fades to the hover image as opposed to switching back and
forth? or would I have to create a whole new function?
On Jan 7, 1:38 pm, MorningZ morni...@gmail.com wrote:
here's
Hi,
I have a dropdown which diplays a companyname with 4 hidden inputs.
these hidden input values are set in text boxes on selected index
change of dropdown.
like this
var sourcedropdown = $(e.target).parent().parent().children(:nth-
child(7)).children().eq(0);
On Thu, Jan 7, 2010 at 11:04 AM, Andre Polykanine wrote:
var validator=$(#myform).validate( { snip });
$(document).keydown (function (e) {
if (e.ctrlKey e.which==13) { validator.form(); }
});
then I'm trying to submit. If I do something wrong (for example, leave
a required field blank)
Figured it out. The problem is, in fact, with the easing. Cycle has a default
easing set, but setting it to 'linear' fixes it and makes the entire thing
smooth.
malsup wrote:
Hey, I'm using the JQuery cycle plugin (http://malsup.com/jquery/cycle/)
and
I have images set to auto-scroll
Figured it out. The problem is, in fact, with the easing. Cycle has a default
easing set, but setting it to 'linear' fixes it and makes the entire thing
smooth.
Hmm, nice.
I have a modal form that I want to validate.
The modal is based on the simple modal plugin and the validation is
based on validation plugin.
The validation works well on a regular (non modal) form. ANy ideas?
script type=text/javascript
jQuery.validator.addMethod(zip, function(value,
like so?
http://jsbin.com/amuma3/edit
http://jsbin.com/amuma3
On Jan 7, 1:45 pm, Glen_H glen.f.he...@gmail.com wrote:
Here is another question if you have the time,
now that the image changes on hover, can I add a fade animation so
that it fades to the hover image as opposed to switching
no more like a slowdown in the transition between the images. hope that
makes sense. lol. Like if you move over it now really fast it is twitchy
im thinking what if it were possible to add like a ms or 2 to the actual
hover effect and they will blend more.
instead of fading out they fade into one
at first glance, you may be expecting the :hidden selector to work
differently than it actually does:
http://docs.jquery.com/Selectors/hidden
the original implementation, before 1.3.2, checked for either
display:none or visibility:hidden, whereas the new implementation
selects elements ...if it
I'd suggest reading through this blog post:
http://jqueryfordesigners.com/image-cross-fade-transition/
On Jan 7, 2:14 pm, Glen Healy glen.f.he...@gmail.com wrote:
no more like a slowdown in the transition between the images. hope that
makes sense. lol. Like if you move over it now really fast
I am using v1.3.2.I can't show the test page because i'm using
localhost. the generated html of that div is given below.
---In IE---
DIV class=ws_c7 sizcache=18 sizset=9 nodeIndex=7
jQuery1262891096843=258
SELECT id=source0 name=source sizcache=18 sizset=9
jQuery1262891096843=259
OPTIONSelect
Actually this line
$(sourcedropdown).append($('input type=hidden id=hid'+leftval
+' /').val(rightval));
is not working in IE.. any alternative?
On Jan 8, 12:46 am, CreativeMind aftab.pu...@gmail.com wrote:
I am using v1.3.2.I can't show the test page because i'm using
localhost. the generated
I resolved the problem by just removing $ from input type. means,
appended string rather a jquery object and it works in ie and ff.
thanx
On Jan 8, 1:01 am, CreativeMind aftab.pu...@gmail.com wrote:
Actually this line
$(sourcedropdown).append($('input type=hidden id=hid'+leftval
+'
I was curious if there was a way to hit the current xhr object in the
success callback. I've been tinkering with it, and have been unable
to figure out how to do that.
The reason I ask is because I am trying to debug an application I've
been working on, and sometimes the response XML is not
Hi,
I am fairly new to jquery, jquery validation and competely new to
JSON. I was wondering if anyone could provide or point me to an
example of a use of the remote method of the validation plugin that
can display the error message returned by the remotely called php
file.
I have an input field
Superfish is a jQuery plugin for progressive enhancement of suckerfish-
style HTML/CSS drop-down menus. It can be found at
http://users.tpg.com.au/j_birch/plugins/superfish/
The original Superfish plugin used jQuery's hide() method, which sets
an inline css attribute of display: none on the
I was curious if there was a way to hit the current xhr object in the
success callback. I've been tinkering with it, and have been unable
to figure out how to do that.
No, but you can access the xhr in the 'complete' callback.
I have done a lot of searching for this answer but I can't quite find
what I am looking for. I have a form with multiple fields - name,
address, email, etc. When you make a field required or email you can
specify the message to appear in a text summary or as text next to the
field. What I would
hi,
i'm appending a child div in a parent div. parent div has already
child div's which have classes ws_c1 and plus.
$('div/div').addClass('ws_c1').addClass('plus').appendTo($
('#'+'parentdiv'+counter));
but when i try to do this
$(.ws_c1.plus).click(function() {alert('test');});
It works on
I don't get any error. Have you fixed it since posting yesterday?
-- Scott
http://docs.jquery.com/Events/live
On Thu, Jan 7, 2010 at 2:01 PM, CreativeMind aftab.pu...@gmail.com wrote:
hi,
i'm appending a child div in a parent div. parent div has already
child div's which have classes ws_c1 and plus.
$('div/div').addClass('ws_c1').addClass('plus').appendTo($
As suggested by Steven, set the ContentType to text/xml. I don't
know how to do it in php, but here is the snipped from data source in
c# .
StringBuilder sb = new StringBuilder();
sb.Append(?xml version=\1.0\ encoding=\UTF-8\?);
sb.Append(Response);
The easiest way to do that is simply make the background to that area black.
Then the white text shows up no matter what. It would eliminate the need to
do extra work with scripts.
DED
On Tue, Jan 5, 2010 at 5:09 PM, annie anne.03gr...@gmail.com wrote:
I'm very very new to jquery so please be
Well the xml file is not on my server, but I'll try to shoot them an
email and let them know, they should set the headers.
On Jan 7, 4:44 pm, Jules jwira...@gmail.com wrote:
As suggested by Steven, set the ContentType to text/xml. I don't
know how to do it in php, but here is the snipped from
see here:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F
http://docs.jquery.com/Plugins/livequery
Essentially, you either need to deal with this in the load() success
callback or use live(). However, i can't remember if live() works for
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
bump...
West415 wrote:
Hi,
I have a page where users can drag and sort a set of divs. Each div is
like a widget and the code below allows you to move divs around pretty
easily. The problem for me is I want to somehow store and retrieve the
position each div is in so when the page
West
The way that I was doing it was to store the HTML into the database.
Once I get to work I can get an example if you would like?
Thanks
Chris Owen
Sent from my iPhone
On 8 Jan 2010, at 06:52, West415 malik.robin...@gmail.com wrote:
bump...
West415 wrote:
Hi,
I have a page where
Hi, I'm sorry if this question has already been asked, but I searched
for the term 'create element' on the jQuery Google Groups and didn't
find the answer. I basically want to create html dynamically and be
able to add it to my webpage. Suppose I have the following html:
html
body
pThis is the
81 matches
Mail list logo