[PHP] Re: possible jscript/php/frames question!!

2005-06-20 Thread JamesBenson

Ive never seen this happen with an image map.



Dont this work?





MAP Name=mymap
AREA Shape=rect Coords=25,180,125,280
 Href=http://www.example.com;
/MAP

IMG Src=/images/imagemap.gif Width=500 Height=300
Alt=Image Map Usemap=#mymap








bruce wrote:

hi...

i've got a problem where i'm trying to play with imagemaps. i created a test
image map, but when i select inside the image map, i 'see' the ?x,y from
the imagemap, appended to the url in the browser address bar... i get
http://foo.com?3,5 etc...

is there a way to prevent this from occuring??

i'd like to be able to select the imagemap, get the coordinate, and not have
the x,y mouse coordinate show up in the address bar...

i thought i could use an onClick, and go to a javascript function, but i
couldn't figure out how to get the mouse coordinates within the jscript
function.

if i slammed all this inside a frame, would that prevent the url-x,y
information from being displayed??

my sample code is below...

thanks

-bruce
[EMAIL PROTECTED]



---
[EMAIL PROTECTED] site]# cat map.php
?
  /*
 test for image maps...
  */
?
?
 $_self = $_SERVER['PHP_SELF'];
?

html
body
script language=javascript type=text/javascript
!--

function foo1(q)
{
//   str = window.location.search
//   document.write(fff +q+br);
// location.href=map.php;
// return true;
}
function foo(e)
{
//q = q+1;
 mX = event.clientX;
 mY = event.clientY;
//   str = window.location.search
   document.write(fff +mX+ y= +mY+br);
 location.href=map.php;
 return true;
}
// --
/script

!--
centera href=?=$_self;?img
--

center
!--
a href=?=$_self;? onclick =alert(self.location.search); return false
--
a href=ff.php onclick=
img src=imagemap.gif ISMAP/a/center
p
script language=javascript type=text/javascript
!--

str = location.search
 if(str)
 {
   document.write(fff +str+br);
   //location.href=map.php;
 }

// --
/script


/body
/html


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] possible jscript/php/frames question!!

2005-06-18 Thread Richard Lynch
On Fri, June 17, 2005 3:47 pm, bruce said:
 i've got a problem where i'm trying to play with imagemaps. i created a
 test
 image map, but when i select inside the image map, i 'see' the ?x,y from
 the imagemap, appended to the url in the browser address bar... i get
 http://foo.com?3,5 etc...

 is there a way to prevent this from occuring??

Sure.

Change your LINK to a FORM with an INPUT TYPE=image and use
METHOD=POST on the FORM tag.

form method=postinput type=image name=clicked
src=images/clicker.jpg/form
?php
  if (isset($clicked_x)){
echo ($clicked_x, $clicked_y)br /;
  }
?

I dunno why everybody else gave you such complicated answers.

It's still not a PHP question, though, except it's confusing PHP changes
.x and .y into _x and _y on the variable names because . is not
valid in variable names. :-)

There, that made this post on-topic.  Sort of.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] possible jscript/php/frames question!!

2005-06-17 Thread bruce
hi...

i've got a problem where i'm trying to play with imagemaps. i created a test
image map, but when i select inside the image map, i 'see' the ?x,y from
the imagemap, appended to the url in the browser address bar... i get
http://foo.com?3,5 etc...

is there a way to prevent this from occuring??

i'd like to be able to select the imagemap, get the coordinate, and not have
the x,y mouse coordinate show up in the address bar...

i thought i could use an onClick, and go to a javascript function, but i
couldn't figure out how to get the mouse coordinates within the jscript
function.

if i slammed all this inside a frame, would that prevent the url-x,y
information from being displayed??

my sample code is below...

thanks

-bruce
[EMAIL PROTECTED]



---
[EMAIL PROTECTED] site]# cat map.php
?
  /*
 test for image maps...
  */
?
?
 $_self = $_SERVER['PHP_SELF'];
?

