| |
| |
| |
|
Page: 1 2 3
Comments:
<0> that's the 24 for? <0> i'm thinking you could do it with ajax.. that has a state varianc <0> but suppose it depends on how good of a code <1> Hi, someone's there ? <2> pieg: is it working for you? <3> welp, i got 1 <3> oh how ugly you are:P <2> :P <2> you got 1? <2> that weird <2> *that's weird <3> <body onload="chkx(); no no no no no <3> no when body loads <3> even it could be here yeah <2> then? <3> hms look how i did it in pastebin
<1> I would like to make some king of a text box that contains links pointing into another text box that contains other links, etc. It's for a website showing my music with that structure: first text box: List of artists and on the second text box List of albums the artist made and then List of songs <4> Drop the colors. <1> A bit like this example: http://pages.ebay.com/help/contact_us/_base/index_5.html <1> But I don't really know where to begin, someone can give me some clues of links ? <0> so you're saying.... you click on textarea 1 and it will make textarea 2 change? <4> Without looking at their code, I'm guessing something with ajax. <1> TestiCalls> Exactly <0> o <1> Pilum> Yeah, it'll be much easier if I can use my XML file to make thoses changes but it seems way to complicated <0> yeah there's plenty of examples for that...... did you want the information to be dynamic or pre-dated <0> cus you could load all the information on <div> that are display none <1> TestiCalls> Well actually I have a list of 20 000 albums, what do you suggest ? <0> and when they click on that text area it chagnes teh style to on <0> 20,000... where's all the information in <0> text files? <1> No, XML file... but I don't care retaping all those, as long as it works and it's not to long to load <0> or you grabbing the information from the mp3s? <0> if it's xml then you should use ajaxslt <0> http://goog-ajaxslt.sourceforge.net/ <0> sounds complicated, but if you don't want it to load down your or their computer then use that <1> Woah... lot to complicated for me... it needs PHP and all that, I'm a newbie... Let say I don't wanna use that and I will reduce to like 10 albums, just to understand it <0> nah not php... <0> just have your xml files.. the ajax will open to your xml file and do what it needs to do <0> k 10 albums... <0> each album has an xml file? <1> No, it's all in the same XML <1> Like in a tree <0> o <1> <artist's name /><cd's name /><songs on that cd /> <0> how big is the xml file <0> as in KB <1> The big one is 3500 KB :S <1> I imagine I can split <0> yeah split is no problem... but yeah you'd have to do that <0> in the textarea1... how are you going to display that <0> per album or per song.. etc? <1> On textarea1 it's the artists name <1> A long column <1> Something really simple, no need to be stylish, just efficient <0> per artist... then textarea2 is the album? then the song? <1> exactly, the album <1> than the cd 1 or cd 2 and than the songs <0> so you're making a tree out of your xml file... <1> yes <0> well you can't just make them download the whole 3.5MB... you'd need to divide the artist list.. maybe 1-20.. so on <0> so that'd make you want to split up that XML file to just the artist <0> so artist1.xml .. etc <4> Or just use a database. <0> yeah <0> but he's trying to make it client-sided right? <1> No problem with that... It's more when it's time to binding all that using javascript :S <0> 'cus you could always have multiple iframes <0> and load on to those iframe a php file grabbing from the database <1> O_o <0> so you want all the work load to go to the client or the server? <1> The client <1> The less the server works the better it is <0> k see.. the only way i know of grabbing files is through ajax <0> it's not that hard <0> http://www.w3schools.com/ajax/ajax_database.asp <0> this is sort of what your'e trying to do
<1> TestiCalls> Yeah, Ajax makes so beautiful things like Google Maps or Gmail, etc... <1> TestiCalls> I will take a look right now ! <1> TestiCalls> No need PHP right ? <0> well they're using asp <0> which is php-like... <0> you need something to grab from a database ... <0> or grab the xml files <1> Is it better to grab from a db or from a XML file ? <4> Db <0> yep dB <0> no need to worry about concurrency <0> and sharing <1> :( <0> etc <0> are you doing this off your own computer server, or someone else's <4> Most modern DBs can send data as xml too if you want that. <1> Look at that: http://philflash.inway.fr/dgperf/index_en.html <1> 2000 entries load in 0,5 secs <1> TestiCalls> On a business server <0> that is flash though <0> you're asking javascript <0> undoubtedly flash and actionscript are freaking good.. but nothing we can do as javascript for that <1> To be honest I've put my hands on the Ajax solution and it scrares me a lot, so much coding for something basically simple. <0> lol <0> ajax is not that hard <0> stop freaking out <0> lol <0> what's freaking you out is the database side of it <1> But the fact that Ajax doesn't require any plugins is wow <0> well still requires relatively new browsers <5> relative as in the last 5 years :P <0> yeah <1> lol <0> hey you'd be surprised how many people still have old IE <4 <0> anyway <1> I do like XML and Javascript, it's the PHP part that is bad <0> not really <5> the way i see it if the user is still using a browser more than 5 years old they don't deserve to see my website <1> haha <0> <?php $sql = mysqli(.....) ?> <0> there's plentyf or that <0> one sec <1> :A <0> if you know javascript and xml <0> you're pretty much about 60% of PHP <1> TestiCalls> On a purely developer's way, with my case, do you suggest me to use Ajax or Flash ? <1> (btw AS in Flash is like JS) <0> you're still going to use a DB... unless you feel like playing with files.. a bit risky <1> of course <0> speaking of learning curves... id' say PHP is easier but you keep freaking out <1> Well it's been a while since I want to do this website, I've put thousand of hours on my XML file <0> all the php would be doing is grab.. (if sql does not format) then format to xml.. and print it on the web page... then ajax grabs the resultant print out and will process it <0> wow really? <0> could of done that xml file in a couple of hours with PHP ;) <0> maybe in 1 <1> Yes, ripping, naming and structuring 20 000 albums and more then 200 000 songs takes loooong ! :) <0> are all the songs on your hard drive? <1> yes, haha <0> then it's a matter of reading the mp3 header <1> (should not say it to loud) <0> then structuring the xml <0> but o well <0> you've gone through that <0> i'm biased to php <1> Yeah, it's too late now <1> why ? <0> if someone is a web developer and they don't know PHP they are not real developers ;) <0> because i love php :) <1> lol <0> anyway <0> i think you know what to do now.... <0> javascript side is not that bad... you need to plan ahead though <1> I think I'll take time to learn PHP a bit more and also how really works Ajax... <0> yeah... php is not that hard at all
Return to
#javascript or Go to some related
logs:
fhjui
#mirc #chatzone httpd.exe: Syntax error on line 116 of BORLAND SUX zellers synapsis lord1234 #AllNiteCafe #linux #AllNiteCafe
|
|