*Not really...
What I mean is :
*
$(document).ready(
function()
{
$('#windowOpen').bind(
'click',
function() {
if($('#window').css('display') == 'none') {
$(this).TransferTo(
{
to:'window',
className:'transferer2',
duration: 400,
complete: function()
{
That is the beginning of the JS code used by Stefan at the end of his
Page (jquery&interface) to make a window.
If we see he pointed
=>windowOpen (id link)
=>window (id div)
What I mean is: how to make a similar script but which has an
attribute writen in the link/function
function(id link, id div)
Because this code works only for one link and one div... I do not thik
that I'll must write X times this code for each of my div.
Thank a lot
Mihai
*
===========================
Posted:* Fri Feb 16 18:37:15 EST 2007
*From:* Benjamin Sterling <benjamin.sterling at kenzomedia.com
<discuss%40jquery.com?Subject=%5BjQuery%5D%20How%20to%20make%20Interface%20work%20for%20any%20ID&In-Reply-To=d9a3e9fe0702160936y26e36b27m91294a32cbe07caa%40mail.gmail.com>
Not exactly sure what your asking, but if you what a specific link to show a
div, you would do something like: (using your ids)
$('#id1).click(function(){$('#div#n1').show();});
Is this what you were asking?
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/