html
body
script language=javascript type=text/javascript
!--

function foo1(q)
{
//   str = window.location.search
//   document.write(fff +q+br);
// location.href=map.php;
// return true;
}
function foo(e)
{
//q = q+1;
 mX = event.clientX;
 mY = event.clientY;
//   str = window.location.search
   document.write(fff +mX+ y= +mY+br);
 location.href=map.php;
 return true;
}
// --
/script

!--
centera href=?=$_self;?img
--

center
!--
a href=?=$_self;? onclick =alert(self.location.search); return false
--
a href=ff.php onclick=
img src=imagemap.gif ISMAP/a/center
p
script language=javascript type=text/javascript
!--

str = location.search
 if(str)
 {
   document.write(fff +str+br);
   //location.href=map.php;
 }

// --
/script


/body
/html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread Chris W. Parker
bruce mailto:[EMAIL PROTECTED]
on Friday, June 17, 2005 3:48 PM said:

 i've got a problem where i'm trying to play with imagemaps. i created
 a test image map, but when i select inside the image map, i 'see' the
 ?x,y from the imagemap, appended to the url in the browser address
 bar... i get http://foo.com?3,5 etc...
 
 is there a way to prevent this from occuring??

Ahh yes. I see the problem. There's no PHP!

But seriously, you need to switch the transaction mode from the default
value of reverse to the specification as outlined in RFQ4128 (i.e.
forward) and adjust the operator settings to be consistent with the
server adjustments... What's that you say? You didn't MAKE the server
adjustments yet? Oh geez...


I'm here all week. Remember to tip your waitress.


Chris.

p.s. This doesn't seem like a PHP issue so check this page:
http://curry.edschool.virginia.edu/go/WebTools/Imagemap/CSIM_SSIM.html.
Maybe it will help.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread bruce
chris...

i'll humour you.. although i'm pretty sure you have no idea as to what i'm
trying to acomplish.. or how to get to my goal...

the basic issue is to allow a user to click inside an image map, and to
translate the coordinates to something else, prior to sending the
information back to the server..

the solution to this appears to need to be a combination of jscript/php...
thus the posting...

creating the imagemap is trivial.
creating a jscript function that extracts the coordinate location
representing the mouse location appears to be a somewhat more interesting...

the primary issue is that i don't want to send the x,y coordinates in plain
site.


so i waste another 30 secs dealing with some clueless person...

peace..


-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: Friday, June 17, 2005 4:26 PM
To: [EMAIL PROTECTED]; php-general@lists.php.net
Subject: RE: [PHP] possible jscript/php/frames question!!


bruce mailto:[EMAIL PROTECTED]
on Friday, June 17, 2005 3:48 PM said:

 i've got a problem where i'm trying to play with imagemaps. i created
 a test image map, but when i select inside the image map, i 'see' the
 ?x,y from the imagemap, appended to the url in the browser address
 bar... i get http://foo.com?3,5 etc...

 is there a way to prevent this from occuring??

Ahh yes. I see the problem. There's no PHP!

But seriously, you need to switch the transaction mode from the default
value of reverse to the specification as outlined in RFQ4128 (i.e.
forward) and adjust the operator settings to be consistent with the
server adjustments... What's that you say? You didn't MAKE the server
adjustments yet? Oh geez...


I'm here all week. Remember to tip your waitress.


Chris.

p.s. This doesn't seem like a PHP issue so check this page:
http://curry.edschool.virginia.edu/go/WebTools/Imagemap/CSIM_SSIM.html.
Maybe it will help.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread Chris W. Parker
bruce mailto:[EMAIL PROTECTED]
on Friday, June 17, 2005 5:05 PM said:

 chris...
 
 i'll humour you.. although i'm pretty sure you have no idea as to
 what i'm trying to acomplish.. or how to get to my goal... 
 
 the basic issue is to allow a user to click inside an image map, and
 to translate the coordinates to something else, prior to sending the
 information back to the server..

Ooohh...

 the solution to this appears to need to be a combination of
 jscript/php... thus the posting... 

