RE: [php-49] Making only part of the page dynamic

From: Steve B.
Sent on: Friday, January 16, 2009 11:42 AM
That's an amazingly useful compilation - despite some of the blog comments
at the bottom by some complaining about nothing new :) 
Thanks, Darcy 

-----Original Message-----
From: [address removed] [mailto:[address removed]] On Behalf Of darcy w.
christ
Sent: Friday, January 16,[masked]:35 AM
To: [address removed]
Subject: Re: [php-49] Making only part of the page dynamic

also, just saw this article this morning, which might give you some ideas of
how to use jquery to achieve certain effects:

	
http://www.smashi...­
od-user-experience/


On Jan 16, 2009, at 11:20 AM, Ryan Biesemeyer wrote:

> It's quite easy to do properly using jQuery (that is failsafe).
>
> if you were to write the page so it could take an argument in the URL, 
> then link to this page normally.
>
> function loadCompanyInfo(id) {
>   $('#bottomHalf').loa­d('companyInfo.php?i­d='+id+' #bottomHalf'); }
>
> Then modify the links to be <a href="companyInfo.ph­p?id=7"
> onclick="loadCompany­Info(7);return false;">Acme, Inc.</a>
>
> More info on this syntax can be found at 
> http://docs.jquer...­
>
> -Ryan
>
>
> On Fri, Jan 16, 2009 at 9:46 AM, David Malouf <[address removed]>
> wrote:
>> I'm writing to y'all because I don't even know where to begin in my 
>> search for a solution...
>>
>> I have a request to write a page that has a top and bottom 'half' - 
>> the top half has the name of 5 companies (possibly up to 30, but 5 
>> for now).  The bottom half will display the company's address, notes, 
>> email, etc.
>>
>> I'd like to do this in such a way that doesn't reload the entire page 
>> but instead, calls only the relevant contact information (the 'bottom 
>> half').
>>
>> Also, the "5 companies" listed will be dynamically created (i.e.  
>> it's not
>> always the same 5 companies).
>>
>> I've searched online, but I'm not even sure what I'm searching for.  
>> I've goofed around in Dreamweaver to see what it does, but the code 
>> looks unnecessarily complex (flexible, yes.  overkill for me, 
>> possibly).
>>
>> If you have a quick solution, I'd greatly appreciate the education.  
>> If there is a term for this kind of thing, I could use that so as to 
>> read-the-manual... I just don't have the vocabulary to know what it 
>> is I'm looking for.
>>
>> I'll gladly put in the hard work - I'm just not sure where to start.  
>> Does anyone even know what I'm writing about (ha!), David Malouf
>>
>>
>>
>>
>>
>> --
>> Please Note: If you hit "REPLY", your message will be sent to 
>> everyone on this mailing list ([address removed]) This message was 
>> sent by David Malouf ([address removed]) from The Seattle PHP 
>> Meetup Group.
>> To learn more about David Malouf, visit his/her member profile To 
>> unsubscribe or to update your mailing list settings, click here
>>
>> Meetup Support: [address removed]
>> 632 Broadway, New York, NY 10012 USA
>
>
>
> --
> Please Note: If you hit "REPLY", your message will be sent to everyone 
> on this mailing list ([address removed]) http://php.meetup...­ 
> This message was sent by Ryan Biesemeyer ([address removed]) from The 
> Seattle PHP Meetup Group.
> To learn more about Ryan Biesemeyer, visit his/her member profile: 
> http://php.meetup...­
> To unsubscribe or to update your mailing list settings, click here: 
> http://www.meetup...­
> Meetup Support: [address removed]
> 632 Broadway, New York, NY 10012 USA
>
>


~/darcy w. christ
1000camels





--
Please Note: If you hit "REPLY", your message will be sent to everyone on
this mailing list ([address removed]) http://php.meetup...­ This message
was sent by darcy w. christ ([address removed]) from The Seattle PHP
Meetup Group.
To learn more about darcy w. christ, visit his/her member profile:
http://php.meetup...­
To unsubscribe or to update your mailing list settings, click here:
http://www.meetup...­
Meetup Support: [address removed]
632 Broadway, New York, NY 10012 USA

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy