Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Web-Partial reload

Name: Anonymous 2007-03-20 14:45 ID:sF4jO/kS

Alright /pr/, I have two divs. One contains a menu, the other contains the content of these pages.
I want only the content div to reload when you click on a menu item. The rest should just stay where it is. Visual elements such as .gifs or flash things should just keep rolling. The pages that are loaded contain dynamic scripts (PHP/SQL that returns XHTML and JavaScript).

How do I accomplish this? AJAX? Cache-setting? Frame? What's the best method?

Name: Anonymous 2007-03-20 15:08 ID:Heaven

AJAX is now deprecated, use cillit bang instead.

Name: Anonymous 2007-03-20 15:17 ID:oofBFphz

FUCK OFF. PUTTING YOUR WEB LEGOS TOGETHER IS NOT PROGRAMMING!

Name: Anonymous 2007-03-20 15:24 ID:W+Neqo/k

>>1
use XHTML 2 and just change the src attribute on the div.

Name: Anonymous 2007-03-20 15:34 ID:Xwa0R8pr

Web 0.9 -> Frames
Web 2.0 -> AJAX

Name: Anonymous 2007-03-20 15:47 ID:sF4jO/kS

>>2
FUCK YOU.
>>3
FUCK YOU.
>>4
FUCK YOU.
>>5
ALRIGHT. I got that workign and shit but I get the following error in one of the pages: '+String.FromCharacterCode(34)+' that shows up in every <a> tag. For some reason I can't get rid of it (I know it's a "). I've tried converting it to nothing but then the tags are fucked up, converting it to \" won't work either.

Name: Anonymous 2007-03-20 15:55 ID:Xwa0R8pr

>>6
HTML entities motherfucker, do you use them!!!
&quot;

Name: Anonymous 2007-03-20 16:26 ID:sF4jO/kS

>>7
Yes. Doesn't work. Strange thing is that I use the exact same code on a different page. The problem doesn't show up there. I'll have another look at it tomorrow, gonna quit work now. Time for /b/.

Name: Anonymous 2007-03-21 12:41 ID:d1MjXvzD

>>2 wins

Name: Anonymous 2007-03-21 12:41 ID:cNCmvjB2

>>6
CHICA, RICA Y SENSASIONAL
YOUR SOO YUMMY MAMA
I HOPE TO SEEE YOU SOON IN "SCREWMANITY LAND"
LOTS OF LOVE
KASHMIR DOOR HOST AND SCREWMANITY EMCEE:VICTOR VICTORIA

Name: Anonymous 2009-01-14 13:34

Sepples

Name: Anonymous 2009-03-06 13:09

System exit 1   is indeed a   precious gift to   understand the forces   that guide oneself!

Name: Anonymous 2010-12-21 8:21

Name: Anonymous 2011-02-03 3:14

Name: Anonymous 2012-03-28 2:24

my farts burn my anus
it hurts
in a good way

Name: Sgt.Kabu籕驔kiman仌밍 2012-05-28 23:25

Bringing /prog/ back to its people

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List