From andyg at ihug.co.nz Tue Apr 1 00:17:56 2003 From: andyg at ihug.co.nz (Andrew Gibson) Date: Tue, 1 Apr 2003 18:17:56 +1200 Subject: [Javascript] Moving elements References: Message-ID: <007301c2f816$702b4c90$3ae8adcb@k1n8i8> >>>>>>>>>>>>>>>>>>>>>>> I will submit some scripts of my own, that one can find them less practical than entertaining, something like making page elements absolutely positioned, after this becoming able to move them across the page, recording the move, playing it back or backwards, and what is most important for me, very short (few lines) and very fast executionable. >>>>>>>>>>>>>>>>>>>>>>> I've certainly been able to drag elements across the page witha script, at least in IE 5+ but I've never been able to get it slickly working in Netscape. I can mimic the window/outlook interface of dragging things around the screen, but its only effective for small images and text I've found. I tried doing it with a form once, but found half the form couldn't keep up with the drag! Cheers Andrew Gibson From light_wt at hotmail.com Tue Apr 1 00:36:13 2003 From: light_wt at hotmail.com (light_wt) Date: Tue, 1 Apr 2003 00:36:13 -0600 Subject: [Javascript] ? Need help on frame ? References: <007301c2f816$702b4c90$3ae8adcb@k1n8i8> Message-ID: Hi, I have more or less a redirect problem using frame in html code. I wonder if there is a clean solution using javascript. In html, I have these files: index.html (with background musicindex.mid), frameA.html, musicA.html, and contentA.html. >From a link in index.html, it will launch frameA.html with musicA.html and contentA.html. Inside of the contentA.html, there are the previous, top, and next buttons. As the musicA.html is playing along, clicking the top button goes back to the index.html using . The problem is when displaying index.html. The index.html is being display as part of the frame from frameA.html. Therefore, it is still playing the musicA.html from the frameA, rather than playing the musicindex.mid. What should I do to make the top button link in contentA.html to play the background muisic of index.html? Thanks. From andy78 at centrin.net.id Tue Apr 1 01:30:17 2003 From: andy78 at centrin.net.id (andy susanto) Date: Tue, 1 Apr 2003 14:30:17 +0700 Subject: [Javascript] Re: Javascript Digest, Vol 1, Issue 979 References: <20030331140012.26FDE309156@LaTech.edu> Message-ID: <000001c2f821$3e340140$1900a8c0@andy> Dan Costea, Thank You, for a light. Your script is work, and my problem sovled :) Thanks, andy > Message: 2 > Date: Mon, 31 Mar 2003 09:21:34 +0300 > From: "Dan Costea" > Subject: Re: [Javascript] window confirmation > To: "[JavaScript List]" > Message-ID: <003a01c2f74d$c7ae0c10$dfdea8c0 at pcdco> > Content-Type: text/plain; charset="iso-8859-1" > > > Hai, > > > > when i try to close parent window (default IE) i get window confirmation. > > How to close window parent without get window confirmation ? > > > > ps : IE 6 > > > > This question was disscussed before. So, here are the conclusions (works on > IE6 too): > > > ----- Original Message ----- > From: "Dan Costea" > To: > Sent: Thursday, July 25, 2002 9:24 AM > Subject: Re: [Javascript] Silent window.close... or a better idea > > > > I had exactly the same problem few months ago :o) > > Because of the security reasons, you cannot close a window without > > confirmation, if you didn't open that window with your js. But if you > really > > have no choice, you must lie the IE, by telling it that you opened that > > window you want to close! Here is the code: > > > > function cheatCloseWin () > > { > > win = top; > > > > // lying: > > win.opener = top; > > > > win.close (); > > } > > > > Dan. > > From dlovering at gazos.com Tue Apr 1 08:13:11 2003 From: dlovering at gazos.com (David T. Lovering) Date: Tue, 01 Apr 2003 07:13:11 -0700 Subject: [Javascript] ? Need help on frame ? References: Message-ID: <3E899E6E.C7E165C4@gazos.com> This reads like the script from the old Abbott & Costello gag "Who's on First?". I suspect I'll need both a directory map and a diagram of how your frames are linked together in order to visualize the exact nature of your problem. The way I interpret your remarks is as follows: DIRECTORY STRUCTURE: .\someDirectory index.html musicindex.mid (?) .\childDirectory contentA.html frameA.html musicA.html CODE STRUCTURE: index.html --> contentA.html -->