| |
| |
| |
|
Page: 1 2 3 4
Comments:
<NeoFuture> www.ukbusinessreview.com <NeoFuture> register your business <JS`> hello. I have a site that will display my pagerank: http://www.alltheweb.ro/pagerank.php?url=www.com how can I display that using javascript? <NeoFuture> why you wana use JS <NeoFuture> ? <JS`> I have to display that on a page that cannot use php <NeoFuture> funny i was writing that last night <NeoFuture> ok <JS`> and i need javascript to get the curent url <NeoFuture> chenc ya svcript <NeoFuture> to output <JS`> ? <NeoFuture> alert("pagerang:".$rank); <NeoFuture> (this is a test) <NeoFuture> and on the page that dont have js <NeoFuture> <script src='http://www.alltheweb.ro/pagerank.php?url=www.com'></script> <JS`> that`s not working <NeoFuture> show me <JS`> http://www.alltheweb.ro/test1.php <NeoFuture> that wont work <NeoFuture> lool <NeoFuture> look <NeoFuture> http://todo.affinity-crm.net/googlerank.php?url=http://www.example.com <JS`> how do I make that? <NeoFuture> edit your pagerank.php <NeoFuture> echo "document.write('pagerank:".trim(getrank($_REQUEST["url"]))."');"; <JS`> thanks <fatbrain> Hi furtive. <furtive> hi fatbrain <fatbrain> heh. <DotcomBRz> hello <DotcomBRz> furtive are you there ? <furtive> yup <DotcomBRz> i have function test() { alert('test') } and i am using <script language=Javascript> test(); </script> in my page. <DotcomBRz> but there is no alert when i open this page. <DotcomBRz> how can i start functions in pages ? <furtive> put it in the onload event, although you shouldn't have to <furtive> btw, language is deprecated. use type="text/javascript" instead <DotcomBRz> ok, i already use type. <DotcomBRz> no way after onload, ok, thank you furtive. <furtive> paste what you've got. it should work <DotcomBRz> function ClearTip() { <DotcomBRz> document.getElementById('Tips').innerHTML = HTips[0]; <DotcomBRz> } <DotcomBRz> Htips is array and its okç <DotcomBRz> its ok. <furtive> you can't reference the document until onload event, that's why. <DotcomBRz> if($noavailable == "0") { <DotcomBRz> echo "<script language=Javascript> <DotcomBRz> ClearTip(); <DotcomBRz> </script> <DotcomBRz> "; <DotcomBRz> } <DotcomBRz> if is in <?php <furtive> i didn't mean to paste in channel. that's what pastebins are for <DotcomBRz> :) <DotcomBRz> sorry. <DotcomBRz> may i set var test = 2 before <body onload; it will work in onload ? <furtive> yes <DotcomBRz> hmm. <furtive> you just can't reference the document until the document is loaded...which makes sense when you think of it <DotcomBRz> in body onload=ClearTip('test') and i use var test = 1; after body onload, is it true ? <DotcomBRz> before <DotcomBRz> sorry <DotcomBRz> <script language=javascript>var test=1;</Script><body onload=ClearTip('test')> <DotcomBRz> but i must set array in cleartip first,oups <DotcomBRz> its ok, <DotcomBRz> thank you furtive. <DotcomBRz> *kiss* <furtive> hehe, next time paste the whole code and i can do a better job of helping <furtive> rather than guessing <DotcomBRz> :) <Jack_Bauer> furtive can you tell me ehats wrong with this var test="testing"; <Jack_Bauer> lol <Jack_Bauer> im playing <furtive> ht311 is that you? <furtive> oh, hehe <furtive> hi NeoFuture <Jack_Bauer> hi <Jack_Bauer> ok ok ill come outa hiding <furtive> nah, it's cool <furtive> make everyone else jealous <fatbrain> I don't think I'll ever used the defer attribute on the <script> element. <fatbrain> first time I heard about it today... heh <Jack_Bauer> can i get an opinionon my start up sound <Jack_Bauer> defer attribute ? <furtive> yeah, it's like the tabindex of script tags or soemthing, no? <Jack_Bauer> http://affinity.owuk.net/resource/sounds/startup.mp3 <furtive> did the guy from king crimson write that? <Jack_Bauer> from who ? <fatbrain> furtive: It states that the script won't use document.write so the user-agent *should*/could continue parsing/rendering the page without executing the script... or something like that <furtive> sounds nice <furtive> fatbrain yeah... just looked it up <fatbrain> kk <Jack_Bauer> i made it <furtive> sounds nice <Jack_Bauer> who is king crimson <furtive> and appropriate <furtive> NeoFuture: http://www.amazon.com/gp/product/B000003S09/002-8734712-2743222?v=glance&n=5174 <furtive> but more recently (and appropriate to this discussion): http://channel9.msdn.com/showpost.aspx?postid=151853 <furtive> MS pays tons of cash for their startup tune... last one came from brian eno <furtive> you're sounds on par. <furtive> so kudos to you. <NeoFuture> hehe thanks <furtive> sounds vaguely familiar though... what's your 'inspiration'? <NeoFuture> nothing <NeoFuture> just ploking arounf a few noted in d e and f <NeoFuture> needed a 4 second start up sound <NeoFuture> and stuff for adverts and stuff <furtive> heh <NeoFuture> BTW it took about 5 mins to do <furtive> hi dave-e <furtive> i wouldn't spend any more time on it then unless someone brings it up <NeoFuture> maybe i should sell sounds to ms <NeoFuture> lol <helplessGirl> anyone around? <furtive> sure <helplessGirl> furtive can I ask you a question re. javascript please <furtive> of course, otherwise what would be the point of the channel? <helplessGirl> well there are many who tend to make channels that are totally unrealted to their interest/s <helplessGirl> anyway, thanks. the thing is that i am making a sort of calculator <helplessGirl> i want it to calculate the available variables <helplessGirl> but i'm not sure how to define "any" <furtive> well, what do you mean by available variables? <furtive> do you have any code written? <helplessGirl> okay I will paste it here <furtive> no, paste it in a pastebin... e.g. http://www.nomorepasting.com <furtive> then link to it <helplessGirl> alright <DotcomBRz> good address :) <furtive> yeah <helplessGirl> http://www.nomorepasting.com/paste.php?pasteID=56930 <furtive> name isn't a type <DotcomBRz> :) <furtive> damn, Lost is a repeat <furtive> i don't see anything besides that wrong with what you wrote, what do you mean by 'any'? <helplessGrrr> sorry, got discon <helplessGrrr> were you able to view it, furtive <DotcomBRz> furtive : i don't see anything besides that wrong with what you wrote, what do you mean by 'any'? <DotcomBRz> he said that, <helplessGrrr> ah :) thank you Dotcom <DotcomBRz> furtive i am using var pageisloaded = true at the end of the page, is it true way for looks, is page loaded ? <helplessGrrr> well, the thing is that in the form, some values will not be supplied <helplessGrrr> if a person chooses not to purchase some items in the order form <helplessGrrr> !ping <DotcomBRz> no problem 1 sec helpyGR <helplessGrrr> well seeing that you guys might be busy, I'm gonna leave but thanks for trying to help <helplessGrrr> =) mwah <DotcomBRz> i looked your codes but i dont understand anything ;) <DotcomBRz> hmm... <DotcomBRz> welcome back furtive.
Return to
#javascript or Go to some related
logs:
haqq alla #london yasm jmp short #php irssi pronounce
Quotes Rick Jenerette
#apache #linuxhelp #london #MissKitten
|
|