[FX.php List] JavaScript, AJAX, jQuery assistance?

Michael Ward headhoncho at customikesolutions.com
Mon Oct 1 18:32:43 MDT 2007


Hi all,

> a) Thanks for showing me how to use jQuery's "load" function  
> instead of LAJAX.  I still need to figure out how to include  
> parameters in that (e.g. in my real project, each load is to a  
> specific div), but I'll look into it.

I've put up a small sample file that shows one way of loading pages  
into multiple divs with a single click.  It also shows a callback to  
allow clicking on an img tag to load another image into another div  
(it will make sense when you look at it)

the page also has a link to the sample files for download (2.3MB)

It is _extremely_ quick and dirty!

You can find it here:  <http://sample.customikesolutions.com>

all the "hardcoded" links could be quite easily pulled from a  
database on the fly.
>
> b) FYI: JT_init(); doesn't actually need to get called on the main  
> page since jtip.js starts with "$(document).ready(JT_init);" --  
> although this is now a moot point for me since I'll be switching to  
> clueTip
>
> c) Thanks for attaching the AJAX-load div to a <p> element; it  
> helps me understand jQuery a bit better.  For my project, I want to  
> use a hover css formatting.  I'll be looking into jQuery again to  
> see if I can do that with a <p> or if I'll go back to using <a>.

In the sample file I am using a click function attached to both "li"s  
and "img"s .  Have a look at the visualjQuery <http:// 
visualjquery.com/1.1.2.html> for more info on how to attach functions.

>
> d) I'll be looking through your INT610 demo again, which seems like  
> it might help me with my (a) & (c) above :)

It may do :-)

Regards

Michael Ward
--
Head Honcho
CustoMike Solutions
Member, FileMaker Business Alliance
Member, FileMaker Technical Network
FileMaker 7 Certified Developer
FileMaker 8 Certified Developer
10 Wandoo Crt
Wheelers Hill, 3150
ph 0414 562 501
headhoncho at customikesolutions.com




More information about the FX.php_List mailing list