| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> hello <0> I have a quick question for anyone kind enough to answer it <1> Ask it then. <0> I'm workin in flash but have some simple java script to control popup windows from my index.html to main.html and that works fine. <1> But....? <0> but then when I try to pup anything up from main.html, it opens in the same window, and the scrollbars and toolbars are gone <0> and I have in the popup code specifially that scrollbars=yes and toolbar=yes <1> Url? <0> www.scarlet-thorn.com <1> A black page. How interesting. <0> you have flash 8 installed? <1> Don't think so. <0> won't work without. 8-) <1> Flash 7 <1> Bad site without a backup solution. <1> Anyway...
<1> How would those links work when there's nothing to click? :-) <1> toolbar=no,scrollbars=no is redundant in your case btw <1> <a href="javascript:openNewWindow('Main.html','thewin','height=768,width=1024,toolbar=no,scrollbars=no')"></a> -> <a href="nojs.htm" onclick="openNewWindow('Main.html','thewin','height=768,width=1024'); return false;">Click me</a> <0> thats for the next page.. thats not where the problem is. its from main.html when I want to go to the forum or phpraid where it doesn't work correctly <1> You should still take my advice on how to make it. :-) <1> Anyway, if that's not where the problem is, then where is it? <0> I might have to go with your code instead, but its on main.html when you try to access the forum or phpraid section.. supposed to open a new windwo but it displays in the same one and without toolbars or scrollers <0> is there a rule in java that you can't open a window from a window or something? <1> Ah. There it is. <1> <a href="#" onclick="openNewWindow('http://www.scarlet-thorn.com/forum/index.php','changethisnametosomethingelse','height=768,width=1024,toolbar,scrollbars'); return false;"> <1> Same name = opens in same window. <1> And this isn't java. <0> oh i see <0> well nevertheless, you found the problem. 8-) I appologize for waisting time with a silly question. 8-) thanks a ton tho! <1> As long as I can get one more to stop using 'javascript:' then I'm satisfied. <0> haha. 8-) sorry... I'm a bit new to this. I'll realize the err of my ways <2> hello <2> How do i change form method from get to post? <1> In the html code ideally. <2> I have a form with method get post, I have 2 submit button in the form if i click the first button the the form method will submit as get, <1> document.forms['formname'].method = 'post'; <2> and if I click the 2nd button the form method will submit using post. Can I change the method dynamically using javascript. <2> ok Pilium, i'm going to try... <1> Typing the first couple of letters and then pressing tab will auto-complete the nick in many chat clients btw. :-) <2> Pilium: $_SERVER['REQUEST_METHOD']; has always a "POST" inside, i mean <2> my form has intially his methos set to POST <2> and it doesnt matter how i change the method <2> i do it in a javascript function <2> which is called "onChange" <1> On what element? <2> over a radio button <1> Do it onclick <2> ok <1> Why change the method btw? <1> I would've just given the other button a different name and tested which was used. <2> it's not a real implementation, just and academic work <1> So? <2> that's why i don't find many information about it <1> Does "academic" mean "do it in a way which you wouldn't in real situations"? :-) <2> yes, it makes no sense but it's the way it is <2> :D <1> Makes bad habits. <2> can i post 5 lines of code here? <1> Use a pastebin. <2> http://pastebin.com/592688 <2> Pilum, can you take a look? it's very short <1> onClick="CambiaMet_1" -> onClick="CambiaMet_1()" <2> it still doesn't work <2> i check it in $_SERVER['REQUEST_METHOD']; <2> it's that correct? <3> hello <1> You haven't named your form.. <3> can someone please help me? <1> sal`: That would depend on what the problem is... <3> 1st i want to know if this is the correct function to input data in a text form field pressin a button: <3> http://www.nomorepasting.com/paste.php?pasteID=58899 <3> i'm using it and it seems to wirk <3> but its a replace selection, not an insert func <3> or is that the way to do it? <1> PHP_girl69: document.forms['youneedtoputthenameofyourformhere']
<3> Pilum: so? can ya help? <1> Insert-in-the-middle-of-the-text or append-to-the-text? <3> insert in the middle <3> insert where the carret is <3> where the cursor is <3> ok.. but now i need a little change ti that func and i don't know how to do it <3> i would like to insert a { before the inserted chars and a } after the inserted chars <3> the fuc must check if there already is a { on the right of the selection and a } on the left <3> if there aint any, it must insert them <3> is that hard to do? <2> Pilum: http://pastebin.com/592716 <1> I'm not sure how IE does it, but the else part seems to be largely correct. <2> i've higlighted important lines <3> oh!! another italian! <3> PHP_girl69: ciao <3> function cambiacod.. hehe thats italian stuff <3> :) <2> pretty good <2> it's spanish <3> hehe <3> almost the same <3> :) <1> sal`: Give me a min. <3> ok, pilum <1> Sheesh. <1> Takes one line to get it in gecko. IE is awkward. <1> PHP_girl69: You're using label incorrectly btw. <1> PHP_girl69: Found it. The first function messes up your script. <2> what's the problem with it? <1> Lots. <1> Using reserved names, using illegal shortcuts. <2> ok, correcting it... 8-) <1> PHP_girl69: http://www.html-channel.com/pastebin.php?id=3 <2> ok, thanks a lot <2> it seems it finally works! <2> :) <4> Pilum: sorry, got disconnected <3> con someone here please help me? <3> http://www.nomorepasting.com/paste.php?pasteID=58899 <3> this is an insert character func... need to change it so that the characters inserted are between { } like this {abc} <3> ok, thanks <5> hi <5> how can I obtain the frames of a page by javascript? so I know all the current frames displayed? <1> window.frames <1> That is presuming you don't have nested framesets. <5> :) <5> I was just now discovering the .documentElement.InnerHTML() <1> Is that so? <1> I've never seen either of those. <5> by that I can parse the whole page and If I'm unable to find a "special tag" of mine in the first lines, then it means my page is not in the correct frame :p <5> is that right? <1> I know of obj.innerHTML <1> And it sounds to me like you've discovered a very awkward way of doing something simple. <5> :) <5> well, check out http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dom/domoverview.asp for the .documentElement.InnerHTML() <5> and that's why I asked about the frames... <5> just that I can not find any doc on window.frames in http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/documentelement.asp :( <1> There is no InnerHTML() on that page <5> did you see the example ? <1> Yes, and it has innerHTML <5> ouch, my fault <1> window.frames is a collection (***ociative array) containing all the frames which are childs of the window. <5> so by window.frames.length you get the number of frames? <1> ... which are children of the window yes. <1> If you nest frames then those frames will have frame childs of their own. <1> window.frames['parentframename'].frames etc. <5> ok <5> by the way, I solved that problem of preloading images, and getting their original sizes...do you remember me? <1> I remember the problem. <5> :) <5> well, I simply sent the images along with their sizes to the window, so then I knew them without any preload <1> new Image(height,width)? <5> I had the filenames and their respective heights and widths p***ed as arguments to the page, then I did p = new Image(); p.src = ...; p.width = ...; p.height = ...; <1> Can be defined in new Image() as well, but that works too.
Return to
#javascript or Go to some related
logs:
#c++ #chatzone mirc trivia malti #linux belha malti streambuf mc++ what country administers greenland
disable flash in firefox #music^adikt undernet undernet skype key
|
|