Background jpg does not become transparent.

T

TAV

Using FP 2003. At the page properties \ formatting tab I have checked the
"make it a watermark" box. However the image does not become
semi-transparent.

Any help would be appreicated.
 
C

Chris Leeds, MVP-FrontPage

I believe in that context watermark means it either doesn't scroll or that
it doesn't tile.
It's not like a watermark on paper. you'd have to make it look
semi-transparent with your image editor.

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
 
T

Thomas A. Rowe

You can't make a JPG image transparent.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
E

E. T. Culling

Try de-saturating your image to give it a 'transparent' look.
Eleanor

Chris Leeds said:
I believe in that context watermark means it either doesn't scroll or that
it doesn't tile.
It's not like a watermark on paper. you'd have to make it look
semi-transparent with your image editor.

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
--
 
T

Trevor L.

Well, as Eleanor said you can use a picture editor to lighten the colour as
much as you like. I had a background picture like this (nearly transparent)
on my Home Page (well all pages actually) but it took to long to load.

I enquired via this Newsgroup as to ways to reduce the size of the picture
(in KB) but it still took quite a lot, so I deleted it and stuck with a
plain background.

I also tried preloading the picture using Javascript, but I am not sure that
made a lot of difference - either that or my JS didn't work
--
Cheers,
Trevor L.



I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
T

Trevor L.

Thanks Rob,

URL http://tandcl.homemail.com.au/

I have tried washing out my background image and reinstated it on the
website. The file is now 162KB. Is this small enough?

It still seems to take a while to load.

Also, every time I switch to another page on the same site, all files appear
to download again (as shown on the IE status bar).

I have inserted javascript into the code for each html that uses images (at
least I think I have found all.)
It is code such as this (e.g. in
http://tandcl.homemail.com.au/index_top.html)
<head>
......
<script type="text/javascript">
if (document.images)
{a = new Image()
a.src = "images/04-08-24 1 Bird bath.jpg"
b = new Image()
b.src = "images/parchmnt.gif"
c = new Image()
c.src = "images/trevor_small.jpg"
d = new Image()
d.src = "images/carole_small.jpg"
}
</script>
......
</head>

Should this not download the image files?
If so, why does the download repeat every time?
Doesn't the system know whether the files are cached?
Should I only insert this code once (in the Home Page)?

Also, if I can get this sorted out so that I only download once, can the
code be made simpler?
e.g. can a,b,c,... be made an image array if such an animal exists?
Along the lines
Cached_imgs = new Image Array()
Cached_imgs[0].src = "images/04-08-24 1 Bird bath.jpg"
Cached_imgs[1].src = "images/parchmnt.gif"
....

OR
Cached_imgs = new Image Array("images/04-08-24 1 Bird bath.jpg" ,
"images/parchmnt.gif" , .....)

--
Many Thanks,
Trevor L.



I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
R

Ronx

You are re-loading the entire frameset in a new window with each link.
Name your frames, then in the contents page, change target="_blank" to
target="mainframename"

At 162K, your background image is extremely large.
A home page, complete with CSS, JavaScript, images, frame pages, frameset
page, should not be more than about 60K in total - about 15-20 seconds
download time on dialup. Yours totals 290K - a tad on the large side.

Finally, remove all spaces from file and folder names, spaces will break
links in some browsers.
And Firefox will not display the background image as a background.
 
T

Trevor L.

Ron,
I am not sure whether I have fixed what you covered in Para 1.

Please have a look at index.html. In sidebar.html, I have loaded all other
html files with target "index". This works, but I am fairly sure all the
loading of images occurs again. This is what I want to avoid.

I have removed the background image as I don't know how to reduce its size
any more. In Irfanview, I reduced the colour depth to 8BPP but this actually
increased the file size to 412KB, so I didn't transfer it.

I have replaced blanks with dashes in file names
--
Thanks,
Trevor L.



I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
S

Stefan B Rusynko

Your main right frameset name is "index_main" not target="index"
By setting your target in the left frame to target="index" you are reopening a new frameset for each page
- defeats the whole purpose of using frames



| Ron,
| I am not sure whether I have fixed what you covered in Para 1.
|
| Please have a look at index.html. In sidebar.html, I have loaded all other
| html files with target "index". This works, but I am fairly sure all the
| loading of images occurs again. This is what I want to avoid.
|
| I have removed the background image as I don't know how to reduce its size
| any more. In Irfanview, I reduced the colour depth to 8BPP but this actually
| increased the file size to 412KB, so I didn't transfer it.
|
| I have replaced blanks with dashes in file names
| --
| Thanks,
| Trevor L.
|
|
|
| I choose Polesoft Lockspam to fight spam, and you?
| http://www.polesoft.com/refer.html
|
|
 
T

Trevor L.

OK.

I can see that but I am confused, still

What target should I use? (_top and _parent both work but are they what I
want? _blank also works, giving a new window)

All I am trying to do is navigate between the various pages, each of which
are framesets. I also want to avoid having to reload the images every time I
change pages.

Any suggestions gratefully accepted.

I know several persons advise "do not use framesets", but I am trying to
keep the left side the same on every page and this seems a good way to do
it. I also want to keep the top the same except for the heading text, but I
haven't found a way yet to do this so I have set up separate top frames as
well as separate main frames.
--
Thanks (in advance)
Trevor L.



I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
T

Thomas A. Rowe

You should have a single frameset page, with 3 frames, top, left side and right. The top frame will
have a page that is basically your banner (site name / logo), this is set as the initial page for
this frame, the left frame will contain a page that has all of the link to the other pages in your
site that you want to load in the right frame. The right frame as initial page that load when the
frameset is first loaded, but it is changed as users click on links in the left frame.

Each frame has a name, this name is what you use a target value name.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
T

Trevor L.

Thanks Thomas,

It took a while to figure out how to code what you said to do, but I think I
got it right.

What I hope I achieved was to change the main frame when one of the internal
links in the left hand bar was clicked. But the heading remains the same -
which is a bit of a pity as it might be nice to change that also. Still, que
sera, sera :)

I hope that the pre-loading of images still works OK. At the moment, I don't
know
1. Whether it works or
2. If it does work, whether it repeats the load
---
Oh well
Trevor L.




I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top