Hi all,
I would like to link each image in the cycle to a specific page. Any
ideas on how to do this? I got it to cycle and everything is working
fine. I just want it so that the actual image is clickable.
Thank you.
I was looking at the jquery.flash plugin and it looks like what I need
to get the job done but I am not able to figure out how to do it.
Here is some sample code from the plugin site
$('.custom').flash(null, null, function(htmlOptions){
// do stuff
});
Below is the code I tried using
Try this - it may work for you:
$(function(){
var srch = [ foo, bar ] ;
// make a Regex from the search terms
var attr_regex = '('+srch.join('|')+')';
$('#gallery li').each(function(){
if ($(this).attr(title).match(attr_regex)) {
$(this).css({background:'#f00'});
}
});
});
Several methods:
Simplest is put an a tag around each image in your markup.
Alternate method- create array of the url's and bind a click handler to
images. Index the images to the url array and the window function you
want such as open() for a new tab. Will need to modify cursor in CSS
for
A good example of the behavior I want is on the firefox addons home
page https://addons.mozilla.org/en-US/firefox/?application=firefox
At the top, there is a pane for viewing the content of three items at
a time with a back and forward button to scroll through.
I need a similar way to slide one
there are lots of plugins to do this
look for carousel or scroll in a plugin search
jCarousel and scrollable are 2 excellent ones that come to mind as well
as scrollto
W. Young wrote:
A good example of the behavior I want is on the firefox addons home
page
Hello,
I want to build a form that work on one page only, to subtract the PHP
pages for getting the data from all my web forms,
I tried to pass the parameters to the same page but it dosent work :(
i'll be glad if you can direct me to the solution
Thanks
You can also try to use animate which is part of jquery core. Look up
some examples on the jquery website, there are quite simple.
-Anoop
On 8/29/09, Charlie charlie...@gmail.com wrote:
there are lots of plugins to do this
look for carousel or scroll in a plugin search
jCarousel and
Hi all,
I have an issue.
I am submitting XML data using ajax call which updates data on server.
It works fine in firefox but gave 404 error in IE.
The ajax call which i am using is mentioned below :
var url = '/' + serviceContext + '/services/content/update/' +
structid;
Have you tried an HTTP monitor like Fiddler (http://
www.getfiddler.com) to see what is going on when the $.ajax request
starts?
That will help diagnose for sure
On Aug 29, 9:46 am, g...@iec abhi.pur...@gmail.com wrote:
Hi all,
I have an issue.
I am submitting XML data using ajax call which
Is there any other way to find out the root cause apart from these.
On Aug 29, 6:55 pm, MorningZ morni...@gmail.com wrote:
Have you tried an HTTP monitor like Fiddler (http://www.getfiddler.com) to
see what is going on when the $.ajax request
starts?
That will help diagnose for sure
On
I do not understand
did you not ask in the original post:
So i need help to figure out whether this is client-side or server-
side issue
Using Fiddler will tell you if it's a client side or server side
issue because it will show you EXACTLY what the browser is trying
to do something
I ended up combining the standard ui button with a textbox and a
'search' icon a all in a row, styling it so as to emulate the
Firefox appearance (more or less)
http://www.gotodon.net/dropbutton/selectbutton.jpg
The ui button made for a nicer appearance, as I needed to style other
dropdown
Using the very basic jqModal example, isn't it supposed to auto size and
auto center the modal on the page? I placed a table that was wider than the
modal's default settings and it's off the page and does not create scroll
bars on the page to see the hidden section of the modal.
The default
Details below, but in a nutshell, here's what I need:
Tooltip with text and image... works with an image map... works when the
page is ajaxed... allows the hot spot in turn to be ajax in content to
another div.
Here's the (beta) site that shows what I want, but which only works for one
image
Thanks to both of you for trying to help me. I had a little bit
better luck trying to nest accordions within a list instead of using
treeview because it was simply not working for me. Though I'm stuck
in a few places with accordion, at least it's working to some degree.
On Aug 17, 1:55 pm,
Even had this approach worked, I am not sure how I would have preserved the
ajax-ability of the hot spot links. The ajaxify jquery needs
class=ajaxify, while the tooltip needs class=screenshot.
This isn't an issue; you can always have a space-separated list of
class names:
I need to highlight and work with the innermost of several hovered
items. My markup is for now nested lists, although that may change,
and if the user hovers over one several layers deep, only that one
should be highlighted. I have code that is working for my initial
case, with a demo here:
Thanks, Scott, for the reply.
The space separated class info is great!
Actually, the hot spots in the beta do carry the ajaxify behavior, loading
their links in the right hand column.
And I just discovered they work even if the page that holds the image and
the image map does not reference
Hello,
I am using jquery validate on one of my pages with a submit handler,
Can anyone let me know how I can specifiy which layer should contain
the error messages?.
Here is the code I want to change:
$(document).ready(function(){
jQuery(function() {
var v =
I understand that ive to use - X-Requested-With then I did search a
bit about that and I found this code,
$.ajaxSetup({
headers: {X-Requested-With:Ajax}
});
but I still don't understand how should I send the parameters to the
same file and get them in the server side (PHP)
I hot to
Hello guys.
My question has actually more to do with jqPlot ( graph library for
jQuery ), but I'm still asking it here, because it concerns json data
manipulation through jquery.
I'm not a javascript nor JQuery programmer, I'm just in a learning
process.
So my question.
To plot something
Stephan,For positioning adjust margin-left to be half of your new width.
For example if you set your width to 800px, then the entry for
margin-left should be:
magrin-left:-400px;
Regards,
Lyubov
On Sat, Aug 29, 2009 at 12:11 PM, Steffan A. Cline stef...@hldns.comwrote:
Using the very basic
I think you should try just passing the function name as the second
parameter, instead of adding () after it. () will cause the function
to execute right away. So:
function visibleFadeIn()
{
jQuery('#visible').fadeIn(2000, visibleFadeOut);
}
function visibleFadeOut()
{
Hi.
Today I was trying compress the jQuery Form Plugin V 2.28 (http://
malsup.com/jquery/form/) with JavaScriptPacker (http://
dean.edwards.name/packer/) but I get an error in Firefox 3.5:
missing ; before statement.
I revised the code and I can see that lack the semicolon at end of
line 61:
yes I know they are two different things, I do know both JSP and
JavaScript, so I do know the difference; I would like to know why what
works in JSP doesn't work in JavaScript.. again:
this works in JSP:
% for (int i = 1; i 5; i++) { %
$('#image%=i%').bind('mouseover',function(event) {
Any help on this?
On Mon, Aug 24, 2009 at 11:14 PM, pankaj sharmapankaj1...@gmail.com wrote:
Hi All,
In my application,there are several autocomplte field is available.
When I type pank and then it list out the several matching in the
autocomplete field and select one and
then hit the
Hi, I am having a hard time getting the dropdown nav under about us
to work in IE6 on this site:
http://www.mccauleycelin.com/index.php
It seems to work it every browser except IE6 (big shocker). Every time
I load the page in IE6, I get a script error that points to the
initialization script in
Hi everyone,
This question probably is easy, probably is not :). Is there a way to
apply an entry effect to Slideshow? Like the first image in the index
make it zoom and on page load the first image would appear with
zoom before everything?
Thanks!
path to superfish.js isn't working, opens an html page. Can tell on
main page, no delay on hiding of sub menus. Right now all you have is a
css menu with no script
Bryan D. wrote:
Hi, I am having a hard time getting the dropdown nav under "about us"
to work in IE6 on this site:
Yep. That was it, I didn't have the .js files pathed correctly. Duh.
thanks for the help.
On Aug 29, 6:21 pm, Charlie charlie...@gmail.com wrote:
path to superfish.js isn't working, opens an html page. Can tell on main
page, no delay on hiding of sub menus. Right now all you have is a css
I would like to link each image in the cycle to a specific page. Any
ideas on how to do this? I got it to cycle and everything is working
fine. I just want it so that the actual image is clickable.
Here's an example:
http://www.malsup.com/jquery/cycle/anchor.html
Why does this JSON generate the error missing } after property list
in Firebug?
What's missing?
{newitem: div id='iid_27' class='round-block' div class='left'
Test Title 10 /div div class='right' ulliTest Caption 10/li/
uldiv class='drag-handle'drag to reorder/div /div /div }
Guessing the error
Is what you posted the actual JSON you're using? It has line breaks in the
middle of the string, which can't be correct - but would probably trigger a
different error.
If the line breaks are removed, it's valid JSON which you can test at:
http://www.jsonlint.com/
It would be hard for anyone to
An example is available here for those looking the same thing:
http://malsup.com/jquery/cycle/fade-in-first.html
Just use jQuery UI scale effect or any other for that matter.
Got the above working with slightly different code. Also realized my
non flash content had to be displayed then my flash content would be
displayed only if flash was present.
My code is below. I do not recommend this method since I will have
duplicate information on my site and it may interfere
You can't call jQuery from JSP code, only from JavaScript.
Your JSP code *generates* JavaScript code, which is what actually calls
jQuery.
In your JSP code, the loop is run in JSP, and it generates a separate block
of JavaScript code each time through the loop. Here is the actual JavaScript
37 matches
Mail list logo