Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Community Cafe (http://www.bvlist.com/forumdisplay.php?f=18)
-   -   [YBDev] Request function. (http://www.bvlist.com/showthread.php?t=5089)

ajax 17th June 2010 03:56

[TBDev] Request function.
 
Hey all,someone maybe can make for me one thing?

Thing is drop down Description:

If can then please make this:

PHP Code:

tr("Description"str_replace(array("\n"" "), array("\n"" "), format_comment(htmlspecialchars($row["descr"]))), 1); 

Like this function:

PHP Code:

print("<tr valign=top><td class=rowhead>Description:</td><td align=left><div class=\"news-head folded clickable\">&nbsp;</div><div class=\"news-body\"> Descr. goes here. </div></td></tr>\n"); 

:sos:

joeroberts 17th June 2010 04:30

the Next question would be do you want to load the info along with every thing else Or load if they click on the + or what ever?

because if you load the details with every thing else that cans cause Undu data transfer.
one way is a simple java script to change the description block from show no show.

the other would be a Ajax script that would call to a simple page to retrieve the info the load it to the page.

ajax 22nd June 2010 05:58

I got it but thanks for advice! :drink:


All times are GMT +2. The time now is 02:07.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.