Actually it doesn't appear to be a mixture at all... It is solely the...
responsibility of javascript (or another client... side technology) to
do the transmalating... you speak of. PHP is completely... out... of
the... loop. ...

[snip/]

 so i waste another 30 secs dealing with some clueless person...

Come back when... you have a PHP question... and we can chat...



Chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] possible jscript/php/frames question!!

2005-06-17 Thread Tom Rogers
Hi,

Saturday, June 18, 2005, 8:47:58 AM, you wrote:
b hi...

b i've got a problem where i'm trying to play with imagemaps. i created a test
b image map, but when i select inside the image map, i 'see' the ?x,y from
b the imagemap, appended to the url in the browser address bar... i get
b http://foo.com?3,5 etc...

b is there a way to prevent this from occuring??

b i'd like to be able to select the imagemap, get the coordinate, and not have
b the x,y mouse coordinate show up in the address bar...

b i thought i could use an onClick, and go to a javascript function, but i
b couldn't figure out how to get the mouse coordinates within the jscript
b function.

b if i slammed all this inside a frame, would that prevent the url-x,y
b information from being displayed??

b my sample code is below...

b thanks

b -bruce
b [EMAIL PROTECTED]


b 
b ---
b [EMAIL PROTECTED] site]# cat map.php
b ?
b   /*
b  test for image maps...
b   */
?
b ?
b  $_self = $_SERVER['PHP_SELF'];
?

b html
b body
b script language=javascript type=text/javascript
b !--

b function foo1(q)
b {
b //   str = window.location.search
b //   document.write(fff +q+br);
b // location.href=map.php;
b // return true;
b }
b function foo(e)
b {
b //q = q+1;
b  mX = event.clientX;
b  mY = event.clientY;
b //   str = window.location.search
bdocument.write(fff +mX+ y= +mY+br);
b  location.href=map.php;
b  return true;
b }
// --
b /script

b !--
b centera href=?=$_self;?img
--

b center
b !--
b a href=?=$_self;? onclick =alert(self.location.search); return false
--
b a href=ff.php onclick=
b img src=imagemap.gif ISMAP/a/center
b p
b script language=javascript type=text/javascript
b !--

b str = location.search
b  if(str)
b  {
bdocument.write(fff +str+br);
b//location.href=map.php;
b  }

// --
b /script


b /body
b /html

A PHP solution to your problem is to save the x y co-ordinates in a
session and do a refresh, then get the values fom session.

Do something like

?php
session_start();
if(isset($_SESSION['x'])  isset($_SESSION['y'])){
  //do your thing here
  unset($_SESSION['x'];
  unset($_SESSION['y'];
}else{
  //get x and y from request variables here
  if($x  $y){
$_SESSION['x'] = $x;
$_SESSION['y'] = $y;
header('location: '.$_SERVER['PHP_SELF']);
exit;
  }else{
//show start page
  }
}
-- 
regards,
Tom

-- 
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)

2005-06-05 Thread Rory Browne
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)

