I guess you could just put an absolutely positioned div with a 100%x100%
transparent gif/png over your image, but it's my opinion that any kind
of image protection is useless, and usually easily defeated by just
dragging the image out of the cache folder.
I personally think it's a waste of
i make a copy in folder of the original superfish.js which i have in
the server and i download the patch that was in the page:
http://plugins.jquery.com/node/3967
i did what it said there patch superfish_firstOnClick.txt but it
gave me this result (i use linux):
patch
What RobG said. Standard way to do that:
function test(options){
var defaults = { test: '' };
options = jQuery.extend(defaults, options);
alert(options.test);
};
test({test: 'It works!'});
You can also simply skip the defaults var and use jQuery.extend
({ test: '' }, options);
This could help: http://jquery.bassistance.de/autocomplete/demo/json.html
Jörn
On Fri, Jun 26, 2009 at 2:11 AM, Jaikitjktsa...@gmail.com wrote:
Hello Doc,
Can I get example which uses jquery autocomplete which fetches json
data using webservice.
I am not able to figure it out myself.
http://loopj.com/2009/04/25/jquery-plugin-tokenizing-autocomplete-text-entry/
On Fri, Jun 26, 2009 at 3:37 PM, Jörn Zaefferer
joern.zaeffe...@googlemail.com wrote:
This could help: http://jquery.bassistance.de/autocomplete/demo/json.html
Jörn
On Fri, Jun 26, 2009 at 2:11 AM,
yes,
On Fri, Jun 26, 2009 at 3:24 AM, Charlie charlie...@gmail.com wrote:
did you look at the tutorial i posted earlier in this thread
*submit-a-form-without-page-refresh-using-jquery ?
*it even has a source code download
*
*
bharani kumar wrote:
Hi all,
for example am saying
being able to see the problem and debug in browser would help, can you
post link?
Caleb wrote:
What I have works perfectly in every browser but IE 6 and 7. The issue
I have is not with the CSS ... I think. I'm unsure because I'm a
jQuery and Superfish newb.
The menus drop down as
Perfect, thank you all.
Luis
I've seen this effect in Flash and am hoping to produce it in jQuery
(that ought to get the juices flowing)...
I have a list of events ordered by date. I want the accordion to
display the event's name and when clicked, open to reveal event
details. Viewers will usually be interested in 'middle
Hi,
I am using following Jquery for thickbox
a href=login.html?height=285width=550modal=trueTB_iframe=true
class=thickbox title=Please Sign Inlogin/a
That i got from http://jquery.com/demo/thickbox/ Page...Problem is
after entering into login.html i need to check user and password in
http://rolexrankings.com/en/rankings/?help
It went live last night. I'll be rolling out a bunch of updates over
the next couple of weeks. At the moment I already do something very
much like your worst case. Once you've checked the tenth checkbox the
remaining unchecked checkboxes on the page
there's a lot of variable interpretations of your concept ( at least in
my mind). First one is define scroll- scripted scroller vs manual
scrollbar?
one big variable that comes to mind is how to determine "middle of
list"? If list size is consistent it's obviously easier to suggest
solution
The things is $('#my_table').cache was the first thing I tried, but I
just get 'undefined' for that ...
On Jun 25, 11:10 pm, paulhagstrom hagst...@bu.edu wrote:
I worked on something related to this like a year ago, I don't
remember all that much about what I did. However, looking back at the
Hello Everybody,
I am not sure I have explained well enought what I mean.
I found very difficult to call a method outside his scope.
For example I have 2 files js
myFunction.js
init.js (where I initialize all my page)
[init.js ]
// JavaScript Document
$(document).ready(function(){
Trying to get the Superfish menus to work in vertical mode, whereby
each list item is a single line, and the next menu down sits to the
right of that menu.
For normal horizontal menus you use the Supersubs option when you call
Superfish, but the superfish-vertical.css you need to make the menus
Hello,
i'm trying to build a page where i have some buttons on the right side
that slide in some panels over my main content div.
At the moment i have something like this:
script type=text/javascript
$(document).ready(function(){
$(#btn-slide1).click(function(){
Hi all !
How to make mailto links clickable if html returned formatItem?
Hi
I am trying to send with getJSON a very long string as parameter:
$.getJSON(/ajax.php,{id:myid, thetext:mytext},myAjaxResult)
where mytext - is value from my fckeditor.
If mytext value is not so long, everything is going fine, but if it
become a very long, getJSON doesn't work.
How can I
Further to this, my real application is hanging the browser, and I
don't know how to find out what is wrong :-(
I have tried it with IE8, Firefox, Safari and Chrome - the browser
always hangs at some point.
Any suggestions what to try next would be very gratefully received.
On 25 June, 20:57,
I see your point and will be back with something later...thx for the time
On Fri, Jun 26, 2009 at 4:43 AM, Charliecharlie...@gmail.com wrote:
there's a lot of variable interpretations of your concept ( at least in my
mind). First one is define scroll- scripted scroller vs manual scrollbar?
one simple way is use absolute position on panels
dwilhelm wrote:
Hello,
i'm trying to build a page where i have some buttons on the right side
that slide in some panels over my main content div.
At the moment i have something like this:
script type="text/_javascript_"
I have this hover function and outside this i am setting all the
variables etc everything works but when I test on IE yes that old one,
is gives me the wrong reading and hence does not function, so to get
over this I have to put in the variable within the hover function.
any ideas how to combat
did you try using ajax load instead of iframe? redirect in success
function
anjith wrote:
Hi,
I am using following Jquery for thickbox
a href=""
class="thickbox" title="Please Sign In"login/a
That i got from http://jquery.com/demo/thickbox/ Page...Problem is
after entering into
You could put the image as the background to a div, and add a
transparent gif as the image source, 100% width and height of the div.
You can also disable / control the right-click using jQuery.
But as others have stated, the image will still be in the browser's
cache on their hard disk, so
You're checking the css attribute : height
$container.find('div.listContainer ul').css('height');
If that's set to auto, then that's what will be returned.
What you want is the ACTUAL height.
$container.find('div.listContainer ul').height();
L
simon wrote:
I have this hover function and
its not always practical to post a link. The stuff im working on is
offline for now. including database and php files. but thanks for all
the tips.
Charlie - thanks so much for these few words:
All height is resultant of padding on inner most tag which is a
tags, line 119 of superfish.css
That was so EASY!!!
Really appreciate it.
John
thanks for tthe reply for got to say, before this I was finding the
height out of my UL by going through all th eli heights then adding it
to the ul
// find the height of each li and add it to the total
$listItems.each(function (i){ ulHeight += parseInt($(this).css
('height'));});
// once total
Hum, sorry not on top of my head.
I'll try your code when I get home.
..fredrik
On Jun 24, 6:39 pm, jogep joh...@googlemail.com wrote:
when I try your code the form will still executed twice.
The Alert tells me 1 closest form .
Any other Idea?
Thank You
Johannes
Thanks did that and seems to be fine many thanks
Si
On Jun 26, 2:38 pm, simon si...@uvfx.tv wrote:
thanks for tthe reply for got to say, before this I was finding the
height out of my UL by going through all th eli heights then adding it
to the ul
// find the height of each li and add it
if problem is DOM related can always post a mockup on jsbin.com. It has
built in jquery library
just paste code, select library and voila!
shaded wrote:
its not always practical to post a link. The stuff im working on is
offline for now. including database and php files. but thanks for
shaded wrote:
its not always practical to post a link. The stuff im working on is
offline for now. including database and php files. but thanks for all
the tips.
You don't always have to post your whole site, you could reduce it to a
testcase. Just show the minimal amount of html and
don't thank me, thank the author for designing it to be so easy. glad
it worked out for you
johnnyg wrote:
Charlie - thanks so much for these few words:
"All height is resultant of padding on inner most tag which is a
tags, line 119 of superfish.css"
That was so EASY!!!
Really
The test.php just is an empty page!
..fredrik
On Jun 24, 4:39 pm, Jabu Niobe rrfot...@gmail.com wrote:
Still no luck :(
With your code:http://christien.info/tijdelijk/edge/test.php
The original layout without the lightbox
code:http://christien.info/tijdelijk/edge/aboutus.php
2009/6/24
I have the following within a plug in that i am trying to create.
Now all works well but i thought that th enext stage to take my plug
in would be to let me set the varaibels when I call the plug in.
i have th efollowing say:
var $listContainer = $
Hi,
There is a byte limit (2048) on the size of a url set in the server
configuration (I think specific t IIS but maybe apache too) , if you
dont have access to change these you will have to use POST to submit
your string.
On 26 Jun 2009, at 11:07, saa...@gmail.com wrote:
Hi
I am
not to mention sometimes you figure out the problem by creating a test
case.
On Jun 26, 10:05 am, Jonathan Vanherpe (T T NV) jonat...@tnt.be
wrote:
shaded wrote:
its not always practical to post a link. The stuff im working on is
offline for now. including database and php files. but
If you need a place to host code for demonstration (because you're
working offline, or need to expose only a fragment of code you can't
get working), you have the BEST chance of getting an answer by posting
your code on http://jsbin.com and dropping in a link. When people come
in and post
By the way, I've tried this both with a static url, as shown in my
example, and a url with a response string (which I eventually will
need). Neither worked. Hopefully someone can shed some light on what
I'm doing wrong.
Thanks!
On Jun 25, 8:43 pm, jhm jmay...@gmail.com wrote:
I'm having an
Maybe you hit the timeout for AJAX in jQuery?
Try:
$.ajaxSetup({
timeout: 1
});
It will change AJAX timeout to 10 seconds.
Or you can try to do this by $.ajax method where you can specify the
timeout.
On Jun 26, 12:07 pm, saa...@gmail.com saa...@gmail.com wrote:
Hi
I am trying to
hi,
hi,
Could any one help me with this,
i am using jquery version - jQuery 1.1.3.1, there is a module to set
some values
so when i click on the submit button i get the following error (only
in ie8)
[[Webpage error details]]
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
I'm having a problem getting jQuery tabs to work. I'm using a master
file along with an aspx that includes a placeholder.
Relevant Parts of Master File:
html
head id=Head1 runat=server
meta http-equiv=Content-Type content=text/html;
charset=iso-8859-1
!-- Use for local server --
link
Hello,
I want to the change an image and do some action after loading.
Following snipet is used:
js:
$(document).ready( function()
{
$(#clickableElement).click(function()
{
$('#imageID').attr(src, 'http://IMAGEURL/img.jpg').load
(function()
{
Hi,
I am new to JQuery so hope I haven't just made a basic mistake.
I am trying to insert a paragraph element containing data obtained
from a .post request to a DB, into a page.
I have it working perfectly in FF but it does not work in IE.
Here is the code;
// make the request using .post and
Hi all,
I was spitting back a formatted string from PHP, using a slash as a
divider (i.e. Part Name / Part Number / Part Type) and autocomplete
with mustMatch on was rejecting anything and everything. The reason
appears to be the special characters in the string. Using spaces or
letters as
Hi.
Who can make me a similar website like this: http://devkick.com/lab/fsgallery/
http://devkick.com/blog/full-screen-image-gallery-using-jquery-and-flickr/
I know there are some similar out there, but I like this one regarding
the small thumbnails and the i:info.
The different would be that I
I'm modifying sgrover's dynamic example from
http://grover.open2space.com/node/191,
but can't get past the problem with having to trigger the mouseover/
hover event twice to get the correct text to show. Any ideas?
$(document).ready(function() {
$(.helptext).hover(function() {
var
Hello,
i've created a function to generate user defined number of an image.
I'm sure that it's not the optimal solution, because over 100 elements
most browsers renders it very slow...
Here is the sample page: http://resolution.capsule.hu/ (the × image is
randomly generated)
The js function:
Hi all,
I have this JSON file that does the encoding from the states database.
I want to extract it out using jquery and populate the select drop
down box. the json file is being encoded in this way:
[
{State:{name:AUSTRALIA CAPITAL TERRITORY}},
{State:{name:NEW SOUTH WALES}},
Hi,
I am new to JQuery so hope I haven't just made a basic mistake.
I am trying to insert a paragraph element containing data obtained
from a .post request to a DB, into a page.
I have it working perfectly in FF but it does not work in IE.
Here is the code;
// make the request using .post and
Your code is confusing. Why do you have the script tag wrapped inside
of the form element? Why do you have two script tags a couple tags
away from each other instead of inside your header definition?
Your script is chock full of errors. Here's a couple of suggestions:
1. Move both of your
here you have the accordion.
http://docs.jquery.com/UI/Accordion
I suppose you need to find a condition that allows you to scroll the
accordion list when the user scroll on the accordion.
Otherwise you may use an iframe but it isn't so elegant has the first case.
Steve Hueners ha scritto:
Well, lets assume you're getting the JSON you described from the
following ajax call:
$.post('/path/to/json.php', {params: 'go here, if you need them'},
function(data){
// data contains that JSON object you described
// Also, I'm assuming your select box looks something like this:
//
I put together a plugin to handle this kind of thing that does okay in
most browsers, called replicator. Give that a shot and see if it helps
making your life any easier.
http://eric.garside.name/docs.html?p=replicator
On Jun 26, 10:11 am, chronotype thund3rb...@gmail.com wrote:
Hello,
i've
Long story short, you can't do what you're trying to do. You have some
massive scoping issues. first, anything within you document.ready
function (as defined by $(funciton(){..});) that gets declared in
there is accessible only inside that function itself.
Now, I'm not sure what you're actually
@Jonathan Vanherpe (T T NV)
Yes, some demotivational posters are son funny (some others ... not
recommended). Well. Following your comment, I decided to disable right
click on the div. I will use JQUERY RIGHT-CLICK PLUGIN (http://
abeautifulsite.net/notebook/68) and try to avoid the context menu
here is a non jquery solution to what i'm looking for.
http://www.barelyfitz.com/projects/filterlist/index.php/1
Does anyone know of jquery plugin to do the same or maybe if its easy,
some quick source code?
thanks
Just as an FYI, you do know that if the user can see the image on your
website, it's already on their computer. Not to mention, anything you
do that's purely a javascript fix can be avoided by merely turning off
javascript. It's essentially a fool's errand to attempt to do this.
On Jun 26, 11:27
To be expected. Just as .click will trigger every time you click, the
.load will trigger every time the image is loaded.
And each time you click, you're telling it to add an additional load event.
Either
a) unbind(load) before the .load (useful if you want to do something
different each
supersubs do work in vertical or horizontal
$('ul.sf-menu').supersubs().superfish();
the markup is the same for vertical and horizontal with exception of
adding vertical class
script is still targeting the same UL's and li's whether they are
vertical or horizontal
perhaps you have other
I have the same slideToggle effect in two slightly differents scenarios.
Scenario #1 - There is a CSS rule setting with:700px for the whole scenario.
Scenario #2 - There isn't a CSS rule for the width, so it defaults to 100%
width.
Issue: In scenario #2 all works fine. But, in scenario #1 the
Yeah, that's almost certainly why I opted to tinker with the actual
tablesorter Javascript, I remember having that same trouble. I'm not
enough of a Javascripter to know quite what went wrong.
If you want to see what I did, you can take a look at the additions I
made to tablesorter
Hello Maujor,
First of all, I'm your big fan...
I had this problema a lot of times, sometimes in one browser, another
time in others, Wich browser the problem came from?
My problem was always because of padding, it seens that slideToggle
doesn't consider the padding... so everytime the amount
Thanks Eric,
Actually I really need to access to a method inside another function.
I created a simple example however my aim is calling a "public method"
(let me use public) that has been defined inside a function like that
$(
function(){
function openMenu(){
Hello,
With http://www.texotela.co.uk/code/jquery/select/
you can manipulate selects easily, not so directly like the one you
show that it's great...
Alexandre Magno
Interface Developer
http://blog.alexandremagno.net
On Jun 26, 12:29 pm, shaded dar...@eztransition.com wrote:
here is a non
Hi Eric,
Sorry I said a lot of nonsense before (and maybe I am still doing
it)... so please don't consider my previous mail.
one function [SlideMenu.js] contains several methods to animate and
manage a slide menu.
I would like to open the slide menu when a particular condition it
happens.
On Jun 26, 12:44 pm, jakiri hutimora jakirihutim...@gmail.com wrote:
Actually I really need to access to a method inside another function.
$(
function(){
function openMenu(){
doSomething(x);
}
function
Hello,
Yeah, thats right, the code works but it's too heavy
You should concatenate one string with all option and then make a
append. A append inside the loop would break the perfomance:
$.post('/path/to/json.php', {params: 'go here, if you need them'},
function(data){
// data contains
Are you using validate plugin to make all the validation?
Regards,
Alexandre Magno
Interface Developer
http://blog.alexandremagno.net
On Jun 25, 5:28 pm, jtotheh justinh...@gmail.com wrote:
Hi all,
Anyone have an idea of how I could look for a single checked box
across two different
Hello,
If you need a simple solution to this you should consider create a new
validation rule for the validate plugin, it's easy...
this it's a example how to create a rule to verify its the age its
greater than 18:
jQuery.validator.addMethod(minAge, function(value, element, params)
{
I posted this late last night, but got no responses. I thought maybe
it scrolled off before anyone had a chance to see it, so I'm posting
again. Sorry if this is bad form, I'm new to these groups...
I'm having an issue with the $.get() method. When I request a file
local to my site (with a
Hello,
How you are making this redirection? Better: how you are submiting the
information, with ajax?
If yes, how are you redirecting?
If no, try to put a target attribute in the form with the target to
parent window...
Regards,
Alexandre Magno
Interface Developer
narrower means greater height, toggle opens further. Time is same for
all content so appears faster on higher divs .
one thought would be use time vs height calculation
something like :
speed = $(this).find('content').height() * 500 ///this is not real code
or time, may have to parse also
Hi Alexandre
Thanks for your kindness reply
Sorry but this isn't the well know padding - margin jump issue [1].
Have a closest look at the sources of my live examples and you will see,
as I pointed out on my OP, that the issue comes from the widht.
PS: The examples don't use paddings or margins
You can try it at http://enertech.squarespace.com/instruments/
Thanks for looking.
Okay, so jQuery 1.3.2 defines the visible filter like this:
Sizzle.selectors.filters.visible = function(elem){
return elem.offsetWidth 0 || elem.offsetHeight 0;
};
Now I've got a table of hidden (style=display: none) rows. The user
will click something that will .show() a specific
This is (finally) fixed in latest SVN and will be in jQuery 1.3.3.
--
Brandon Aaron
On Fri, Jun 26, 2009 at 1:50 PM, Nekura Nekonekura.n...@gmail.com wrote:
Okay, so jQuery 1.3.2 defines the visible filter like this:
Sizzle.selectors.filters.visible = function(elem){
return
I came across the following script tag in a framework. I've never
seen this before and have no clue why it would be used. Can someone
help shed some light on this?
script type=text/javascriptjQuery(dom_init);/script
Is it possible to use image rollovers instead of the default text that
comes with the plugin?
Hi!
Try to debug your application with Firebug extension for Firefox.
You should probably get uncaught exception: Access to restricted URI
denied error when trying to access URL that is on other server than
the one script is working on (if it's not local file).
If that is the case it's
Is it possible to use image rollovers instead of the default text that
comes with the plugin?
http://www.malsup.com/jquery/cycle/pager12.html
you have a strange loading pattern going on in page
you load jquery in head, some YUI right after body starts, but then
load a bunch of scripts and css in middle of body. Here you load
jquery.js again and superfish
I clicked one link in firefox and the content filled with top left
corner of
look through the examples some more, there's quite a few of them with
image rollovers. Then look through the options API and see how to
customize them to do almost whatever you are needing
http://www.malsup.com/jquery/cycle/pager6.html
Erik R. Peterson wrote:
Is it possible to use image
Alexandre, this sounds like it would do pretty much what I need. I
followed your post but I can't seem to get it working. Can you look at
the code below and tell me where I've gone wrong? Sorry to ask for all
the help but I think I'm kind of close and I just want to get it
done! :-)
script
I'm confused. these are images from the slides being used in the Cycle.
What if I wanted to use GIF's that are not related to the images?
Would something like this work in the CSS?
#nav a {width:27px; height:27px; padding: 10px 10px 10px 10px;
margin: 0px 0px 0px 10px;background:
In a GET request the length of the URL is also browser dependent. IE
has the shortest (at least as of IE7) at 2,083 characters with no more
than 2,048 in the path portion. A non-scientific 2006 test showed
Firefox to accept at least 100,000 characters, Safari at 80,000
characters, Opera at
I sort of see examples in how to lazy load via AJAX request for the
jCarousel. But the examples here are geared toward specific APIs such
as Fickr.
http://sorgalla.com/projects/jcarousel/
So basically what I'm trying to do is make a jQuery ajax request to
one of our URLs that goes to an
I am trying to use the Validator plug-in in combination with a jQuery
UI dialog. I have one required input field. When this field is outside
of the dialog all works as expected. As soon as I place it in the
dialog, nothing validates (i.e., even with an empty field, $
Why not just convert the XML to JSON when it's returned from the
server (there are a variety of plugins that make this very easy),
iterate the JSON object to build the HTML/CSS that jCarousel expects,
inject it into the DOM and then call jcarousel() on it?
On Jun 26, 1:58 pm, expresso
I did one similar to what you are trying to do using looped slider . I
wanted the pagination images , which were different than the slide
images, to do a hover type effect of highlighting the active one.
I put an image directly into the a tag and the corresponding
off image in background.
Could you take a look at my page?
http://www.enaturalskin.com
Erik
On Jun 26, 2009, at 6:31 PM, Charlie wrote:
I did one similar to what you are trying to do using looped slider .
I wanted the pagination images , which were different than the slide
images, to do a hover type effect of
I've had Validation work inside a UI Dialog just fine.
Are you sure that #aspnetForm is the correct ID assigned to the form?
Also there are no duplicate ID's being assigned to different elements
on the page?
On Jun 26, 11:49 am, pbarnes pmbar...@gmail.com wrote:
I am trying to use the Validator
Due to my newbish-ness I accidentily replied to author instead of to
the thread. Here is what Charlie found:
I found your IE problem:
From Debug Bar in IE:
escaping malformed URI reference
look at the bottom status bar when hover on link in menu. IE wants to
fill the space before # with %20
Yeah ... I was noticing some weirdness there too. I think I've cleaned
up the load oddity a bit. All the jQuery should be in the head now ...
and I am not sure where the YUI is coming from ... must be part of the
template.
And yes some of these links don't work very well, I'm still building
out
What if you change the visibility of the links to hidden, and then
make it visible when it's ready?
I say visibility instead of display so that it will not cause any page
reflow when the text links are hidden and displayed.
On Jun 26, 6:35 am, hybris77 dist...@yahoo.com wrote:
I know I read a
More from Charlie:
doesn't appear to be the problem,, have never really played with debug
bar to get scripts to run in it, finally got it working , href appears
OK in IE
sorry for false hope
What is the value of dom_init?
Based on the variable name, it seems like it's some kind of
initialization function. Not sure why it's wrapped in jQuery though.
Maybe just to execute it.
On Jun 26, 9:03 am, bombaru bomb...@gmail.com wrote:
I came across the following script tag in a framework.
not the problem already realized was dumb mistake
Caleb wrote:
Due to my newbish-ness I accidentily replied to author instead of to
the thread. Here is what Charlie found:
I found your IE problem:
From Debug Bar in IE:
escaping malformed URI reference
look at the bottom status bar
Thank You Eric,
it looks intresting and much more flexible, but it's to complex for me
in this case.
What I'm thinking on is, for example:
- chain the whole DOM node creation process or
- create a jQuery function or
- ...
So just an easy one to understand the way of life in jQuery :]
On Jun
take a look at this demo http://malsup.com/jquery/cycle/goto2.html
would this work better for you? Change the inputs to a ul and insert
your images? Add functions to change class on active image if you want
to do any css to active pager image. I'm pretty sure you can use
options "before" and
1 - 100 of 107 matches
Mail list logo