Re: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)
On 6/4/05, Ryan A [EMAIL PROTECTED] wrote: Hey, .swf files are not cached by the browsers? Seems they are, so you don't need to care about frames. Simply output the html needed to load the flash file each time, the flash will be downloaded only once. .. Yep, but the animation and the intro music will play each time...which I am guessing can be quite irritating. .. It's very irritating everytime, even the first time. And it might very well be the reason why it's also the last time. :-) its for a womens sitemostly beauty tips, household tips and whatever else they talk about, so I dont think they will find it too irritating...the first time, but if it keeps reloading I'm pretty sure they will get p!ssedso back to the main qframes? iframes? something else? what? Personally I reckon: a) you should simplify that flash banner quite a bit. It keeps animating for a long time(forever?). You're drawing the readers attention away from the site, and to a flash banner. I think for subsequent pages, there should be no animation(at all), and for the initial page it should have stopped completely after 5-7 seconds. b) to implement this, personally I'd inject a querystring(GET) variable into every hyperlink or form, and have flash prevent the use of animation if such a variable is set. That way if people leave the site and comeback, they'll see the animation. This means they'll see your hard work often enough to appreciate it, but not often enough to piss them off. c) I'd suggest providing an image alternative - just incase the viewers don't have flash. Thanks, Ryan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 6/4/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)
/* Personally I reckon: a) you should simplify that flash banner quite a bit. It keeps animating for a long time(forever?). You're drawing the readers attention away from the site, and to a flash banner. I think for subsequent pages, there should be no animation(at all), and for the initial page it should have stopped completely after 5-7 seconds. b) to implement this, personally I'd inject a querystring(GET) variable into every hyperlink or form, and have flash prevent the use of animation if such a variable is set. That way if people leave the site and comeback, they'll see the animation. This means they'll see your hard work often enough to appreciate it, but not often enough to piss them off. */ ´ Thanks mate, good suggestions, I'll try to use all or most of them. Cheers, Ryan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 6/4/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)
Ryan A wrote: I had a real good flash header which she too liked, so I modified the header and she really liked it, problem is, its around 230kb to load, so I thought I'll put it in a frame (top frame - header, bottom frame- content and forum) so the flash part won't reload on each page request. .swf files are not cached by the browsers? Seems they are, so you don't need to care about frames. Simply output the html needed to load the flash file each time, the flash will be downloaded only once. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)
On 6/4/2005 5:30:14 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote: Ryan A wrote: I had a real good flash header which she too liked, so I modified the header and she really liked it, problem is, its around 230kb to load, so I thought I'll put it in a frame (top frame - header, bottom frame- content and forum) so the flash part won't reload on each page request. .swf files are not cached by the browsers? Seems they are, so you don't need to care about frames. Simply output the html needed to load the flash file each time, the flash will be downloaded only once. Hey, Thanks for replying. Yep, but the animation and the intro music will play each time...which I am guessing can be quite irritating. Cheers, Ryan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 6/4/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)
Ryan A wrote: On 6/4/2005 5:30:14 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote: Ryan A wrote: I had a real good flash header which she too liked, so I modified the header and she really liked it, problem is, its around 230kb to load, so I thought I'll put it in a frame (top frame - header, bottom frame- content and forum) so the flash part won't reload on each page request. .swf files are not cached by the browsers? Seems they are, so you don't need to care about frames. Simply output the html needed to load the flash file each time, the flash will be downloaded only once. Hey, Thanks for replying. Yep, but the animation and the intro music will play each time...which I am guessing can be quite irritating. It's very irritating everytime, even the first time. And it might very well be the reason why it's also the last time. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)
Hey, .swf files are not cached by the browsers? Seems they are, so you don't need to care about frames. Simply output the html needed to load the flash file each time, the flash will be downloaded only once. .. Yep, but the animation and the intro music will play each time...which I am guessing can be quite irritating. .. It's very irritating everytime, even the first time. And it might very well be the reason why it's also the last time. :-) its for a womens sitemostly beauty tips, household tips and whatever else they talk about, so I dont think they will find it too irritating...the first time, but if it keeps reloading I'm pretty sure they will get p!ssedso back to the main qframes? iframes? something else? what? Thanks, Ryan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 6/4/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)
Since its a forum and she is not doing any advertising its important the search engines index the site properly or shes going to have a big forum with no visitors. Then I read that the search engines dont like frames muchso I was thinking of using iframes and then I read about the evils of iframes...so I thought I'll ask you guys for your opinions/suggestions as I'm dead outa ideas and a bit confused...any alternate ideas too would be appreciated. As a compromise solution, you could greet visitors to the forum with a welcoming 'splash' page that displays your flash animation etc (please, please put a 'skip intro' link for the sake of repeat visitors) and then pass to your forum page(s). You could even put a static jpg at the top of the forum of the final image (ie once all that funky animation has played out) of your flash file, if you want to carry it over for a consistent look / feel. Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)
Hey, Thanks for replying. Since its a forum and she is not doing any advertising its important the search engines index the site properly or shes going to have a big forum with no visitors. Then I read that the search engines dont like frames muchso I was thinking of using iframes and then I read about the evils of iframes...so I thought I'll ask you guys for your opinions/suggestions as I'm dead outa ideas and a bit confused...any alternate ideas too would be appreciated. As a compromise solution, you could greet visitors to the forum with a welcoming 'splash' page that displays your flash animation etc (please, please put a 'skip intro' link for the sake of repeat visitors) and then pass to your forum page(s). Hehe, not too many people here who like flash eh? Have a look at the flash file and tell me what you think...it will be on the top part of the page: http://a2ztips.com/a2ztips/forum/test/test1.swf as you can see I cant really make that as an intro file and then skip to the forum You could even put a static jpg at the top of the forum of the final image (ie once all that funky animation has played out) of your flash file, if you want to carry it over for a consistent look / feel. Thats a good idea, problem is the links for the navigation is on the flash file (http://a2ztips.com/a2ztips/forum/test/test1.swf - not yet linked) And if you are interested, heres the forum: http://a2ztips.com/a2ztips/forum/ Thanks, Ryan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 6/4/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)
perhaps you can change the swf to non-play state with a JavaScript on all of the pages other than the first one. in the swf OBJECT tag have the following id tag: id=test1 in the EMBED tag have the following name tag: NAME=test1 in the body of all pages other than the first BODY onload=StopFlashMovie(); Somewhere in the HEAD place the following javascript function: SCRIPT LANGUAGE=JavaScript function getFlashMovieObject() { if (navigator.appName.indexOf(Microsoft Internet)!=-1) { return window.test1; } else { return window.document.test1; } } function StopFlashMovie() { var flashMovie=getFlashMovieObject(); flashMovie.StopPlay(); } /SCRIPT Remember that if you change the name from test1 to something else, it must be change everywhere in the functions also. HTH, Mark Cain - Original Message - From: Ryan A [EMAIL PROTECTED] To: php php-general@lists.php.net Sent: Saturday, June 04, 2005 11:19 AM Subject: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T) Hey, The end of the world is at hand how do I know this? coz my mom wants her own site! My mom; the person who hated computers coz those 'things' are too damn complicated! Anyway, thought I'll do it for her to kind of repay a bit of carrying me for whole 9 months, and tough delivery etc etc..dont know if its true coz I cant remember, but am taking her word for it... She wanted a small site with a forum on it, no problem there...I made it for her using one of the free forums that members of this list suggested (thanks!) and now she has around 35 members so she wants a design to go with it instead of just going directly to the forum. Yesterday was her B'day so am doing it now :-p I had a real good flash header which she too liked, so I modified the header and she really liked it, problem is, its around 230kb to load, so I thought I'll put it in a frame (top frame - header, bottom frame- content and forum) so the flash part won't reload on each page request. Since its a forum and she is not doing any advertising its important the search engines index the site properly or shes going to have a big forum with no visitors. Then I read that the search engines dont like frames muchso I was thinking of using iframes and then I read about the evils of iframes...so I thought I'll ask you guys for your opinions/suggestions as I'm dead outa ideas and a bit confused...any alternate ideas too would be appreciated. Thanks and have a great weekend. Cheers, Ryan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 6/4/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)
You could write a script which uses a cookie to remember which users have seen the animation or not, I personally wouldnt use frames but thats just my opinion. Ryan A wrote: On 6/4/2005 5:30:14 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote: Ryan A wrote: I had a real good flash header which she too liked, so I modified the header and she really liked it, problem is, its around 230kb to load, so I thought I'll put it in a frame (top frame - header, bottom frame- content and forum) so the flash part won't reload on each page request. .swf files are not cached by the browsers? Seems they are, so you don't need to care about frames. Simply output the html needed to load the flash file each time, the flash will be downloaded only once. Hey, Thanks for replying. Yep, but the animation and the intro music will play each time...which I am guessing can be quite irritating. Cheers, Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)
Ryan A wrote: Hey, Thanks for replying. Since its a forum and she is not doing any advertising its important the search engines index the site properly or shes going to have a big forum with no visitors. Then I read that the search engines dont like frames muchso I was thinking of using iframes and then I read about the evils of iframes...so I thought I'll ask you guys for your opinions/suggestions as I'm dead outa ideas and a bit confused...any alternate ideas too would be appreciated. As a compromise solution, you could greet visitors to the forum with a welcoming 'splash' page that displays your flash animation etc (please, please put a 'skip intro' link for the sake of repeat visitors) and then pass to your forum page(s). Hehe, not too many people here who like flash eh? Have a look at the flash file and tell me what you think...it will be on the top part of the page: http://a2ztips.com/a2ztips/forum/test/test1.swf as you can see I cant really make that as an intro file and then skip to the forum You could even put a static jpg at the top of the forum of the final image (ie once all that funky animation has played out) of your flash file, if you want to carry it over for a consistent look / feel. Thats a good idea, problem is the links for the navigation is on the flash file (http://a2ztips.com/a2ztips/forum/test/test1.swf - not yet linked) weird, I see only white screen. certainly, iframe will not help you. iframe is loaded each time together with the main page, so the flash will play anyway. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] frames compatibility
Jason Barnett wrote: Hey all, I'm working on a project and considering splitting up the pages into frames. I'm mostly wondering are the frames implementations across browsers relatively similar? might want to try this in an html list. -- Raditha Dissanayake. - http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Frames and variables
[snip] I have a site that uses frames. On one frame i have buttons to select the language. When user hits the button to select the language it is supposed to change in both frames. Any idea how to do this? [/snip] Please read http://www.w3.org/TR/html4/present/frames.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames
At 13:29 17-3-03, you wrote: Hi, I am designing a system which will have a different menu option for different users i.e. admin/standard etc. If I am using frames how could I change the page a user sees in the top frame for each different type of user? I know how to do this with standard pages, its just the frames that are pickling my brain! either redesign your site so the top frame is included by PHP in stead of by the frame function, or in the frame you refresh add a line of javascript to refresh the topframe, e.g. $usertopframepage='page13.html'; $mainpage.= script!--\n window.topframename.location.href='http://www.mydomain.org/.$usertopframepage.''; \n //--/script; it is important to add the http://www.mydomain.org part because Netscape and Mozilla javascript need that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames
At 13:29 17.03.2003, shaun said: [snip] I am designing a system which will have a different menu option for different users i.e. admin/standard etc. If I am using frames how could I change the page a user sees in the top frame for each different type of user? I know how to do this with standard pages, its just the frames that are pickling my brain! [snip] Either reload the master frameset containing the correct hrefs, or use JavaScript in your main pages onLoad handler to change the location of another frame, something like that (untested): hFrame = parent.topframe; // topframe is the name of the frame if (hFrame) hFrame.location.href = 'otherurl'; -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: php, frames
Adrian, one thing you can do is point the a tag to a target of the lower frame and in the lower frame you can look for the tableID and get the information from the database. echo trtda href=\lowerframe.php?tableID=$row['id']\ target=\lowerframe\{$row['id']}/a/td; then you could do something like: if ($tableID) { $query = mysql_query(SELECT......WHERE tableID = '$tableID'); while ($row = mysql_fetch_array($query)){ ... display something ... } } --aaron Adrian Partenie [EMAIL PROTECTED] wrote in message 004b01c28d67$52fe9880$0bc46150@olimp">news:004b01c28d67$52fe9880$0bc46150@olimp... Hello, I could use some help. I have two framed pages, upperframe.html and lowerframe.html. In upper frame.html: echo table border=1; echo trtd/tdtdID/tdtdSubject/tdtdOpen/tdtdClose/td/tr; while($row = MySQL_fetch_array($result)) { echo trtdforminput type=\checkbox\ method=\post\ name=\linia\/form/td; echo tda href=\\ target=\_parent\{$row['id']}/a/td; ?? echo td{$row['subject']}/td; echo td{$row['open']}/td; echo td{$row['close']}/td/tr; } echo /table; I display the content of the main table, which has an autoincrement index. For every index I have another table, something like tableID. What I want is to press on the id from a row in upperframe table and to display in lowerframe the tableID. How can I do that? Thanks a lot, Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames and PHP
Yo, i found out how it is working. I just have to make some adds to the url, as i did to the window.open() too. Was easy, but if you never made it before ;OP Thanx Schura - Original Message - From: Brian V Bonini [EMAIL PROTECTED] To: Sascha Braun [EMAIL PROTECTED]; PHP Mailingliste [EMAIL PROTECTED] Sent: Thursday, August 15, 2002 11:09 PM Subject: RE: [PHP] Frames and PHP Are you saying $id is not passed some of your frames content but not others or it does nto get passed at all? -Original Message- From: Sascha Braun [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:34 PM To: PHP Mailingliste Subject: [PHP] Frames and PHP I have some links wich open a new window, wich contains some frames. Each frame selects something from a database, based on an id i put an the window open link. But the ID never enters one of my frames, it terribly stays outside, maybe in the frame set, what can I da about that? Schura -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames and PHP
Now my frameset looks like this: !-- frames -- frameset rows=25,*,25 border=0 frame name=popwinhead src=includes/popwin.head.inc.php?id=? echo $_REQUEST['id'] ? marginwidth=0 marginheight=0 scrolling=no frameborder=0 noresize frame name=popwincontent src=includes/popwin.inc.php?id=? echo $_REQUEST['id'] ? marginwidth=0 marginheight=0 scrolling=auto frameborder=0 noresize frame name=popwinfoot src=includes/popwin.foot.inc.php marginwidth=0 marginheight=0 scrolling=no frameborder=0 noresize /frameset works fine! - Original Message - From: Brian V Bonini [EMAIL PROTECTED] To: Sascha Braun [EMAIL PROTECTED]; PHP Mailingliste [EMAIL PROTECTED] Sent: Thursday, August 15, 2002 11:09 PM Subject: RE: [PHP] Frames and PHP Are you saying $id is not passed some of your frames content but not others or it does nto get passed at all? -Original Message- From: Sascha Braun [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:34 PM To: PHP Mailingliste Subject: [PHP] Frames and PHP I have some links wich open a new window, wich contains some frames. Each frame selects something from a database, based on an id i put an the window open link. But the ID never enters one of my frames, it terribly stays outside, maybe in the frame set, what can I da about that? Schura -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Frames and PHP
Are you saying $id is not passed some of your frames content but not others or it does nto get passed at all? -Original Message- From: Sascha Braun [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 4:34 PM To: PHP Mailingliste Subject: [PHP] Frames and PHP I have some links wich open a new window, wich contains some frames. Each frame selects something from a database, based on an id i put an the window open link. But the ID never enters one of my frames, it terribly stays outside, maybe in the frame set, what can I da about that? Schura -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] frames and variables
The only way to talk to multiple frames is with javascript. yuk. Justin French on 15/08/02 2:37 PM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Has anyone here designed php sites that use a combination of php pages and html pages? What I want to know is how to pass a variable from nav_frame.php (at the top) to itself, AND to the data.php frame (lower frame, main body) I can pass variables to itself, (with the ?page_name=content.htm thingie attached to links, but I don't know how to make this accessible to both frames at the same time. Help appreciated, yes, I'm asking a lot of questions since this is a project for college and my due data is in 2 ... ooops 1 DAY! WhooHOO! - Vic __ Post your ad for free now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] frames and variables
You gotta be kidding me! - Vic -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 12:49 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] frames and variables The only way to talk to multiple frames is with javascript. yuk. Justin French on 15/08/02 2:37 PM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Has anyone here designed php sites that use a combination of php pages and html pages? What I want to know is how to pass a variable from nav_frame.php (at the top) to itself, AND to the data.php frame (lower frame, main body) I can pass variables to itself, (with the ?page_name=content.htm thingie attached to links, but I don't know how to make this accessible to both frames at the same time. Help appreciated, yes, I'm asking a lot of questions since this is a project for college and my due data is in 2 ... ooops 1 DAY! WhooHOO! - Vic __ Post your ad for free now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Post your ad for free now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] frames and variables
I think one of the (if not THE) best implementation of frames with PHP/Javascript (HTML,CSS...) is phpmyadmin... http://www.phpmyadmin.net/ Of course, there could be a lot of others... - E The only way to talk to multiple frames is with javascript. yuk. Justin French on 15/08/02 2:37 PM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Has anyone here designed php sites that use a combination of php pages and html pages? What I want to know is how to pass a variable from nav_frame.php (at the top) to itself, AND to the data.php frame (lower frame, main body) I can pass variables to itself, (with the "?page_name=content.htm" thingie attached to links, but I don't know how to make this accessible to both frames at the same time. Help appreciated, yes, I'm asking a lot of questions since this is a project for college and my due data is in 2 ... ooops 1 DAY! WhooHOO! - Vic __ Post your ad for free now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ $B%O%$%;%s%9$J>$r5$7Z$K9XF~(B MSN $B%7%g%C%T%s%0(B http://shopping.msn.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Frames JavaScript and PHP
PHP is server-side. You're discussing client-side issues. You'll need to find a way of submitting the information to the server and then PHP can process it from there. -Original Message- I am trying to get the value of a frames path into a PHP variable. Is it possible to access DOM values from PHP?? If not how do I set a PHP variable to the value of the window.frame.path that I get in javascript? This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Frames
Yes, But this is a JavaScript problem. Please ask elsewhere or look at the Google. Also, take a look here: http://developer.irt.org/script/script.htm Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -Original Message- From: Morten Nielsen [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 04, 2002 1:12 PM To: [EMAIL PROTECTED] Subject: [PHP] Frames Hi, I got a page with 2 frames. In the first one I have an IMG. Is it possible to get the URL from the second frame? Regards, Morten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Frames creating problems...
Well I have a website with frames. The problem here is that I have a serach box in the top frame and I want the results to be displayed in the other frame. Javascript! Use the OnCLick event of a button to take the value of the textbox and update the href of the other frame passing the contents of the textbox in the querystring. -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07763 620378 PGP Key available, send email with subject: Send PGP Key -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Frames creating problems...
on 12/10/01 10:03 AM, dhaval desai at [EMAIL PROTECTED] wrote: Well I have a website with frames. The problem here is that I have a serach box in the top frame and I want the results to be displayed in the other frame. This isn't the appropriate forum for the question since it isn't php related. That said, you should use the target attribute of the form tag. Set it to the name of the frame you wish the content to be in. HTH. Paul ?php while ($self != asleep) { $sheep_count++; } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Frames creating problems...
If you have the whole form in frame A and want the result in frame B then use form action=xyz.php target=frameB If you have the form in frame A and the search button in frame B then you'll have to use JavaScript A HREF=javaScript:parent.frames[1].FORMNAME.submit()GO!/A (you will have to replace frames[1] with frames[x] where x is the number of the frame. consult www.teamone.de/selfhtml/ for more informations about that) Stefan Rusterholz, [EMAIL PROTECTED] -- interaktion gmbh Stefan Rusterholz Zürichbergstrasse 17 8032 Zürich -- T. +41 1 253 19 55 F. +41 1 253 19 56 W3 www.interaktion.ch -- - Original Message - From: dhaval desai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 10, 2001 4:03 PM Subject: [PHP] Frames creating problems... Hello Guys, Well I have a website with frames. The problem here is that I have a serach box in the top frame and I want the results to be displayed in the other frame. I have seen this on lot of websites but now I am wondering how to do it when I am facing this problem.. Any help would be greately appreciated. Thanx to all Best Regards, Dhaval Desai __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Frames and Sessions
On Tue, 13 Nov 2001, Martín Marqués wrote: I have tried starting a session in the main frameset file, then adding ?=SID? to the URLs of the frame files, which sort of works but breaks where JavaScript is used for buttons in one of the frames. JavaScript doesn't seem to cope with the PHP tags. Append manually the ?=SID? (or session_name().=.session_id()) to the javascript code it works well :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]