@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> hi
<0> is there a way to get a confirm like dialog, where we can change the buttons labels?
<1> http://domapi.com/build/tests/HTML_4.01_Transitional/window_dialogs.htm?theme=system&skin=false&lang=eng
<2> lawl, Mr Cancel and Mr OK
<3> message result
<2> Yes I realise
<3> Borland flavours
<2> But don't you also realise that we're getting some good character names for a story here
<2> Mr. Abort and Mr. Retry
<2> Geeknovel!
<2> Also, that is one phenomenal dialog box you get there when you enable all the buttons at once
<2> So many... options!
<2> BTW, src="../../src/domapi.js?styleBody=true"
<2> Is the value of styleBody available to the script?
<3> yes
<2> That's pretty awesome... how?



<3> magic
<2> lawl
<2> Magic and what else
<3> domapi accepts many arguments
<3> http://domapi.com/index.cfm?action=tutorialview&topicid=20
<0> [Torgo] : yep for this url, but it had to be include in an html page
<2> Yes but the myesterious and magic domapi is, in the end, nothing more than mere javascript
<0> it's not an entire js dialog
<2> So how is it possible to read querystring variables like that
<0> chromeless
<3> Bilge, ancient chinese secret
<4> alert(queryString);
<4> i cant believe you tried it
<2> lol
<2> Is window.location set to that of the external js file?
<2> Because I didn't think so
<4> [Torgo] i get an error :o
<4> 'domapi' is undefined
<3> on the docs? yeah
<3> i'm lazy
<4> lol
<2> Professional
<3> gonna have to wait until I finish Gothic 3
<4> least you done docs ;)
<2> zooomj
<2> I found googles on external javascript querystring pointing to gay forums full of people delcaring that it's not possible
<2> Or to try some other way
<2> Or to get PHP to inject a script that sets public variables
<2> http://www.webmasterworld.com/forum91/5601.htm
<3> gee, guess nobody told me it was impossible
<2> http://p2p.wrox.com/TopicIndex/51849.htm
<2> So what is it then
<2> document.URL?
<3> you need some fairie dust
<2> I bet you even forgot yourself by now :P
<5> document.URL? Heh.
<3> sorry, that's not going to work on me ;)
<4> http://www.activsoftware.com/code_samples/code.cfm/CodeID/59/JavaScript/Get_Query_String_variables_in_JavaScript
<4> ffs
<2> We all know you coded domAPI a lifetime ago and haven't touched it since
<3> it's so inanely simple
<4> http://www.google.com/search?hl=en&lr=&safe=off&rls=com.microsoft%3Aen-us&q=javascript+query+string
<4> top link
<3> you can figure it out with just a little thinking
<4> google iyf
<3> NeoFuture, that's to get them off the html page
<3> not a script include
<2> Aye
<2> Aye again
<2> Oh wait I just realised
<3> Bilge, think it through
<2> You use some gay getElementsByTagName("SCRIPT") ****e and parse the src param
<3> gay?
<2> Yes :P
<2> It's so obvious that it has become homo***ual during the course of its obviousness
<3> yes, the gay DOM standards you all should be using, yes that is how
<2> But it's kind of tacky because a script doesn't know its name
<2> Save for you telling it
<3> sure it does-- it has attributes, just like any other tag
<2> Meaning what exactly
<3> meaning just that



<4> then again
<4> what do i know about javascript
<2> Well this has all been very educational
<4> i dont know any js only alert()
<4> and eval()
<6> now you can eval an eval
<2> What about window.status lulz
<6> and then alert it
<4> windows.status dont work anymoe
<4> wana see my javascript?
<4> you have to look in IE tho (no im not kidding)
<4> http://demo.affinitygo.net/
<2> So that's what killed all those old elite sites
<2> With alert boxes and scrolling status messages and marquee text
<2> And animated gifs
<2> When did they kill window.status?
<7> Battle of the Bilge
<2> Shut up your faces, random
<8> just back off buddy
<9> hello
<10> how can i exclude a submit button to <form><select><option> lalala </option></select></form?
<10> when the user click on lalala to redirect him to a link
<5> The best is to test onchange on the select and test which option. But you can also do it onclick on the option itself.
<5> this.form.submit(); in either case.
<10> can u give me an exemple pls
<10> i'm very noob in the context of jsc
<5> The correct abbreviation is "js" btw.
<5> <select onchange="if(this.options[this.selectedIndex].text=' lalala ';) this.form.submit();"> should do it
<10> thx Pilum
<10> you alway helped me :D
<10> http://www.moviehouse.ro
<10> this got some of youre help
<10> :P
<5> Invalid markup. Ugh
<5> Dropt the XHTML 1.1 doctype.
<10> where?
<5> Use XHTML 1.0 if you must use XHTML.
<10> it's valid
<10> with 2 exceptions
<5> No, it's not valid when served as text/html.
<5> (Which the W3C validator doesn't check for).
<10> didn't knwo
<10> nobody teached me nothing
<10> :D
<5> And if you send it as XML (which you should) then IE doesn't render it.
<10> but if i change the doctype
<5> Hence why you should use 1.0 still.
<5> Then you won't see any difference since you're not utilizing the xml namespace anyway.
<10> i got to change again the entire code
<10> but google cares about this?
<5> No, you only need to change the FIRST line of your document.
<5> And yes, google cares.
<10> pilum you say that the document is valid 1.1 it's valid 1.0 to?
<5> Yours certainly is.,
<10> ok thx
<10> and again with mai 1st question
<10> cause the code u gived me don't work 4 what i need
<10> <form method=\"post\" action=\"vot.php\">
<10> <select name=\"nota\" cl***=\"select\">
<10> <option value=\"1\">1</option>
<10> <option value=\"2\">2</option>
<10> <option value=\"3\">3</option>
<10> </select>
<10> </form>
<5> Use a pastebin
<10> this is my code and i the user click on 1 i want the browser send him to http://google.com
<10> for exemple
<5> And paste the HTML output rather than the server code.
<10> ok
<10> <form method="post" action="vot.php">
<10> <select name="nota\" cl***="select">
<10> <option value="http://google.com">google</option>;


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

reverse.exe + hack
#squid
#linux
#linux
12WHAT KIND OF ANIMAL IS BABAR?
#linux
#c++
#linux
#gentoo
#php



Home  |  disclaimer  |  contact  |  submit quotes