|
From: Daniel N. <cj...@ma...> - 2003-12-30 06:06:19
|
Jason,
I read this post:
I was thinking that was what he was asking for <body
background='xxx.jpg'>. This could also be done with floating tables, but
I didnt want to get all 'in-depth' with the HTML route as I am already
contemplating other technologies.
regarding the floorplan.pl code. I have made a jpg of the floorplan of my
apartment that is fairly detailed. I am wanting to make this image the
background of the page that floorplan.pl generates. That way, instead of
added group locations to define rooms, I can just add item locations
(since the icons are alpha-channel'd, I am assuming that the light
locations would appear in the rooms on the background image correctly, as
long as I get their coordinates correct.
I am just starting to learn Perl and I cannot figure out where to put the
background in. Thanks for the help.
Hopefully this will hold me over until those "other technologies" are
available :)
-Daniel
|
|
From: Jason S. <ja...@sh...> - 2003-12-30 15:28:11
|
Scott / Dan, If I were to attempt this, I would make the following changes in the floorplan.pl file: - Search / replace "border='1'" to "border='0'" - Add a <body background=> tag at the beginning of the code file (after the meta tag is set). I made the icons alpha as you mentioned, so it should just appear fine. The only tweaking other than that would be to shift the background image to match the table generation. -J On Tue, 30 Dec 2003, Daniel Nadeau wrote: > Jason, > I read this post: > > I was thinking that was what he was asking for <body > background='xxx.jpg'>. This could also be done with floating tables, but > I didnt want to get all 'in-depth' with the HTML route as I am already > contemplating other technologies. > > regarding the floorplan.pl code. I have made a jpg of the floorplan of my > apartment that is fairly detailed. I am wanting to make this image the > background of the page that floorplan.pl generates. That way, instead of > added group locations to define rooms, I can just add item locations > (since the icons are alpha-channel'd, I am assuming that the light > locations would appear in the rooms on the background image correctly, as > long as I get their coordinates correct. > I am just starting to learn Perl and I cannot figure out where to put the > background in. Thanks for the help. > Hopefully this will hold me over until those "other technologies" are > available :) > -Daniel > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > > |
|
From: Jason S. <ja...@sh...> - 2003-12-30 16:01:19
|
One more note: The reason I didnt shove this in the code from day one: The Tables will shift depending on browser window size and browser type. Didnt think it would be all that useful for general use. -J On Tue, 30 Dec 2003, Jason Sharpee wrote: > > Scott / Dan, > > If I were to attempt this, I would make the following changes > in the floorplan.pl file: > > - Search / replace "border='1'" to "border='0'" > - Add a <body background=> tag at the beginning of the code file (after the meta tag is > set). > > I made the icons alpha as you mentioned, so it should > just appear fine. The only tweaking other than that would be to shift > the background image to match the table generation. > > > -J > > > On Tue, 30 Dec 2003, Daniel Nadeau wrote: > > > Jason, > > I read this post: > > > > I was thinking that was what he was asking for <body > > background='xxx.jpg'>. This could also be done with floating tables, but > > I didnt want to get all 'in-depth' with the HTML route as I am already > > contemplating other technologies. > > > > regarding the floorplan.pl code. I have made a jpg of the floorplan of my > > apartment that is fairly detailed. I am wanting to make this image the > > background of the page that floorplan.pl generates. That way, instead of > > added group locations to define rooms, I can just add item locations > > (since the icons are alpha-channel'd, I am assuming that the light > > locations would appear in the rooms on the background image correctly, as > > long as I get their coordinates correct. > > I am just starting to learn Perl and I cannot figure out where to put the > > background in. Thanks for the help. > > Hopefully this will hold me over until those "other technologies" are > > available :) > > -Daniel > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > ________________________________________________________ > > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > > |
|
From: Daniel N. <cj...@ma...> - 2003-12-30 18:09:31
|
On Tue, 30 Dec 2003 09:36:54 -0600, Jason Sharpee wrote:
>
> Scott / Dan,
>
> If I were to attempt this, I would make the following changes
> in the floorplan.pl file:
>
> - Search / replace "border='1'" to "border='0'"
> - Add a <body background=> tag at the beginning of the code file (after the meta tag is
> set).
>
> I made the icons alpha as you mentioned, so it should
> just appear fine. The only tweaking other than that would be to shift
> the background image to match the table generation.
>
Jason,
I wasn't able to find any border=1 or "border='1'" . It seems all of them were already
set to border=0 Hope I am not missing something. Also, I added the
following line.
$html .= "<body background='floorplan.jpg'>"
after these lines
my $html = "<meta http-equiv='refresh' content='10;URL='>";
#$html .= "<title>Floorplan</title>";
However, I think my code is messed up. I apologize for any inconvenience,
as I know this is probably stupid newbie errors.
-Daniel
|
|
From: scott <sco...@sw...> - 2003-12-30 23:42:32
|
While playing, I stuck my "background=/pathto/floorplan.jpg" in the table definition. So, the background image was part of the table, not the "whole" document. From what I can tell, background images in tables are 'supported' but not part of the true html 'standard'??????? I can't get to my file at this moment to include the actual html code. ----- Original Message ----- From: "Daniel Nadeau" <cj...@ma...> To: <mis...@li...> Sent: Tuesday, December 30, 2003 12:06 AM Subject: [misterhouse-users] Jason - floorplan question > Jason, > I read this post: > > I was thinking that was what he was asking for <body > background='xxx.jpg'>. This could also be done with floating tables, but > I didnt want to get all 'in-depth' with the HTML route as I am already > contemplating other technologies. > > regarding the floorplan.pl code. I have made a jpg of the floorplan of my > apartment that is fairly detailed. I am wanting to make this image the > background of the page that floorplan.pl generates. That way, instead of > added group locations to define rooms, I can just add item locations > (since the icons are alpha-channel'd, I am assuming that the light > locations would appear in the rooms on the background image correctly, as > long as I get their coordinates correct. > I am just starting to learn Perl and I cannot figure out where to put the > background in. Thanks for the help. > Hopefully this will hold me over until those "other technologies" are > available :) > -Daniel > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
From: bazyle2002 <baz...@nt...> - 2003-12-31 03:07:12
|
I am probably showing my ignorance of html here but when I tried
adding a background image
previously it didn't work at all.
I deduced that the background="xxxx" bit had to be inside the <body>
tag, but in floorplan.pl this
tag is genearated by the call to &html_page('FloorPlan', $html); so
just adding it aftr the
meta tag didn't work. I only just tried writing my own html
generating code and
realised how easy adding the whole <body background etc> would be.
This "alpha channel" is completely new to me, so some research needed.
By coincidence over the last couple of days I wrote half a program to
use CSS and Map techniques.
So far I have clickable light bulbs overlaid over the (modified)
distribution floorplan.gif over
over individual room sized coloured 'carpets' over two layers of
garden gifs. It's rather slow
but the effect is great.
Anyone else tried CSS?
Baz
--- In mis...@ya..., "scott" <scottjohnson@s...> wrote:
> While playing, I stuck my "background=/pathto/floorplan.jpg" in the
table
> definition. So, the background image was part of the table, not
the "whole"
> document. From what I can tell, background images in tables
are 'supported'
> but not part of the true html 'standard'???????
>
> I can't get to my file at this moment to include the actual html
code.
>
>
> ----- Original Message -----
> From: "Daniel Nadeau" <cjax@m...>
> To: <misterhouse-users@l...>
> Sent: Tuesday, December 30, 2003 12:06 AM
> Subject: [misterhouse-users] Jason - floorplan question
>
>
> > Jason,
> > I read this post:
> >
> > I was thinking that was what he was asking for <body
> > background='xxx.jpg'>. This could also be done with floating
tables, but
> > I didnt want to get all 'in-depth' with the HTML route as I am
already
> > contemplating other technologies.
> >
> > regarding the floorplan.pl code. I have made a jpg of the
floorplan of my
> > apartment that is fairly detailed. I am wanting to make this
image the
> > background of the page that floorplan.pl generates. That way,
instead of
> > added group locations to define rooms, I can just add item
locations
> > (since the icons are alpha-channel'd, I am assuming that the light
> > locations would appear in the rooms on the background image
correctly, as
> > long as I get their coordinates correct.
> > I am just starting to learn Perl and I cannot figure out where to
put the
> > background in. Thanks for the help.
> > Hopefully this will hold me over until those "other technologies"
are
> > available :)
> > -Daniel
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: IBM Linux Tutorials.
> > Become an expert in LINUX or just sharpen your skills. Sign up
for IBM's
> > Free Linux Tutorials. Learn everything from the bash shell to
sys admin.
> > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> > ________________________________________________________
> > To unsubscribe from this list, go to:
> http://sourceforge.net/mail/?group_id=1365
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills. Sign up for
IBM's
> Free Linux Tutorials. Learn everything from the bash shell to sys
admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ________________________________________________________
> To unsubscribe from this list, go to: http://sourceforge.net/mail/?
group_id=1365
|
|
From: Robert R. <ro...@fr...> - 2003-12-31 10:35:05
|
Baz,
could you share your floorplan work to community ?
Regards,
Robert.
----- Original Message -----
From: "bazyle2002" <baz...@nt...>
To: <mis...@li...>
Sent: Wednesday, December 31, 2003 4:07 AM
Subject: Re: [misterhouse-users] Jason - floorplan question
>
> I am probably showing my ignorance of html here but when I tried
> adding a background image
> previously it didn't work at all.
> I deduced that the background="xxxx" bit had to be inside the <body>
> tag, but in floorplan.pl this
> tag is genearated by the call to &html_page('FloorPlan', $html); so
> just adding it aftr the
> meta tag didn't work. I only just tried writing my own html
> generating code and
> realised how easy adding the whole <body background etc> would be.
> This "alpha channel" is completely new to me, so some research needed.
> By coincidence over the last couple of days I wrote half a program to
> use CSS and Map techniques.
> So far I have clickable light bulbs overlaid over the (modified)
> distribution floorplan.gif over
> over individual room sized coloured 'carpets' over two layers of
> garden gifs. It's rather slow
> but the effect is great.
> Anyone else tried CSS?
> Baz
>
> --- In mis...@ya..., "scott" <scottjohnson@s...> wrote:
> > While playing, I stuck my "background=/pathto/floorplan.jpg" in the
> table
> > definition. So, the background image was part of the table, not
> the "whole"
> > document. From what I can tell, background images in tables
> are 'supported'
> > but not part of the true html 'standard'???????
> >
> > I can't get to my file at this moment to include the actual html
> code.
> >
> >
> > ----- Original Message -----
> > From: "Daniel Nadeau" <cjax@m...>
> > To: <misterhouse-users@l...>
> > Sent: Tuesday, December 30, 2003 12:06 AM
> > Subject: [misterhouse-users] Jason - floorplan question
> >
> >
> > > Jason,
> > > I read this post:
> > >
> > > I was thinking that was what he was asking for <body
> > > background='xxx.jpg'>. This could also be done with floating
> tables, but
> > > I didnt want to get all 'in-depth' with the HTML route as I am
> already
> > > contemplating other technologies.
> > >
> > > regarding the floorplan.pl code. I have made a jpg of the
> floorplan of my
> > > apartment that is fairly detailed. I am wanting to make this
> image the
> > > background of the page that floorplan.pl generates. That way,
> instead of
> > > added group locations to define rooms, I can just add item
> locations
> > > (since the icons are alpha-channel'd, I am assuming that the light
> > > locations would appear in the rooms on the background image
> correctly, as
> > > long as I get their coordinates correct.
> > > I am just starting to learn Perl and I cannot figure out where to
> put the
> > > background in. Thanks for the help.
> > > Hopefully this will hold me over until those "other technologies"
> are
> > > available :)
> > > -Daniel
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: IBM Linux Tutorials.
> > > Become an expert in LINUX or just sharpen your skills. Sign up
> for IBM's
> > > Free Linux Tutorials. Learn everything from the bash shell to
> sys admin.
> > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> > > ________________________________________________________
> > > To unsubscribe from this list, go to:
> > http://sourceforge.net/mail/?group_id=1365
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: IBM Linux Tutorials.
> > Become an expert in LINUX or just sharpen your skills. Sign up for
> IBM's
> > Free Linux Tutorials. Learn everything from the bash shell to sys
> admin.
> > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> > ________________________________________________________
> > To unsubscribe from this list, go to: http://sourceforge.net/mail/?
> group_id=1365
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
> Free Linux Tutorials. Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ________________________________________________________
> To unsubscribe from this list, go to:
http://sourceforge.net/mail/?group_id=1365
>
|
|
From: bazyle2002 <baz...@nt...> - 2003-12-31 21:36:58
|
Here is a link to an explanation, demo, and the code. http://homepage.ntlworld.com/baz.butcher/mh/atest/Explanation.html Sorry it's not a zip but it has taken me hours to get all the bits to work in this context and it's easier to update as individual files. Note you need 2.82 or later to have the fp-light-on gif. baz --- In mis...@ya..., "Robert Rozman" <rozman@f...> wrote: > Baz, > > could you share your floorplan work to community ? > > Regards, > > Robert. > > ----- Original Message ----- > From: "bazyle2002" <baz.butcher@n...> > To: <misterhouse-users@l...> > Sent: Wednesday, December 31, 2003 4:07 AM > Subject: Re: [misterhouse-users] Jason - floorplan question > >. > > By coincidence over the last couple of days I wrote half a program to > > use CSS and Map techniques. > > So far I have clickable light bulbs overlaid over the (modified) > > distribution floorplan.gif over > > over individual room sized coloured 'carpets' over two layers of > > garden gifs. It's rather slow > > but the effect is great. > > Anyone else tried CSS? > > Baz > >_id=1365 |