2005-06-05 Thread Ryan A
/*
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



[PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)

2005-06-04 Thread Ryan A
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



Re: [PHP] Frames or iframes? (Basically The devil or deap sea or A rock and a hard place etc) - - - - (0T)

2005-06-04 Thread Marek Kilimajer

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)

2005-06-04 Thread Ryan A

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)

2005-06-04 Thread Marek Kilimajer

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)

2005-06-04 Thread Ryan A
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)

2005-06-04 Thread Murray @ PlanetThoughtful
 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)

2005-06-04 Thread Ryan A
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)

2005-06-04 Thread Mark Cain
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)

2005-06-04 Thread JamesBenson
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)

2005-06-04 Thread Marek Kilimajer

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



[PHP] frames compatibility

2004-07-03 Thread Jason Barnett
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?

I'm thinking that I'd use 3 frames split like this:
1.  Filelist of documents to edit
2.  A document editor
3.  A help index
Luckily I don't think I even need to share my session between the 
frames, but I do want to use a session for the document editor.  Has 
anyone done anything similar to this?  What compatibility issues are there?

I searched MARC and didn't find much of anything... only 5-7 problems 
reported for frames/KHTML frames/MSIE and frames/Mozilla.  Are frames 
really that stable?

Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] frames compatibility

2004-07-03 Thread raditha dissanayake
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


[PHP] Frames: how to get the url of the top frame?

2003-08-27 Thread Jean-Christian IMbeault
I am providing content for an other site. My content is getting shown in 
side a frame. My content contains links to other content I provide. It 
also has forms that the user can use to submit information.

The form's submit action depends on some information that the main site 
send to me in the url, i.e., http://bigsite.com/index.html?submit=actionName

The problem is that cannot find a way to access the URL form inside the 
frame. All the $_SERVER vars are relative to my frame.

Is there a way for me to access the top (parent?) frame's URL?

Thanks,

Jean-Christian Imbeault

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Frames and variables

2003-08-01 Thread Kalle Saarinen
Hi,

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?



Thanks

-Kalle


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Frames and variables

2003-08-01 Thread Jay Blanchard
[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



[PHP] Frames

2003-03-17 Thread shaun
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!

thanks for your help



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Frames

2003-03-17 Thread Chris Hayes
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

2003-03-17 Thread Ernest E Vogelsinger
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] php, frames

2002-11-16 Thread Adrian Partenie
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] Re: php, frames

2002-11-16 Thread Aaron
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




[PHP] Frames and PHP

2002-08-15 Thread Sascha Braun

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



Re: [PHP] Frames and PHP

2002-08-15 Thread Sascha Braun

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

2002-08-15 Thread Sascha Braun

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

2002-08-15 Thread Brian V Bonini

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




[PHP] frames and variables

2002-08-14 Thread victor

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

2002-08-14 Thread Justin French

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

2002-08-14 Thread vic

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

2002-08-14 Thread @ Edwin
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


[PHP] Frames JavaScript and PHP

2002-07-02 Thread Beeman

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?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Frames JavaScript and PHP

2002-07-02 Thread Lazor, Ed

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




[PHP] Frames

2002-05-04 Thread Morten Nielsen

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




RE: [PHP] Frames

2002-05-04 Thread Maxim Maletsky \(PHPBeginner.com\)

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] PHP Frames?

2002-02-25 Thread William Lovaton

You have to pass the params received in index.php to the rest of the
pages in the frames...

eg: http://mysite.com/index.php?s=1

so, the index.php script will looks something like this:


frameset cols=* rows=25%,* border=1 frameborder=1
  frame src=head.php? print ?s=$s ? name=menu;
  frame src=body.php? print ?s=$s ? name=main;
  frame src=foot.php? print ?s=$s ? name=foot;
/frameset


William.


El lun, 25-02-2002 a las 03:03, Jason Caldwell escribió:
 I'm trying to pass vars into a php (html) file that uses FRAMES -- top, main
 and bottom.
 
 The TOP frame has my menu items.  The MAIN frame will show the pages, and
 the BOTTOM frame will have my footer stuff --
 
 Now, when I click on a menu item in the TOP frame I want the TOP and MAIN
 frames to update.  My frame page is named: index.php and it links to
 head.php (goes in TOP frame), body.php (goes in MAIN frame), and footer.php
 (goes in BOTTOM frame.)
 
 So, what I tried (seems logical enough) is to simply call the INDEX.PHP file
 with some vars attached, like so a href=http://127.0.0.1/index.php?s=1
 target=_topLoad Page/a
 
 Within the Index.php Frames Page (which the var gets passed to) the other
 pages don't seem to recognize the var and simply do nothing --
 
 For example -- in the head.php file I have it update an image if s=1, and in
 the body.php file, if s=1 a certain page loads -- this all works fine
 without frames.
 
 Any suggestions -- I want to use frames if I can, and avoid Java.
 
 Thanks.
 Jason



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP Frames?

2002-02-24 Thread Jason Caldwell

I'm trying to pass vars into a php (html) file that uses FRAMES -- top, main
and bottom.

The TOP frame has my menu items.  The MAIN frame will show the pages, and
the BOTTOM frame will have my footer stuff --

Now, when I click on a menu item in the TOP frame I want the TOP and MAIN
frames to update.  My frame page is named: index.php and it links to
head.php (goes in TOP frame), body.php (goes in MAIN frame), and footer.php
(goes in BOTTOM frame.)

So, what I tried (seems logical enough) is to simply call the INDEX.PHP file
with some vars attached, like so a href=http://127.0.0.1/index.php?s=1
target=_topLoad Page/a

Within the Index.php Frames Page (which the var gets passed to) the other
pages don't seem to recognize the var and simply do nothing --

For example -- in the head.php file I have it update an image if s=1, and in
the body.php file, if s=1 a certain page loads -- this all works fine
without frames.

Any suggestions -- I want to use frames if I can, and avoid Java.

Thanks.
Jason



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Frames creating problems...

2001-12-10 Thread dhaval desai

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]




Re: [PHP] Frames creating problems...

2001-12-10 Thread Jon Farmer

 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...

2001-12-10 Thread Paul Burney

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...

2001-12-10 Thread Stefan Rusterholz

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]




[PHP] PHP FRAMES Question

2001-11-15 Thread Miles Thompson

This has probably been dealt with before, but I'm unable to get my link to 
open in the target frame, it always opens in the same frame.  This line of 
code:

printf(a href=\ %s?member_id=%s target=sub_detl \  %s /a \n, 
$target_url, $myrow[member_id], $myrow[member_id]);

typically expands, when the mouse pointer is placed over it, to:

http://hostname/sitename/adm_sub_dtl.php?member_id=T0003 target=sub_detl

This is the code for the page which creates the framesets ..

HTML
HEAD
 TITLESubscriber Administration/TITLE
/HEAD
FRAMESET rows=70%,30%
 FRAME name=sub_lst src=adm_sub_lst.php scrolling=auto
 FRAME name=sub_dtl src=adm_sub_dtl.php scrolling=auto
/FRAMESET
/HTML

I don't see any mysteries here, and it appears syntactically correct.

Any suggestions will be welcome - Miles Thompson


-- 
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] PHP FRAMES Question

2001-11-15 Thread Sam Masiello


In your printf statement, you are targetting  sub_detl whereas in your
frameset you name the frame sub_dtl.  Naturally, these values should
match.

HTH

Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]

- Original Message -
From: Miles Thompson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 15, 2001 12:41 PM
Subject: [PHP] PHP  FRAMES Question


 This has probably been dealt with before, but I'm unable to get my link to
 open in the target frame, it always opens in the same frame.  This line of
 code:

 printf(a href=\ %s?member_id=%s target=sub_detl \  %s /a \n,
 $target_url, $myrow[member_id], $myrow[member_id]);

 typically expands, when the mouse pointer is placed over it, to:

 http://hostname/sitename/adm_sub_dtl.php?member_id=T0003 target=sub_detl

 This is the code for the page which creates the framesets ..

 HTML
 HEAD
  TITLESubscriber Administration/TITLE
 /HEAD
 FRAMESET rows=70%,30%
  FRAME name=sub_lst src=adm_sub_lst.php scrolling=auto
  FRAME name=sub_dtl src=adm_sub_dtl.php scrolling=auto
 /FRAMESET
 /HTML

 I don't see any mysteries here, and it appears syntactically correct.

 Any suggestions will be welcome - Miles Thompson


 --
 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] PHP FRAMES Question

2001-11-15 Thread Miles Thompson

Richard,

Thanks. I missed that completely.

Miles

At 09:47 AM 11/15/01 -0800, Richard S. Crawford wrote:
Try:

printf(a href=\%s?member_id=%s\ 
target=\sub_detl\%s/a\n,$target_url, 
$myrow[member_id],$myrow[member_id]);

The target attribute must be outside of the quotes which contain the URL 
string, as such:

 a href=http://my.url.com; target=my_frame blah /a 

The way you had it rendered the link as:

 a href=http://my.ur.com target=my_fame blah /a 

which won't work.


At 09:41 AM 11/15/2001, you wrote:
This has probably been dealt with before, but I'm unable to get my link 
to open in the target frame, it always opens in the same frame.  This 
line of code:

printf(a href=\ %s?member_id=%s target=sub_detl \  %s /a \n, 
$target_url, $myrow[member_id], $myrow[member_id]);

typically expands, when the mouse pointer is placed over it, to:

http://hostname/sitename/adm_sub_dtl.php?member_id=T0003 target=sub_detl

This is the code for the page which creates the framesets ..


I don't see any mysteries here, and it appears syntactically correct.

Any suggestions will be welcome - Miles Thompson


Sliante,
Richard S. Crawford

http://www.mossroot.com
mailto:[EMAIL PROTECTED]
AIM: Buffalo2K   ICQ: 11646404  Y!: rscrawford
It is only with the heart that we see rightly; what is essential is 
invisible to the eye.  --Antoine de Saint Exupéry

Push the button, Max!


--
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] Frames and Sessions

2001-11-13 Thread Michael Hall

Hi All

I have a client who has presented me with a near finished website that uses
frames. She would like me to build a simple PHP cart into it. I've built simple
carts before without drama, but this one has me baffled. I have avoided using
frames in almost everything I've done to date and don't understand them that
well. I can't figure out how I'm going to maintain a session across the three
seperate HTML files in the frameset. 

Is there a way of doing this, or do I need to pull it all apart and have all
the parts just included into one PHP-generated HTML file?

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.

Thanks
Michael



-- 
##
Michael Hall
Web: http://openlearningcommunity.org
Mail1: [EMAIL PROTECTED]
Mail2: [EMAIL PROTECTED]
Ph/Fax: (+61 8) 8953 1442
##

-- 
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

2001-11-13 Thread Rodolfo Gonzalez

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]




[PHP] Frames, Sessions Search Engines

2001-07-27 Thread Jeroen Geusebroek

Hi there,

I have a question about how Search Engines handle sessions and frames.

Since my site uses frames, and i think search engines link to pages
individualy and not the
frameset, i wanted to use sessions to indicate if a user comes from a
search engine (then
it doesn't have a valid session) and if so just redirect the user to the
main page.

But i'm afraid that search engines will get redirected to the main page
everytime it try's to index
a page. What do you all think, and might there be another solution?

Thanks,

Jeroen Geusebroek

P.S. Please CC me in your reply, i'm not a member of the list.

--
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] Frames, PDF and links problem

2001-07-05 Thread Shrout, Ryan

Here is the problem I am facing now.  I have a site, with a sort-of shopping
cart but heavily modified for the job it does.  The site uses 2 frames: 1
for the cart and 1 for the content.

The customer has Acrobat PDF files that they want links in to add things to
the 'cart'.  If PDF files had the ability to add the target=cart
attribute, this would be a simple task.  However, I can't find it if it
does.  So, my current solution was to try this:  have the PDF file link to a
temp_add.php file in the same frame, that file then adds to the cart in
other frame, then reverts back to the sender by using the $HTTP_REFERER
variable.  For some reason, the $HTTP_REFERER variable is NULL when it comes
from a PDF file but reports just fine from a regular PHP file or HTML file.

Any ideas?

Ryan

-- 
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] Frames

2001-03-16 Thread Randy Johnson

is there a way in php if a page is supposed to be in frames and the user
tries to view it outside of the frame it automatically reloads the page into
the frame.

thanks

Randy


-- 
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] Frames

2001-03-16 Thread Randy Johnson

is there a way in php if a page is supposed to be in frames and the user
tries to view it outside of the frame it automatically reloads the page into
the frame.

thanks

Randy


-- 
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]