Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <1472452.mSG3TjeU6D@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Fri, 08 Nov 2013 18:37:04 +0100 User-Agent: KNode/4.10.5 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <0.5ee22dfa29786aa02d1a.20131108170431GMT.87r4aqvn8g.fsf@bsb.me.uk> MIME-Version: 1.0 Lines: 48 NNTP-Posting-Date: 08 Nov 2013 18:37:07 CET NNTP-Posting-Host: 50f2d638.newsspool2.arcor-online.net X-Trace: DXC=Fdm>KH0P[Yeg`45cDR8l?oA9EHlD;3Ycb4Fo<]lROoRa8kF@[hLNg?miBbbo<]j>gHi X-Complaints-To: usenet-abuse@arcor.de Xref: csiph.com comp.lang.javascript:21935 Ben Bacarisse wrote: > richard writes: > >> > data-info="6020"> >> >> Problem is, I have seen dozens of sites discuss the recovery of the >> attribute. But then, they leave out how you use it. >> Such as the simple act of printing that information. > > It's not at all clear that you want to do this. You've posted other > fragments here and in a PHP groups that provide enough information that > I think the problem is not *how* to x, y or z, what *what* to do. > > I don't think you have worked out the design yet -- you seem to be try > one thing and then another. If I were you, I'd post in a very general > group like alt.html to talk about the design. That way you can settle > on what parts need server-side code and what parts need client-side > code. No need to leave the Big8, though; there is comp.infosystems.www.authoring.html. In this case, the “very general group” would be comp.infosystems.www.authoring.misc. However, keep in mind that this particular OP has a long newsgroup history of not RTFM, RTFFAQ, of ignoring any advice, and getting nasty when being told that this approach is a Bad Idea, which does not bode well for the future. Like many nice and knowledgable people before you, you might be wasting your precious free time with this one. You have been warned. >> The php page contains the full array so there is no database involved. >> I want to match photos with the current playing song. >> The way I have it set up, photo names abd song names are equal. >> i.e. 6020.mp3 will pair with 6020.jpg. >> >> So how do I do this? > > I would not use a client-side script. I'd make the "play" link to be a > server-generated page that has the song and the pictures in it. With XHR you can have both. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.